Thomas Gelf
962e545a79
CustomVariable: add new helper methods
...
toJson, checksum, render - will be used later on
2016-12-06 08:35:27 +01:00
Thomas Gelf
db61528748
CustomVariable: fix issues with PHP bug #43200
...
fixes #13271
2016-11-21 22:44:31 +01:00
Thomas Gelf
a6928a8bc1
CustomVariable: render expressions in Arrays...
...
...and introduce a new abstract method
2016-11-14 10:17:52 +01:00
Markus Frosch
7916e0c0c6
CustomVariable: Fix getType to output a useable value
2016-11-03 13:41:44 +01:00
Thomas Gelf
ee0def7d2b
Lots of files: make IDE users happy
2016-11-01 18:28:36 +01:00
Corentin Ardeois
ddcfb09f58
Handle expressions only for apply objects
...
Expressions will be handled only if the object is an ApplyRule.
Only properties and custom variables are replaced.
refs #11976
2016-10-22 00:15:09 +00: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
4bc5afb2f8
library/Director: fix PSR2 complaints
2016-02-26 11:58:37 +01:00
Thomas Gelf
2ba404c2c7
CustomVariable: more care when cloning
2016-02-23 00:24:38 +01:00
Thomas Gelf
bff5d328c2
CustomVariable: fix boolean condition
2015-11-09 18:29:19 +01:00
Thomas Gelf
7298092e97
CustomVariable: add support for creating new types
2015-10-28 22:27:53 +01:00
Thomas Gelf
053854e2c6
CustomVariable: improve modification handling
2015-08-28 18:37:17 +02:00
Thomas Gelf
b9a4820515
CustomVariable: fix nested vars
2015-08-28 18:35:42 +02:00
Thomas Gelf
7e4067d265
CustomVariableNull: allow for null vars
2015-08-28 18:13:01 +02:00
Thomas Gelf
4780e11241
CustomVariable: add delete() method
2015-07-31 14:34:14 +02:00
Thomas Gelf
114bac0d55
CustomVariable: no abstract for interface method
2015-06-29 12:04:45 +02:00
Thomas Gelf
8267e377ea
CustomVariable: new helper methods
2015-06-24 10:07:01 +02:00
Thomas Gelf
4ca3583fff
CustomVariable: forgot to implement ConfigRenderer
2015-06-18 09:42:05 +02:00
Thomas Gelf
91dde44441
CustomVariables: add load from db support
2015-06-15 16:35:18 +02:00
Thomas Gelf
00162bccf8
CustomVariable: lots of rendering improvements
2015-06-11 21:33:47 +02:00
Thomas Gelf
b2f66b3995
CustomVariables: implement and use basic rendering
2015-06-11 19:46:36 +02:00
Thomas Gelf
8669d4be38
CustomVariable: added new playground and prototypes
2015-06-11 08:15:51 +02:00