avoiding unnecessary mongo queries and fixing routes constraints
Merge pull request #1453 from abhgupta/abhgupta-dev

Merged by openshift-bot
Add debug timings for external operations
Should be using uuid for gear name