16 Commits

Author SHA1 Message Date
Thomas Gelf
526492580c GroupMembershipResolver: refactor from HostGroup
This is now a more generic implementation and can serve multiple object types

refs #897
2017-07-14 13:21:42 +02:00
Thomas Gelf
5ae7997f9d Sync: tune membership resolver
Also fixes error on host creation

refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf
45c93b3445 HostGroupMembershipResolver: first implementation
refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf
b7a10d296c phpcs: mostly new PSR-2 SpacingAfter/Before checks 2017-01-13 20:54:52 +01:00
Thomas Gelf
9e771f2d5a Fix phpcs complaints 2017-01-13 19:47:54 +01:00
Markus Frosch
4a838ca277 IcingaHostGroup(Legacy): Load zones prefetched
refs #13049
2016-11-30 08:12:27 +01:00
Markus Frosch
c2734fd4d4 IcingaHostGroup(Legacy): Render assigned groups to all zones
So we still can support hosts with direct groups.

refs #13049
2016-11-30 08:12:27 +01:00
Markus Frosch
b40cfd5f05 IcingaHostGroup(Legacy): Fix member rendering with correct attribute
refs #13049
2016-11-14 15:36:55 +01:00
Markus Frosch
d4c3be0bf5 IcingaHostGroup|IcingaService(Set): Fix legacy config file extension
refs #13049
2016-11-14 15:28:52 +01:00
Markus Frosch
a8a9278806 IcingaHostGroup(legacy): Render assign to a hostgroup_member list
Supporting active-passive and masterless, by writing multiple versions of the object.

refs #13049
2016-11-11 11:49:37 +01:00
Thomas Gelf
217fb38517 IcingaObject: implement supportsAssignRules 2016-09-09 09:06:31 +00:00
Markus Frosch
a90595a004 IcingaHostGroup: Add apply statements 2016-09-09 08:32:42 +00:00
Thomas Gelf
d8a3fb68bd IcingaObjectGroup: unify group object logic 2016-03-09 20:53:57 +01:00
Thomas Gelf
5b3b5cbfb8 IcingaObjects: add new "disabled" property 2016-02-16 12:17:50 +01:00
Alexander Fuhr
878841e33e Add imports support for Hostgroup 2015-06-29 10:20:15 +02:00
Alexander Fuhr
4febd5c635 HostGroup: Conform the class and file naming 2015-06-12 11:51:12 +02:00