Thomas Gelf
75b73604a8
SyncRule: remove unused property
2022-06-20 09:59:01 +02:00
raviks789
71f3654c0b
Fix sync rule restore from snapshot on name change
...
On name change new Sync rule would be created, hence we do not have to preserve the Sync rule Ids in SyncRule::import() method.
2022-03-17 14:55:35 +01:00
Thomas Gelf
a8d25b70ee
Sync: introduce a 'disable' purge action
...
fixes #2285
2021-03-11 23:00:52 +01:00
Thomas Gelf
0d405cba98
SyncruleCommand: show number of expected changes
...
Sample output when there are changes:
icingaweb2@web:~$ icingacli director syncrule check --id 36
There are pending changes for this Sync Rule. You should trigger a new Sync Run.
Expected modifications: 2x create, 0x modify, 0x delete
icingaweb2@web:~$ echo $?
1
...when there are no changes:
icingaweb2@web:~$ icingacli director syncrule check --id 34
This Sync Rule is in sync
icingaweb2@web:~$ echo $?
0
...and when something failes:
icingaweb2@web:~$ icingacli director syncrule check --id 32
This Sync Rule failed: No data has been imported for "Benutzergruppen aus Nagios" yet
icingaweb2@web:~$ echo $?
2
fixes #1849
2019-05-27 17:46:43 +02:00
Thomas Gelf
50dd49c937
Automation Objects: allow to change their ID
2018-10-15 15:03:57 +02:00
Thomas Gelf
9e74dfcc16
ImportSource, SyncRule: cleanup
2018-10-15 15:03:57 +02:00
Thomas Gelf
f32e568b8a
SyncRule: make ready for basket
...
refs #1630
2018-10-15 15:03:57 +02:00
Thomas Gelf
b2f97dd2bb
Sync: fix phpcs complaints
2018-06-12 21:31:42 +02:00
Thomas Gelf
5e0b237d2d
SyncRule: add import-related methods
2018-06-11 21:45:21 +02:00
Thomas Gelf
927591501c
Export: first bunch of exportable Director objects
...
ImportSource, SyncRule, Datafield and more
refs #1409
2018-06-01 18:44:07 +02:00
Thomas Gelf
02dfac1b8b
Revert "Export: first bunch of exportable Director objects"
...
Wrong branch, not yet for the master
This reverts commit 721700c62f
.
2018-05-29 12:40:14 +02:00
Thomas Gelf
721700c62f
Export: first bunch of exportable Director objects
...
ImportSource, SyncRule, Datafield and more
refs #1409
2018-05-29 12:34:18 +02:00
Thomas Gelf
1bff61eeb5
SyncRule: just a type hint
2018-02-25 18:19:38 +01:00
Markus Frosch
e9546f68bf
Sync: Respect the fields used in filter_expression of the SyncRule
...
So that you can filter by fields not used in properties, or in property filters.
fixes #1130
refs #876
2017-08-30 16:40:12 +02:00
Thomas Gelf
69607ada3c
SyncRule: switch priority order, migrate DB
...
fixes #1077
2017-08-22 17:10:49 +02:00
Thomas Gelf
4c7b940705
PriorityColumn: add new object extension, use...
...
...it for SyncProperty
2017-08-20 15:04:06 +02:00
Thomas Gelf
2cdba2aa65
Import and Sync: add description fields
...
fixes #1018
2017-07-14 14:27:05 +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
b7a10d296c
phpcs: mostly new PSR-2 SpacingAfter/Before checks
2017-01-13 20:54:52 +01:00
Thomas Gelf
58a64cee78
SyncRule: initialize hasServiceSet
2016-12-13 13:51:41 +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
39538a3f33
SyncRule: Support hasCombinedKey for serviceSet
...
refs #12891
2016-11-11 10:44:22 +01:00
Thomas Gelf
ee0def7d2b
Lots of files: make IDE users happy
2016-11-01 18:28:36 +01:00
Thomas Gelf
e9a570e96d
Sync: fix sync & purge for datalistEntry objects
2016-10-05 17:45:25 +00:00
Markus Frosch
73b1863e1a
SyncRule: Allow disabling purge
2016-07-26 14:03:52 +02:00
Thomas Gelf
70c4d06a42
Sync: move key-related logic to SyncRule
2016-07-13 19:59:04 +02:00
Thomas Gelf
afaaf5760d
SyncRule: proxy expected modifications
2016-06-25 23:02:36 +02:00
Thomas Gelf
9387b92da1
SyncRule: introduce purge strategies
2016-06-24 17:07:00 +02:00
Thomas Gelf
a9b7861473
SyncRule: provide current runId
2016-06-24 08:36:12 +02:00
Thomas Gelf
516c519af9
SyncRule: add various helper methods
2016-06-23 23:14:12 +02:00
Thomas Gelf
676b5b5efe
SyncRule: fix misleading error when running...
...
...as a Job
2016-06-23 22:36:38 +02:00
Thomas Gelf
e88d490021
SyncRule: add helper allowing to apply changes
2016-04-22 13:40:05 +02:00
Thomas Gelf
7265a5796b
SyncRule: add checkForChanges helper
2016-04-22 12:10:48 +02:00
Thomas Gelf
c92d1caeb4
SyncRule: adjust to fit latest schema changes
2016-04-22 11:12:29 +02:00
Thomas Gelf
4bc5afb2f8
library/Director: fix PSR2 complaints
2016-02-26 11:58:37 +01:00
Thomas Gelf
c6842520d9
SyncRule: fetch properties in reverse order
2015-12-08 15:01:33 +01:00
Thomas Gelf
7f2e9ddc52
Sync: use row filters
2015-12-04 10:59:25 +01:00
Thomas Gelf
d37991627a
SyncRule: one more attempt to avoid ZF magic
2015-12-02 15:27:25 +01:00
Thomas Gelf
ef4eecae6f
SyncRule: avoid issues with auto-aliased columns
...
Affects some ZF versions
2015-12-02 15:05:52 +01:00
Thomas Gelf
a71bdfeb44
SyncRule: add listInvolvedSourceIds() method
2015-11-25 12:54:21 +01:00
Thomas Gelf
b9390747b3
SyncRule: add getPriorityForNextProperty() method
2015-11-25 12:54:00 +01:00
Thomas Gelf
7370bf34bb
SyncRule: remove obsolete commented code
2015-11-02 09:22:32 +01:00
Thomas Gelf
826cafb476
SyncRule: add helper method fetching properties
2015-07-24 10:54:11 +02:00
Thomas Gelf
676e694078
SyncRule: just spaces
2015-07-24 10:53:55 +02:00
Stefan Scheungrab
b9eac26193
SyncRule: sync rules should work now. refs. #9709
2015-07-23 20:00:31 +02:00
Stefan Scheungrab
3d3dc19d3b
SyncRule: Controller Object and fomr
2015-07-23 16:40:32 +02:00