Thomas Gelf
60bdef6752
Sync: create objects with original key...
...
...and not with the lower-cased comparison key
fixes #2608
2022-09-22 17:37:26 +02:00
Thomas Gelf
dd85c2ee35
Sync: compare keys in a case-insensitive way
...
fixes #2598
2022-08-31 16:36:31 +02:00
Thomas Gelf
ae45844bac
Sync: fix typo, remove useless cast
2022-08-31 14:45:28 +02:00
Thomas Gelf
b2afca2496
Sync: support branches
2022-08-31 14:45:28 +02:00
Thomas Gelf
047b14ccbf
Sync: preserve Host api_key in override mode
...
fixes #2590
2022-08-19 10:57:05 +02:00
Thomas Gelf
82656de2c2
Director: some PHP 8.1-related changes
2021-11-28 11:13:08 +01:00
Thomas Gelf
66de47b10b
DbObjectTypeRegistry: move logic from IcingaObject
2021-08-04 13:18:30 +02:00
Thomas Gelf
f27390d503
ImportRunBasedPurgeStrategy: fixed combined keys
...
fixes #2339
2021-07-12 23:11:40 +02:00
Thomas Gelf
a8d25b70ee
Sync: introduce a 'disable' purge action
...
fixes #2285
2021-03-11 23:00:52 +01:00
Thomas Gelf
b725a07197
ImportSourceRestApi: use storedPassword field
...
fixes #1897
2020-11-28 17:55:32 +01:00
Thomas Gelf
67e72387ee
ImportSourceRestApi: some cleanup
2020-11-28 17:55:19 +01:00
Thomas Gelf
9d6e23a845
ImportSourceRestApi: ignore empty custom headers
...
fixes #2232
2020-11-28 17:21:21 +01:00
Thomas Gelf
685e42d325
ImportSourceRestApi: fix description
2020-11-02 09:18:40 +01:00
Thomas Gelf
456832e7d1
css, various places: use Hint class
2020-10-26 18:50:13 +01:00
Thomas Gelf
66b30140ea
DirectorObject: new import source
...
fixes #2198
2020-10-09 16:27:38 +02:00
Thomas Gelf
36141c5f98
Import: validated encoding on DB error
...
MySQL gives useless error messages for invalid UTF8 characters and
confuses users with an 'Invalid datetime format' message.
Once storing imported data fails, the original data will now be scanned
for invalid UTF-8 characters. If such are found, a dedicated exception
with more details is thrown. Otherwise the original exception will be
forwarded
fixes #2143
2020-07-10 17:16:08 +02:00
Markus Frosch
50521bdecb
ImportSourceRestApi: Add header and deeper extract_property
...
Allows a user to add additional headers, e.g. by setting a specific `Accept` or any authentication header.
Also `extract_property` now has a logic for deeper keys like "result.objects", "key.deeper_key.very_deep"
2020-06-06 19:17:02 +02:00
Thomas Gelf
391edf5f19
ImportSourceLdap: use paged result
...
fixes #2019
2020-03-09 10:19:14 +01:00
Thomas Gelf
c12a6baeea
Sync: implement update-only policy
...
fixes #2059
2020-01-17 09:01:25 +01:00
Thomas Gelf
f0b96674c9
Import: distinct fetch from store in benchmark
2020-01-10 12:36:13 +01:00
Thomas Gelf
be8c1101f2
travis: use phpcs 3.5.2
2019-11-28 07:13:22 +01:00
Thomas Gelf
606d71501e
Use ipl, try to keep dipl compatibility
2019-09-11 23:02:39 +02:00
Thomas Gelf
e1565c9990
Revert "Merge branch 'next'"
...
This reverts commit f45f925e5e
, reversing
changes made to 90c07943e4
.
This was too early, need to check for incubator
2019-09-06 09:54:03 +02:00
Thomas Gelf
17f8ef1dd0
Use ipl, try to keep dipl compatibility
2019-09-06 09:48:11 +02:00
Thomas Gelf
6bf1c30c2f
Sync: use string keys for object_name
2019-05-22 17:06:24 +02:00
Markus Frosch
a30a28a7a1
Sync: Purge TemplateRepository cache before sync
2019-04-17 10:47:43 +02:00
Thomas Gelf
ad9b624e92
ImportSourceRestApi: allow to override url
2019-04-05 08:14:58 +02:00
Thomas Gelf
ed352ed8cc
ImportSourceRestApi: respect SSL + Proxy settings
2019-04-04 15:18:59 +02:00
Thomas Gelf
ba3ce7cd17
ImportSourceRestApi: new generic Import Source
...
fixes #1818
2019-04-04 13:22:39 +02:00
Thomas Gelf
b1d3bc9b4d
Sync, IcingaObjectGroups: avoid generic Exceptions
2019-01-10 12:10:53 +01:00
Markus Frosch
58c0689005
Import: Improve exception info during storing rows
2018-12-14 09:58:55 +01:00
Thomas Gelf
a3a2b5425b
SyncRule: cleanup, remove magic method access
2018-11-24 10:17:18 +01:00
Thomas Gelf
4352264b73
ImportSourceCoreApi: import flapping only for 2.8+
...
fixes #1652
2018-11-14 13:34:39 +01:00
Thomas Gelf
cf6e4536ea
Util: drop bin2hex/hex2bin helpers
...
We dropped support for PHP 5.3, this is no longer required
2018-10-30 15:32:17 +01:00
Thomas Gelf
77c4997b88
Various: explicit loading with ID where required
...
...cleanup, comments
2018-10-15 15:03:57 +02:00
Thomas Gelf
75a0797438
SyncUtils: prefer InvalidArgumentException
2018-10-08 06:35:36 +02:00
Thomas Gelf
b77bdcbcf4
ImportRunBasedPurgeStrategy: fetch chunked rows
...
refs #1556
2018-07-04 15:18:43 +02:00
Thomas Gelf
29bcfff07f
Sync: fix properties for IcingaObject instances
2018-05-25 13:29:32 +02:00
Thomas Gelf
bd80862153
Sync: cleanup, improve array handling, split logic
...
This should for example fix sync for multiple group memberships
2018-05-25 13:29:32 +02:00
Thomas Gelf
d8b1207254
Sync: it's not yet possible to let single...
...
...objects fail
refs #1048
2018-05-22 12:17:22 +02:00
Markus Frosch
49afcd5855
Sync: Only prefetch relations for IcingaObject
...
So DatalistEntry can be synced
fixes #1048
2018-05-22 11:08:03 +02:00
Thomas Gelf
a033e411c6
Sync: preserve _override_servicevars
...
fixes #1307
2018-05-04 22:14:07 +02:00
Markus Frosch
3b812fab7d
Sync: Make sure to prefetch relations for objects
...
This can avoid a lot of queries for zones, commands, timeperiods.
2018-04-27 16:05:39 +02:00
Markus Frosch
c4a95fd64e
Sync: Implement Benchmark for the Sync process
...
Note: This disables redirect-on-success for the forms, so you can see
the benchmark result.
2018-04-27 16:05:39 +02:00
Thomas Gelf
fb3dc92b36
ImportRunBasedPurgeStrategy: performance boost...
...
...for some older MariaDB/MySQL versions
2018-04-27 15:58:13 +02:00
Thomas Gelf
47c7c1b5f2
SyncUtils: fix wrong phpdoc
2018-02-20 12:58:07 +01:00
Thomas Gelf
0056a90414
SyncUtils: allow property names ending with a dot
2018-01-26 13:49:16 +01:00
Thomas Gelf
765b08f597
Import: apply modifiers only when fetching data
2018-01-26 13:01:39 +01:00
Thomas Gelf
9e193dbc6b
Sync: do not deal with 'disabled' for objects...
...
...without such properties (e.g. Sets)
2017-10-13 11:41:59 +02:00
Thomas Gelf
8f7e9e9ecd
Sync: do not touch 'disabled' on merge unless...
...
...it has been defined as a Sync Property
fixes #1223
2017-10-10 16:32:57 +02:00