Markus Frosch
5ee911ef7c
IcingaObject(Legacy): Fix event_handler rendering
...
refs #13049
2016-11-14 15:32:14 +01:00
Markus Frosch
d4c3be0bf5
IcingaHostGroup|IcingaService(Set): Fix legacy config file extension
...
refs #13049
2016-11-14 15:28:52 +01:00
Thomas Gelf
fee8e7847d
IcingaHostTest: fix erroneous test
...
Code behaves correct now, the test wasn't up to date. However, it wasn't
failing as the object has been changed at runtime while the (at that time
already filled) internal lookup cache wasn't cleared. Woulnd't have had any
effect on real-world environments. However, it's fixed right now.
2016-11-14 13:39:20 +01:00
Thomas Gelf
913d934762
IcingaObject: introduce getSingleResolvedProperty()
...
Motivation: getResolvedProperty() has the effect that objects will fully
resolve all inherited properties, vars and fields. This is overkill in
situations where only a few resolves properties are needed and has quite
an influence on overall rendering performance.
Over time we might completely fade out that part of our resolving logic
as it predates current cache implementations. Meanwhile, we keep two
methods for two (internal) purposes.
2016-11-14 13:25:26 +01:00
Thomas Gelf
a6928a8bc1
CustomVariable: render expressions in Arrays...
...
...and introduce a new abstract method
2016-11-14 10:17:52 +01:00
Thomas Gelf
d32f22d493
Config: do not count twice for benchmark
2016-11-14 10:17:52 +01:00
Markus Frosch
cc34de9b4d
ServicesetController: Add hosts view to serviceSets
...
So you can see and access hosts the serviceset is added to.
refs #12891
2016-11-11 15:33:11 +01:00
Markus Frosch
ae70de9755
IcingaServiceSetTable: Fix counter to show distinct counted values
...
refs #12891
2016-11-11 15:18:21 +01:00
Markus Frosch
01ef8cb4ba
Merge branch 'feature/icinga-legacy-config-13049'
2016-11-11 11:50:13 +01:00
Markus Frosch
116016bbfc
HostApplyMatches: Raise memory_limit for bigger caches
...
refs #13049
2016-11-11 11:49:37 +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
Markus Frosch
31520a7d21
IcingaService: Don't even try to render service_set related services
...
refs #12891
2016-11-11 11:49:37 +01:00
Markus Frosch
1a51e55563
Merge branch 'feature/better-import-table'
2016-11-11 11:30:56 +01:00
Markus Frosch
93a4cd7dd9
Merge branch 'feature/service-sets-12891'
2016-11-11 11:07:00 +01:00
Markus Frosch
8b5689545c
Sync(Rule): Allow to sync services of a ServiceSet
...
This extends the destination key pattern for Sync.
refs #12891
2016-11-11 11:06:01 +01:00
Markus Frosch
ddd59ab274
IcingaServiceSet: A simple key identifies a ServiceSet (template)
...
refs #12891
2016-11-11 11:06:01 +01:00
Markus Frosch
b08f3df882
IcingaServiceSet*: Improve Table and view
...
Add filter and pagination, and some nice display features.
refs #12891
2016-11-11 10:44:22 +01:00
Markus Frosch
c50b1b09a2
IcingaServiceTable: Hide ServiceSet Services from applied ones listing
...
refs #12891
2016-11-11 10:44:22 +01:00
Markus Frosch
699b6a7293
SyncPropertyForm: Only try to enum imports when we are able to
...
This allows a user to use fields or custom expression for serviceSet.
refs #12891
2016-11-11 10:44:22 +01:00
Markus Frosch
39538a3f33
SyncRule: Support hasCombinedKey for serviceSet
...
refs #12891
2016-11-11 10:44:22 +01:00
Markus Frosch
b051b2da17
ObjectsController: Unify feature detection and setAction
...
Groups, Assign and Sets will be checked on the base Object for a group.
refs #12891
2016-11-11 10:44:22 +01:00
Thomas Gelf
67411c3a4a
js: do not call deprecated methods, mark them...
...
...plus some cleanup
2016-11-10 20:05:03 +01:00
Thomas Gelf
eb1f1a2c33
doc/testing: fix syntax
2016-11-10 20:03:29 +01:00
Thomas Gelf
9292bb8524
config/file(s), deployment: improve usability
...
* mark formerly chosen file when navigating back
* autorefresh improvements
fixes #13119
2016-11-09 20:37:33 +01:00
Markus Frosch
d1077a5616
Import*Table: Show key_column as first column
2016-11-09 14:21:04 +01:00
Markus Frosch
b4cb6f8ccb
ImportRun: Add access to ImportSource
2016-11-09 14:20:35 +01:00
Thomas Gelf
64f00940b1
config/file: unify look and feel, link back
...
fixes #13087
2016-11-08 22:16:56 +01:00
Thomas Gelf
7add16751b
IcingaServiceSetForm: provide a list url
...
fixes #13085
2016-11-08 22:11:53 +01:00
Thomas Gelf
8ca17f4e7b
StartupLogRenderer: remove heavvy logic from view
2016-11-08 16:48:45 +01:00
Thomas Gelf
5bae792901
IcingaTemplateResolver: ignore multicolumn key...
...
...objects on refresh (for now)
fixes #13081
2016-11-08 16:27:44 +01:00
Thomas Gelf
1a311bc9a9
IcingaServiceSet: ignore empty sets when rendering
...
fixes #13079
2016-11-08 16:23:16 +01:00
Thomas Gelf
8eba20a578
show/activities: show diff also for create/delete
...
fixes #13077
2016-11-08 16:21:54 +01:00
Thomas Gelf
72fbe80e7b
startup.log: improve link handling
...
fixes #13075
2016-11-08 16:19:06 +01:00
Thomas Gelf
8ce4cf49c0
inspect: show tabs, allow for all hosts
...
fixes #13073
2016-11-08 16:13:01 +01:00
Thomas Gelf
9725d8f625
runSummary: link action, not action_name
...
fixes #13067
2016-11-08 11:45:29 +01:00
Thomas Gelf
63bf607a1d
IcingaObjectFieldLoader: allow exotic var names
...
fixes #12094
fixes #12962
2016-11-08 02:00:38 +01:00
Thomas Gelf
2b20daa552
FormDataFilter: show groups of any type
...
fixes #13045
2016-11-07 22:17:15 +01:00
Thomas Gelf
588926a9f9
config/activities: allow to filter them
...
fixes #12239
2016-11-07 22:04:51 +01:00
Markus Frosch
e116e36051
IcingaService(legacy): Test for not null
...
refs #13049
2016-11-07 14:12:30 +01:00
Markus Frosch
314b0675ee
HostApplyMatches: Prefetch Hostgroups for resolving
...
refs #13049
2016-11-07 14:12:06 +01:00
Markus Frosch
738f6a5c9f
Update gitignores
2016-11-07 14:06:43 +01:00
Thomas Gelf
068d38fddc
IcingaService(v1): render single service apply...
...
...fully resolved to all matching hosts respecting their rendering zone
2016-11-07 13:34:20 +01:00
Thomas Gelf
7e749da982
IcingaServiceSet: implement target zone for...
...
...resolved v1 apply rules
2016-11-07 12:42:27 +01:00
Thomas Gelf
2c1f745c4e
IcingaService: render service_description for v1
2016-11-07 11:38:02 +01:00
Thomas Gelf
482f48ee1e
IcingaServiceSet: cleanup, shift responsability...
...
...for service_set_id property cleanup
refs #13049
2016-11-04 20:31:01 +01:00
Thomas Gelf
ba7d350a8c
HostApplyMatches: resolve services and -sets...
...
...for Icinga v1.x
refs #13049
2016-11-04 19:56:56 +01:00
Thomas Gelf
87fe623d11
DbObject: help IDE, render newline after a...
...
...disabled v1 object
2016-11-04 19:52:21 +01:00
Thomas Gelf
5168f5e887
CustomVariables: beatify v1.x unsupported vars
2016-11-04 19:51:02 +01:00
Markus Frosch
f6a5c8cbc5
LegacyDeploymentApi: Expire old stages that haven't got activated
...
For about an hour.
refs #13049
2016-11-04 16:56:52 +01:00
Markus Frosch
a3d69c4f4c
LegacyDeploymentApi: Call activation tool to deploy a new stage
...
refs #13049
2016-11-04 16:40:22 +01:00