Commit Graph

624 Commits

Author SHA1 Message Date
Thomas Gelf cca4092151 Deployment: move logic to dedicated classes
Extended DirectorDeploymentLog, new DeploymentInfo class
2017-07-20 08:22:31 +02:00
Thomas Gelf 29d93512e6 Objects/Icinga(Host|Service): fix typo 2017-07-18 13:36:05 +02:00
Thomas Gelf ea02d0b23c ImportRowModifier: add missing property 2017-07-14 14:56:22 +02:00
Thomas Gelf 2cdba2aa65 Import and Sync: add description fields
fixes #1018
2017-07-14 14:27:05 +02:00
Thomas Gelf 05d8e5bb00 Datalist: Allow to restrict entries by role
fixes #1012
2017-07-14 13:21:42 +02:00
Thomas Gelf 2ca7f26b49 SelfService: fix booleans, add new options
refs #486
2017-07-14 13:21:42 +02:00
Thomas Gelf 4a0e8df2f2 Host,Service: add check_timeout property
fixes #546
2017-07-14 13:21:42 +02:00
Thomas Gelf 27a51ac34c SelfService: implement powershell-parameters
fixes #486
2017-07-14 13:21:42 +02:00
Thomas Gelf 8a8540bc3e IcingaHost: generate API keys 2017-07-14 13:21:42 +02:00
Thomas Gelf 0ec5ec8197 TemplateChoice: delegate storing members to...
...the object, use a single form
2017-07-14 13:21:42 +02:00
Thomas Gelf 126dd29ecc IcingaObject: work around a resolver issue 2017-07-14 13:21:42 +02:00
Thomas Gelf 6aab867682 GroupMembershipResolver: ignore unstored objects
Currently affects tests only
2017-07-14 13:21:42 +02:00
Thomas Gelf 67d802d39a Host,Service: hide choice property 2017-07-14 13:21:42 +02:00
Thomas Gelf a9a2295c8a IcingaObject, Host/Service: add supportsChoices() 2017-07-14 13:21:42 +02:00
Thomas Gelf 2f79920a18 TemplateChoice: small fixes, forms 2017-07-14 13:21:42 +02:00
Thomas Gelf 0b89c222eb IcingaTemplateChoice: take over code generating...
...the choice form element
2017-07-14 13:21:42 +02:00
Thomas Gelf f7cbe4a3be IcingaHost: reference to choices 2017-07-14 13:21:42 +02:00
Thomas Gelf 68a22590a8 IcingaTemplateResolver: just a newline 2017-07-14 13:21:42 +02:00
Thomas Gelf cef947e6fc IcingaTemplateChoice: new base object, host/service 2017-07-14 13:21:42 +02:00
Thomas Gelf 4f3f4e7f52 IcingaTemplateResolver: implement a reverse index 2017-07-14 13:21:42 +02:00
Thomas Gelf ac815b14b6 GroupMembershipResolver: fix SQL table alias 2017-07-14 13:21:42 +02:00
Thomas Gelf 18c0ce3c4f IcingaObject: allow to prefetch related object...
...types
2017-07-14 13:21:42 +02:00
Thomas Gelf 875627ead7 ObjectApplyMatches: refactor host-only code
refs #897
2017-07-14 13:21:42 +02:00
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 aa3a8987ba HostGroupMembershipResolver: handle single groups
Formerly this worked only with apply rules, now this also respects single host/
group assignments.

fixes #832
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 47bfb2d31d IcingaObjectImports: add meaningful error...
...would have saved me some troubleshooting time
2017-07-14 13:21:42 +02:00
Thomas Gelf 2237272b6b SyncRule: do not allow to sync unless some...
...properties have been defined.

fixes #383
2017-05-03 11:24:22 +02:00
Thomas Gelf f91dd5fa0e PropertyModifierCombine: implementation, tests...
...and related changes with some documentation

fixes #922
2017-05-03 10:39:49 +02:00
Thomas Gelf 6234648a1f IcingaEndpoint: work on Zone, not on the id
fixes #878
2017-03-29 12:52:54 +02:00
Thomas Gelf 58ba7f9f86 IcingaEndpoint: deploy to where it's Zone is...
...to be found

refs #463
2017-03-29 11:41:13 +02:00
Thomas Gelf 3714d2567b IcingaEndpoint: fix indentation 2017-03-28 20:56:10 +02:00
Thomas Gelf 9f2070dced IcingaEndpoint: provide getRestApiClient() helper
fixes #877
2017-03-28 18:08:27 +02:00
Thomas Gelf afce89dc98 DirectorActivityLog: log username and ip
Logged values are now JSON-encoded

fixes #849
2017-03-15 12:02:08 +01:00
Thomas Gelf cb9fff90ef IcingaObject: add new static helper, expose...
...existing one

refs #842
2017-03-13 22:03:02 +01:00
Thomas Gelf bff76dad8e HostApplyMatches: fix matching for "contains"
fixes  #803
2017-03-03 09:41:25 +01:00
Thomas Gelf bfde75a0a2 IcingaServiceSet: import DirectorOverrideTemplate
...when rendering services belonging to a set for a single host

fixes #776
2017-02-08 10:04:47 +01:00
Thomas Gelf d4b769b8d7 IcingaHost: do not render Endpoint and Zone...
...for disabled hosts

fixes #741
2017-01-24 09:45:32 +01:00
Thomas Gelf c75b4fc6b0 DirectorDatafield: phpcs -> SpacingBeforeClose 2017-01-19 13:58:07 +01:00
Thomas Gelf b08be6ecc0 DirectorDatafield: do not fail on missing command
refs #712
refs #731
2017-01-19 13:55:59 +01:00
Thomas Gelf 164b5bd93d Fields: fix inheriting fields from commands
refs #712
refs #731
2017-01-19 13:50:50 +01: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
Thomas Gelf 792e58abae DirectorDatafield: just newlines 2017-01-13 16:39:35 +01:00
Thomas Gelf f874a79bb4 IcingaObjectFieldLoader: no mandatory field on cmd
fixes #12644
2017-01-13 16:05:34 +01:00
Thomas Gelf 40ff51e487 IcingaTemplateResolver: separate concerns...
...and make helper accessible
2017-01-13 15:20:04 +01:00
Thomas Gelf 0a9ed6ff39 HostApplyMatches: allow usage for single hosts
refs #13849
2017-01-02 10:15:55 +01:00
Thomas Gelf a9874879dd TemplateResolver: add new methods for stricter...
...path resolution. Also ships related tests

refs #13839
2016-12-30 10:15:25 +01:00
Thomas Gelf efe6fd35ab IcingaObject: remove code loading fields...
...we now have a dedicated class for this
2016-12-28 12:44:51 +01:00