Commit Graph

102 Commits

Author SHA1 Message Date
Thomas Gelf 96e6a15655 Sync: implement filter-based properties 2016-03-15 17:28:49 +01:00
Thomas Gelf c34f1c5411 ImportSourceLdap: field descriptions 2016-03-14 13:27:50 +01:00
Thomas Gelf b4ed770651 Import: avoid stream resources for PostgreSQL
I'd like to change this back to binary data later on, but for now
the fix should be fine.

fixes #11321
2016-03-14 12:07:57 +01:00
Thomas Gelf 66c8d7628f PropertyModifierHook: provide db connection 2016-03-08 22:09:59 +01:00
Thomas Gelf b07a3e724c Sync: quote binary checksums for PostgreSQL 2016-03-05 20:38:21 +01:00
Thomas Gelf 9ede46f839 Import: various fixes for PostgreSQL
refs #11315
2016-03-05 20:01:31 +01:00
Thomas Gelf 5268db6a61 ImportSourceCoreApi: fix host properties
refs #11315
2016-03-05 18:05:44 +01:00
Thomas Gelf 5520e311f1 ImportSourceCoreApi: replace legacy config lookup
fixes #11315
2016-03-05 17:55:03 +01:00
Thomas Gelf 93469b20a0 ImportSources: remove superfluous newlines 2016-02-28 16:32:24 +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
Thomas Gelf 348aebcf41 Import: apply row modifiers 2016-02-19 09:15:47 +01:00
Thomas Gelf c6cd99f9db Hooks: remove last traces of Web\Hook 2016-02-17 11:49:56 +01:00
Thomas Gelf 7b65efee23 Hooks: get rid of legacy pre 2.1 hook classes
In case you already implemented such you have to adjust your implementations.
Just replace Director/Web/Hook with Director/Hook. Sorry for the inconvenience.
Compat classes would have been possible, but as Director isn't stable yet I'd
like to avoid doing so.
2016-02-17 10:49:57 +01:00
Thomas Gelf 2a173b7cd3 ImportSourceLdap: allow to fetch dn as a column 2016-02-17 10:00:40 +01:00
Thomas Gelf ad39da9a13 Sync: fix datalist entry sync 2016-02-09 19:21:36 +01:00
Thomas Gelf ef1079e600 Sync: raise limits 2016-02-09 19:21:17 +01:00
Thomas Gelf 56c357bfb0 Sync: throw exception on erraneous data 2016-01-19 16:33:04 +01:00
Thomas Gelf 2df368f4c7 Sync: fix issues with PHP 5.3 2015-12-23 15:10:37 +01:00
Thomas Gelf 5f5490e4a7 Sync: allow to set object_type on new objects 2015-12-16 19:16:00 +01:00
Thomas Gelf f7d9867b97 Sync: delegate new "replace" to the object 2015-12-15 19:09:22 +01:00
Thomas Gelf 81be63c74d ImportSourceCoreApi: allow host objects 2015-12-15 18:59:34 +01:00
Thomas Gelf 09df0b7a1e Sync: remove useless dummy 2015-12-15 18:56:34 +01:00
Thomas Gelf 94456f90ff ImportSourceCoreApi: provide database. Not so nice 2015-12-15 14:48:25 +01:00
Thomas Gelf 4755563e53 ImportSourceCoreApi: provide a default key name 2015-12-15 14:47:09 +01:00
Thomas Gelf d347a18ac6 Import: add missing semicolon 2015-12-15 11:08:04 +01:00
Thomas Gelf ab597ba958 Import: workaround for ZF1 binary data corrpution 2015-12-10 17:17:49 +01:00