We have started to roll out compojure, but the query endpoints are still heavily moustache based, and some parts of the metrics library or moustache based. This ticket's goal is to provide a refactor that replaces the cases of moustache with a common library.
Right now we have:
- compojure - used in some of our endpoints already, well understood by most of the team.
- comidi - something used by the metrics services here: https://github.com/puppetlabs/trapperkeeper-metrics ... which will help us towards going more towards shared code for this problem.
We want to determine which one we want going forward, and refactor our code in that direction.
In the future, I just wanted to state that we may desire to have the query service routes composable from relationship data from the query engine, since this is already kept - so we can auto-generate routes and child routes etc. This is a long way off, but something to ponder for a v5.