Commit Graph

85 Commits

Author SHA1 Message Date
Thomas Gelf 179054b239 Sync: better IDE hints 2017-08-21 21:53:19 +02:00
Thomas Gelf 7fd94fb5bd Jobs, Kickstart: raise limits, try to work...
...around GC bugs

refs #1056
2017-08-04 11:31:43 +02:00
Thomas Gelf 496be4fbc8 Sync: respect 'replace' policy on vars...
...with rule policy being set to 'merge'

fixes #864
2017-08-03 10:51:13 +02:00
Peter Backes ad825f9c58 Sync: Allow syncing lists of template imports
fixes #946
2017-07-14 13:21:42 +02:00
Thomas Gelf 0e759fb2f6 Sync: do not fail on non-IcingaObject, fix typo
refs #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 6de258730b Sync: fix issues with PHP 5.3
Problem has been introduced with f885d90

fixes #906
2017-04-26 15:31:24 +02:00
Thomas Gelf f885d90a0a Sync: also fetch columns used in filters only
Filters might otherwise in some circumstances not work as expected

fixes #876
2017-03-28 18:03:53 +02: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
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 1a02543321 Sync: Use PrefetchCache 2016-10-31 17:21:21 +01:00
Markus Frosch b04e5f401f Sync: Allow importing / syncing templates
Purging a used template will obviously fail.

refs #11778
2016-10-31 10:55:21 +01:00
Markus Frosch 5199dc7826 Sync: Tell the user which object caused an Exception 2016-10-27 15:47:02 +02:00
Thomas Gelf e9a570e96d Sync: fix sync & purge for datalistEntry objects 2016-10-05 17:45:25 +00:00
Thomas Gelf 56257c1c0f Sync: implement purge with nested keys 2016-07-14 12:18:57 +02:00
Thomas Gelf 70c4d06a42 Sync: move key-related logic to SyncRule 2016-07-13 19:59:04 +02:00
Thomas Gelf 465740c37c Sync: move helper methods to SyncUtils 2016-07-13 13:52:15 +02:00
Thomas Gelf d4a680a6b9 ImportRun: take over specific logic from Db 2016-07-13 10:19:03 +02:00
Thomas Gelf 7cf1af15cb Import/Sync: cleanly rollback transactions
Helps to avoid side-effects
2016-06-28 12:56:53 +02:00
Thomas Gelf 5b509a1b7c Sync: make new purge strategies the new default 2016-06-26 14:00:37 +02:00
Thomas Gelf d0e1ecb8d7 Sync: deletions are also modifications 2016-04-22 14:47:49 +02:00
Thomas Gelf de544110b2 Sync: redirect to history on sync run 2016-04-22 11:12:29 +02:00
Thomas Gelf 96e6a15655 Sync: implement filter-based properties 2016-03-15 17:28:49 +01:00
Thomas Gelf b07a3e724c Sync: quote binary checksums for PostgreSQL 2016-03-05 20:38:21 +01:00
Thomas Gelf 4bc5afb2f8 library/Director: fix PSR2 complaints 2016-02-26 11:58:37 +01:00
Thomas Gelf 1261bd93e1 IcingaObject: add merge method, use in Sync 2016-02-25 00:23:27 +01:00
Thomas Gelf f0d02edbe6 Sync: fix negation lost at ca76f30 2016-02-25 00:12:10 +01:00
Thomas Gelf 79f4aec592 Sync: initialize empty array only for combined keys 2016-02-25 00:10:40 +01:00
Thomas Gelf 697c367fe7 Sync: fix syntax. Broken by git add -p, sorry :p 2016-02-24 16:37:45 +01:00
Thomas Gelf e455bbf37a Sync: finish combined key support
Services on hosts should be fine right now
2016-02-24 15:33:08 +01:00
Thomas Gelf ca76f30aa0 Sync: support IcingaObjects in fillVariables 2016-02-24 15:19:54 +01:00
Thomas Gelf f2f6bdfadf Sync: re-organize, store sync history 2016-02-24 12:24:19 +01:00
Thomas Gelf 42e87476fb schema/mysql: add sync_run history table 2016-02-24 10:50:57 +01:00
Thomas Gelf 5c202b57ff Sync: TODO has been done 2016-02-23 21:05:09 +01:00
Thomas Gelf fc45de5f31 Sync: same for objects 2016-02-23 17:47:18 +01:00
Thomas Gelf 4d100a6b65 Sync: do not pass imported data around 2016-02-23 17:35:47 +01:00
Thomas Gelf 1520d6fbf6 IcingaConfig: support the same file content twice 2016-02-23 17:03:52 +01:00
Thomas Gelf 6f2bd88069 Sync: two more lost $rules 2016-02-23 13:41:19 +01:00
Thomas Gelf 0b1f090972 Sync: fetch properties at construction time 2016-02-23 13:03:47 +01:00
Thomas Gelf ff7e243370 Sync: remove forgotten $db's 2016-02-23 11:59:25 +01:00
Thomas Gelf 22e3d72014 Sync: simplify methods, do not pass $db 2016-02-23 11:55:16 +01:00
Thomas Gelf 650ef67dc6 Sync: reduce parameters, don't pass Rule around 2016-02-23 11:22:25 +01:00
Thomas Gelf 2185dffa62 Sync: start to modularize combined key handling 2016-02-23 11:10:37 +01:00
Thomas Gelf 037b3178a0 Sync: use setProperties 2016-02-23 09:08:14 +01:00
Thomas Gelf 6c66f60ccc Sync: detect combined keys, e.g. host/service 2016-02-23 08:58:22 +01:00
Thomas Gelf a5b7e06ba2 Sync: only return modified objects 2016-02-22 11:01:37 +01:00
Thomas Gelf 2ff3764818 Sync: simplify code, prepare for various fixes 2016-02-19 15:23:44 +01:00
Thomas Gelf 37b2429aa1 Sync: just a modified TODO 2016-02-19 12:58:08 +01:00
Thomas Gelf c1f3e1c041 Sync: separate datalist cleanup logic 2016-02-19 12:42:02 +01:00