Commit Graph

133 Commits

Author SHA1 Message Date
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
Thomas Gelf ca15817da5 Sync: allow to override object_name 2015-12-10 12:57:11 +01:00
Thomas Gelf 0d8746624b Sync: fix variables passed to helper methods 2015-12-09 11:45:04 +01:00
Thomas Gelf e34b0e0d95 Sync: simplifying prepareSyncForRule() method 2015-12-08 16:40:47 +01:00
Thomas Gelf a88d064b05 Sync: add documentation, code should be simplified 2015-12-08 11:51:05 +01:00
Thomas Gelf 7f2e9ddc52 Sync: use row filters 2015-12-04 10:59:25 +01:00
Thomas Gelf 2164c1e2b9 Sync: allow to remove objects 2015-12-04 10:24:54 +01:00
Thomas Gelf 5a5f2faa77 ImportSourceCoreApi: initial implementation 2015-12-03 14:22:40 +01:00
Thomas Gelf 40e154ca37 ImportSource(Ldap|Sql): clean up imports 2015-12-03 13:36:33 +01:00
Thomas Gelf a7f11f7702 ImportSourceHook: add failsafe getSetting method 2015-12-03 00:39:46 +01:00
Thomas Gelf b190fd62e3 Sync: allow to access "deep" values from expressions 2015-12-02 15:59:31 +01:00
Thomas Gelf 635befc501 ImportSourceLdap: respect import filter 2015-12-02 12:13:50 +01:00
Thomas Gelf 99a427c217 Sync: speedup by moving some logic to userspace 2015-11-25 21:54:42 +01:00
Thomas Gelf 8ed2b99c82 Sync: allow direct access to nested structures 2015-11-25 09:21:15 +01:00
Thomas Gelf ca368a341a Sync: just a newline 2015-11-17 18:28:24 +01:00
Thomas Gelf c070c77611 Import: no longer show raw row on exception 2015-11-06 09:20:13 +01:00
Thomas Gelf 39b58d24b7 Import: refine API, code cleanup 2015-11-03 12:52:38 +01:00
Thomas Gelf 2ac0d2d6f5 Import: start to split functionality 2015-11-03 10:31:44 +01:00
Thomas Gelf eee48e3238 Import: comment and move sort methods to the bottom 2015-11-03 10:18:24 +01:00
Thomas Gelf 326a88fc81 Sync: cleanup 2015-11-02 09:29:03 +01:00
Thomas Gelf 5f333b0ea7 Import: always store dictionaries ordered 2015-11-02 09:25:39 +01:00
Thomas Gelf b41ca7826e Sync: allow to determine expected modifications 2015-10-30 23:34:27 +01:00
Thomas Gelf 139b52079f Import: allow for simple objects (hashes, dicts) 2015-10-28 22:31:37 +01:00
Thomas Gelf 1bbd07efe1 Import: use IcingaException, add a TODO 2015-10-21 07:45:08 +02:00
Thomas Gelf 9ec520c788 Sync: start code cleanup
We want to store sync history and show sync previews, code needs to
be prepared for those tasks
2015-10-20 23:29:29 +02:00
Thomas Gelf 62a0f5f9c2 Sync: indentation 2015-10-20 22:22:58 +02:00
Thomas Gelf fc5976b5f8 Sync: use IcingaException 2015-10-20 22:21:48 +02:00
Thomas Gelf eea642bd1c ImortSourceLdap: remove test columns 2015-10-15 23:45:30 +02:00
Thomas Gelf dd06be4a58 Import: handle empty sets 2015-08-29 01:10:56 +02:00
Thomas Gelf 693837004a Sync: allow to enforce array format 2015-08-28 23:56:54 +02:00
Thomas Gelf 0b4bb9979b Import: work with data formats 2015-08-28 23:53:56 +02:00
Thomas Gelf 8ccad501e8 Sync: retrieve import format 2015-08-28 23:52:02 +02:00
Thomas Gelf c456f79c4c Import: do nothing if matching last import 2015-08-28 23:48:14 +02:00
Thomas Gelf cdfac373fb ImportSourceLdap: new import source 2015-08-28 17:16:58 +02:00
Thomas Gelf abd17e8be7 Sync: initial work to support more object types 2015-08-04 19:52:02 +02:00
Thomas Gelf 0aae476498 Sync: handle 'import' property on creation 2015-08-03 15:12:46 +02:00
Thomas Gelf 19eec671f2 Import/Sync: add support for 'import' fields 2015-08-03 13:39:55 +02:00
Thomas Gelf fa9a6eeabb ImportSourceSql: make use of new Util helpers 2015-07-30 09:46:14 +02:00
Thomas Gelf 68e359cbc0 Sync: start to work with multiple datasources...
...working, but still unfinished
2015-07-26 15:46:25 +02:00
Thomas Gelf c9e5f16d3e Import: exception for missing key column...
...but skip check for now
2015-07-26 15:38:29 +02:00
Thomas Gelf 1ffc032e26 Sync: dummy return value to succeed in controller
Fixes redirect unless we store a sync run history
2015-07-24 15:31:57 +02:00
Thomas Gelf f05fa90fee Sync: fix purge mechanism 2015-07-24 15:31:57 +02:00
Thomas Gelf f65e880aaa Sync: forbid sync access to existing templates 2015-07-24 15:31:57 +02:00
Thomas Gelf 7edc5f37b3 Sync: use a single db transaction 2015-07-24 15:31:57 +02:00
Thomas Gelf 1c5f83a6cf Sync: fail with missing key column
NB: might not work as expected, more fixes to come
2015-07-24 15:31:57 +02:00
Thomas Gelf 80b2974372 Import: ignore null properties for now 2015-07-24 15:26:09 +02:00
Thomas Gelf bdda0fe717 Sync: initial test implementation
refs #9731
2015-07-24 10:51:55 +02:00
Stefan Scheungrab 8ef61d4b3a Import/ImportSourceSql: typo replaced Resouce with Resource 2015-07-22 19:18:42 +02:00
Thomas Gelf 3dfec6b8bd Import: allow for differing imports w/o new rows 2015-07-22 13:13:00 +02:00
Thomas Gelf af021b06ac ImportSourceSql: query should be a textarea 2015-07-22 11:37:06 +02:00
Stefan Scheungrab 2076d6b9a7 Import: renamed column imported_rowset_checksum TO rowset_checksum resolves: #9700 2015-07-22 11:13:52 +02:00
Thomas Gelf bc49af2685 Import: implement import runs
* Trigger import run and store data
* Add new table showing related information
2015-07-22 10:12:50 +02:00
Thomas Gelf 6ca8e8a7d6 ImportSourceSql: new import provider
fixes #9678
2015-07-21 15:18:16 +02:00