{"push_id":772333580,"size":6,"distinct_size":4,"ref":"refs/heads/svcdependencies_auto_computing","head":"56d4d1028117322c28b5eec02d6950370e1bd45a","before":"a2cb2e9cd4243b5d8351ecc8ee264f6bff709a83","commits":[{"sha":"2e218e4de45026db6f14eed487e78f42b0f04d31","author":{"email":"e956ea88f710ae0e124d129eb5127b008e123307@gmail.com","name":"Christophe Simon"},"message":"Fixed service_(includes|excludes) tmpl recursion\n\nFixed a regression introduced in\n9f9bc2040289bd897a9064c6445ebc08221440f9\n\nIf an attrubute covered by a property is explicitely set at class or\ninstance level (during initialization for example), it breaks\nattribute's template recursion in `get_property_by_inheritance` on\n`if hasattr(self, prop)` (attributes is always seen as affected, even if\nit was never set).\n\nIn the present case, it broke service exclusion defined on templates\nrather than host.","distinct":false,"url":"https://api.github.com/repos/bougetq/shinken/commits/2e218e4de45026db6f14eed487e78f42b0f04d31"},{"sha":"6fe9991ca0bd07becdb96dec3ac6a1737a9599a6","author":{"email":"44ecd0c9ef4614a1e619978af9e30baa0b280311@gmail.com","name":"Olivier H"},"message":"Merge pull request #1703 from geektophe/fix_tmpl_service_excludes\n\nFix: service_(includes|excludes) tmpl recursion","distinct":false,"url":"https://api.github.com/repos/bougetq/shinken/commits/6fe9991ca0bd07becdb96dec3ac6a1737a9599a6"},{"sha":"eb8d9363d1f1c3a635497753b6ac51abdea00e61","author":{"email":"e71b324e1589165c0f8841ed371643e0834ccdf3@cea.fr","name":"Quentin Bouget"},"message":"fix: useless strip instruction","distinct":true,"url":"https://api.github.com/repos/bougetq/shinken/commits/eb8d9363d1f1c3a635497753b6ac51abdea00e61"},{"sha":"57b3068ba701d8922de4d6df31ded377f18c7a1b","author":{"email":"e71b324e1589165c0f8841ed371643e0834ccdf3@cea.fr","name":"Quentin Bouget"},"message":"fix: useless duplicate remove instruction in servicedependency.explode","distinct":true,"url":"https://api.github.com/repos/bougetq/shinken/commits/57b3068ba701d8922de4d6df31ded377f18c7a1b"},{"sha":"4f2bbe2c418a51af3e5067789e6563435a039a81","author":{"email":"e71b324e1589165c0f8841ed371643e0834ccdf3@cea.fr","name":"Quentin Bouget"},"message":"Enh: auto-computing of hosts for servicedependencies when none defined\n\nWhat:\n    Create dependencies between services host by host without the need\n    to write long and dull configuration files.\n\nWhy:\n    Because servicedependencies are rather useful but really complicated\n    to correctly setup right now, especially on large clusters.\n    Currently the host_name, dependent_host_name, hostgroup_name and\n    dependent_hostgroup_name properties do not allow users\n    to define host by host servicedependencies or service to service\n    dependencies at once.\n\nHow:\n    Users will just need to define the service and the dependent_service\n    descriptions in the servicedependency configuration.\n    The function Servicedependency.explode will then compute the hosts\n    having both the dependent_service and the service depended on, and for\n    these hosts a servicedependency will be created.\n\nExample:\n    With this configuration:\n\n        define host{\n            ...\n            host_name   h0\n        }\n\n        define host{\n            ...\n            host_name   h1\n        }\n\n        define service{\n            ...\n            service_description svc0\n            host_name           h0, h1\n        }\n\n        define service{\n            ...\n            service_description svc1\n            host_name           h0, h1\n        }\n\n        define servicedependency{\n            service_description svc0\n            dependent_service_description svc1\n        }\n\n    We will create these servicedependencies:\n\n        define servicedependency{\n            service_description             svc0\n            dependent_service_description   svc1\n            host_name                       h0\n        }\n\n        define servicedependency{\n            service_description             svc0\n            dependent_service_description   svc1\n            host_name                       h1\n        }\n\nAnd:\n    - Each couple of service/dependent_service will be processed separately\n    - Tests for the new feature are also in this commit","distinct":true,"url":"https://api.github.com/repos/bougetq/shinken/commits/4f2bbe2c418a51af3e5067789e6563435a039a81"},{"sha":"56d4d1028117322c28b5eec02d6950370e1bd45a","author":{"email":"e71b324e1589165c0f8841ed371643e0834ccdf3@cea.fr","name":"Quentin Bouget"},"message":"Fix: #603 host to host servicedependecies\n\nUsing auto-computing of servicedependencies","distinct":true,"url":"https://api.github.com/repos/bougetq/shinken/commits/56d4d1028117322c28b5eec02d6950370e1bd45a"}]}