Commit Graph

15 Commits

Author SHA1 Message Date
Markus Frosch 1e70cface0 IcingaObject(Legacy): Render directly added groups
refs #12919
2016-11-03 13:41:44 +01:00
Markus Frosch 2b227a356b IcingaObjectGroups: Respect PrefetchCache 2016-10-31 17:21:21 +01:00
Thomas Gelf 6f12663756 PrefetchCache: lot's of improvements
This commit enables the prefetch cache per default when rendering configs
and adds the following features:

* prefetch all kinds of Icinga object inheritance (imports)
* prefetch group memberships
* prefetch custom variables
* render vars with the same checksum only once

Roughly measured performance boost with a large real-life config, renders three
times faster as it did before. Might be even more for those suffering from high
latencies when accessing their DB remotely and/or on a slow storage.

fixes #12876
2016-10-09 12:41:06 +00:00
Thomas Gelf 1f5f34cea5 IcingaObjectGroups,Imports: add some manual GC...
...to work around PHP issues
2016-06-30 09:34:27 +02:00
Thomas Gelf 1c79807500 IcingaObjectGroups: keep id when cloning groups
Before this fix we lost autoincrement ids on clone, resulting in
ill-constructed queries on deletion

fixes #11508
2016-05-20 08:47:07 +02:00
Thomas Gelf 3be31ee247 IcingaObjectGroups: do not join object table 2016-03-20 14:45:50 +01:00
Thomas Gelf 092bb8c3f6 IcingaObjectGroups: simplify setting groups 2016-03-05 10:46:12 +01:00
Thomas Gelf 4bc5afb2f8 library/Director: fix PSR2 complaints 2016-02-26 11:58:37 +01:00
Thomas Gelf f2f748738e IcingaObjectGroups: provide autocreate and ignore...
...failure options for objects assigned to missing groups by name
2016-02-19 15:36:56 +01:00
Thomas Gelf 9f7e97d80a IcingaObjectGroups: history-related modifications 2015-08-28 17:12:46 +02:00
Alexander Fuhr decfcfd67b IcingaObjectGroups: Set right return type for store() 2015-06-30 10:46:53 +02:00
Alexander Fuhr 33ea3a9b34 IcingaObjectGroups: Fix typo in set() method 2015-06-24 14:57:04 +02:00
Thomas Gelf f8bd943181 Group membership: more magic 2015-06-24 11:25:22 +02:00
Alexander Fuhr ef537160f7 IcingaObjectGroups: Fix empty groups rendering
fixes #9432
2015-06-17 12:30:59 +02:00
Alexander Fuhr 616892984d Groups: Add generic Groups support
resolves #9427
2015-06-16 17:58:47 +02:00