* Fix generate resource configuration for Centreon Engine
* Add unittest for generate resource configuration for Centreon Engine