opinkerfi/adagios — pull request #475 by palli (2014-11-29 14:42:53+00:00)
Title: Code cleanup - Refactor utils.get_services()

The code cleanup is not done yet, there is still a big mess but situation is better now.

* Refactor get_services()
* Refactor get_hosts()
* Use constants instead of magic strings wherever possible
* Add a bunch of unit tests for the refactored functions
* Taking advantage of latest LivestatusQuery (so update pynag)