Commit Graph

283 Commits

Author SHA1 Message Date
Thomas Gelf 1261bd93e1 IcingaObject: add merge method, use in Sync 2016-02-25 00:23:27 +01:00
Thomas Gelf b9ee674d3f IcingaObject: render assignments (experimental) 2016-02-24 23:59:50 +01:00
Thomas Gelf fb6518a887 IcingaObject: add awareness for apply object type 2016-02-24 21:37:48 +01:00
Thomas Gelf 4292f31f4f IcingaObject: generic loadAll support...
...also for multi-key objects
2016-02-24 15:18:30 +01:00
Thomas Gelf 92f54dbae2 schema/mysql: storing what we know makes life easier 2016-02-24 12:20:48 +01:00
Thomas Gelf e2cd8958c3 SyncRun: less useless use of use 2016-02-24 11:14:12 +01:00
Thomas Gelf a993f5cafa SyncRun: new object to track sync history 2016-02-24 11:09:12 +01:00
Thomas Gelf c2b0e48c7f DirectorActivityLog: work based on new methods 2016-02-23 00:35:35 +01:00
Thomas Gelf 6c72eaf176 IcingaObject.php: getPlainUnmodifiedObject for log 2016-02-23 00:33:05 +01:00
Thomas Gelf 1f71def70c IcingaObject: skipDefaults instead of skipNull 2016-02-23 00:29:51 +01:00
Thomas Gelf 23090c502a IcingaObject: introduce differsFromDefaultValue 2016-02-23 00:26:39 +01:00
Thomas Gelf 070d05d4a8 IcingaObject: ignore deleted vars for getVars
This is used when resolving plain objects
2016-02-22 15:43:59 +01:00
Thomas Gelf 1f869fa001 IcingaObject: fix variable names on setting vars.x 2016-02-22 15:19:26 +01:00
Thomas Gelf 72ffe336be IcingaObject: allow to directly set dict var key 2016-02-21 10:10:24 +01:00
Thomas Gelf f2f748738e IcingaObjectGroups: provide autocreate and ignore...
...failure options for objects assigned to missing groups by name
2016-02-19 15:36:56 +01:00
Thomas Gelf dd7a914fea ImportSource: add fetchRowModifiers helper 2016-02-19 02:47:12 +01:00
Thomas Gelf f6a3c6cf34 ImportRowModifier: simplify code 2016-02-17 22:02:28 +01:00
Thomas Gelf 625b9373de DirectorDatafield: remove obsolete code 2016-02-17 22:00:29 +01:00
Thomas Gelf 4fd0054a59 DbObjectWithSettings: one more abstraction layer
Would be a candidate for traits, unfortunately we still support PHP 5.3
2016-02-17 21:23:24 +01:00
Thomas Gelf b05973f3a7 ImportSource: fix settings delete 2016-02-17 21:08:16 +01:00
Thomas Gelf e8aadbb30b IcingaObject: fix issue with disabled property 2016-02-17 20:00:48 +01:00
Thomas Gelf 402b4c31e2 IcingaEndpoint: add api user and client helper 2016-02-17 16:39:18 +01:00
Thomas Gelf 7b6747ab67 IcingaObject: add helper for related objects 2016-02-17 16:03:07 +01:00
Thomas Gelf 5b3b5cbfb8 IcingaObjects: add new "disabled" property 2016-02-16 12:17:50 +01:00
Thomas Gelf b22f12cf55 IcingaObject: dedicated boolean munging method 2016-02-16 11:46:01 +01:00
Thomas Gelf c285dc260d IcingaZone: no endpoint fetching for new zones 2016-02-05 15:38:57 +01:00
Thomas Gelf 88ffc6baf2 Icinga/DbObject: explizit destruction 2016-02-04 16:58:32 +01:00
Thomas Gelf 7d96201afc IcingaArguments: fix index when loading from db 2016-02-03 11:15:20 +01:00
Thomas Gelf c62b008df8 IcingaObject: allow mor control over JSON structure 2016-02-03 00:58:13 +01:00
Thomas Gelf 9786fd5dae IcingaArguments: play nice with DSL in set_if
Recent changes to ITL ships with such an example.
2016-02-01 15:07:02 +01:00
Thomas Gelf a0b5e79115 Icinga(Commmand)Arguments: small improvements 2015-12-18 16:11:36 +01:00
Thomas Gelf 6ba5e44071 IcingaCommandArgument: render simple args compact 2015-12-18 16:02:48 +01:00
Thomas Gelf ff5ebdab53 IcingaService: command_endpoint fix for use_agent 2015-12-18 15:52:02 +01:00
Thomas Gelf ce44252f8e IcingaObject: return null for missing relations 2015-12-18 14:25:15 +01:00
Thomas Gelf 1cb47b6d32 IcingaObject: allow for null booleans 2015-12-18 14:23:49 +01:00
Thomas Gelf 4e7856bc80 IcingaHost/Service: fix boolean array 2015-12-18 12:07:26 +01:00
Thomas Gelf 01be02fe9c IcingaService: command endpoint respects use_agent 2015-12-18 11:55:42 +01:00
Thomas Gelf 53c0f94f27 IcingaService: use booleans, drop custom renderers 2015-12-18 11:52:00 +01:00
Thomas Gelf c03aaada92 IcingaService: add use_agent 2015-12-18 11:07:23 +01:00
Thomas Gelf 76a3e9cece IcingaZone: allow to prefill endpoint list 2015-12-18 10:52:00 +01:00
Thomas Gelf 313ac50f81 IcingaObject: allow to access relations by key 2015-12-17 20:32:15 +01:00
Thomas Gelf f8634cf66b IcingaHost: add agent properties 2015-12-17 19:27:01 +01:00
Thomas Gelf 63081474fa IcingaHost: define boolean properties 2015-12-17 19:22:53 +01:00
Thomas Gelf 91250cf0b9 ApiUser: add all tabs, tables, links 2015-12-17 14:58:43 +01:00
Thomas Gelf 08c3614620 IcingaApiUser: introduce a new object type 2015-12-17 14:29:08 +01:00
Thomas Gelf 922a6d25c0 IcingaObject: add resolve-cache 2015-12-16 14:32:53 +01:00
Thomas Gelf 0c68677fa5 Zone: rename parent_zone to parent 2015-12-15 15:13:25 +01:00
Thomas Gelf 7f558d1523 IcingaObject: more choices for toPlainObject 2015-12-10 18:41:09 +01:00
Thomas Gelf 75bbf9c7da IcingaObject: a few more hardcoded class names 2015-12-10 18:40:08 +01:00
Thomas Gelf d0359683cd IcingaObject: fix inheritance blacklist application 2015-12-10 17:56:02 +01:00
Thomas Gelf 39532d7173 IcingaObject: use missing ConfigurationError 2015-12-10 13:18:35 +01:00
Thomas Gelf fa65e9850b IcingaObject: new methods for plain and json handling 2015-12-10 13:04:34 +01:00
Thomas Gelf a0f0870566 IcingaObject: improve renderPropertyAsSeconds() 2015-12-10 12:58:47 +01:00
Thomas Gelf f4ca547ac2 IcingaService: render intervals in a nice way 2015-12-10 12:57:45 +01:00
Thomas Gelf 91b486cc66 IcingaObject: add TODO for unhandled situation 2015-12-10 12:53:24 +01:00
Thomas Gelf 61cdeadb5d IcingaService: add and render (host) relations 2015-12-10 12:12:58 +01:00
Thomas Gelf 79748f0c4c IcingaObject: provide combined keys for imports 2015-12-10 12:11:54 +01:00
Thomas Gelf 1cd0b0f4cb IcingaObjectImports: allow for multicol relations 2015-12-10 11:43:54 +01:00
Thomas Gelf 5091db2268 IcingaObject: clean up zone rendering 2015-12-10 11:34:46 +01:00
Thomas Gelf 1116bc4331 IcingaZone: render endpoints 2015-12-10 11:27:28 +01:00
Thomas Gelf 9c5776bf00 IcingaZone: fix parent zone relation 2015-12-09 15:06:11 +01:00
Thomas Gelf bac3969cdd IcingaObject: override key in renderRelationProperty 2015-12-09 15:05:31 +01:00
Thomas Gelf c6842520d9 SyncRule: fetch properties in reverse order 2015-12-08 15:01:33 +01:00
Thomas Gelf cbd09c69f0 IcingaEndpoint: rename address to host 2015-12-08 08:36:53 +01:00
Johannes Meyer e8c90ebb6b IcingaObject: Fix that object IcingaHostGroup cannot be found in classByType() 2015-12-07 13:50:48 +01:00
Thomas Gelf eec9710727 IcingaZone: define parent as a relation, for sync 2015-12-04 12:48:25 +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 00cb7bb9d0 IcingaHost: let check command be relation-rendered 2015-12-03 19:43:50 +01:00
Thomas Gelf f49f14376b IcingaObject: recognize argument modifications 2015-12-03 19:41:58 +01:00
Thomas Gelf 3373b67d44 IcingaObject: render 0 seconds as 0, not 0m 2015-12-03 18:05:10 +01:00
Thomas Gelf 457fb859e4 IcingaCommand/Endpoint: fix typo 2015-12-03 18:02:57 +01:00
Thomas Gelf d8d12d38b4 IcingaObject: add new helper methods for seconds 2015-12-03 18:01:44 +01:00
Thomas Gelf d516a050ac IcingaEndpoint: render log duration as integer 2015-12-03 17:56:27 +01:00
Thomas Gelf 3656e8ed98 IcingaObject: generic relation render helper 2015-12-03 17:12:38 +01:00
Thomas Gelf f1e6b12eeb Endpoint: allow to set zone relation as string 2015-12-03 16:50:44 +01:00
Thomas Gelf 389fcf2fa6 IcingaObject: allow to unset relations 2015-12-03 15:09:49 +01:00
Thomas Gelf 039542c473 IcingaObject: provide plain object 2015-12-03 14:20:29 +01:00
Thomas Gelf 8d173b9602 IcingaHost: define relations 2015-12-03 14:20:13 +01:00
Thomas Gelf bc449feeef IcingaObject: set related properties by name 2015-12-03 14:18:19 +01:00
Thomas Gelf 0b052bb05a ImportSource: add failsafe getSetting() method 2015-12-03 01:37:10 +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 dabc6de1da IcingaObject: add userspace filters 2015-12-02 04:04:19 +01:00
Thomas Gelf e29da23f99 IcingaCommand: add mungeCommand
Supports arrays and optional PluginDir resolution
2015-12-02 03:20:55 +01:00
Thomas Gelf d5c20e6e53 IcingaObject: first simple toJson support 2015-12-02 03:08:57 +01:00
Thomas Gelf 06736e1508 IcingaCommand: improve timeout rendering 2015-12-02 02:53:27 +01:00
Thomas Gelf 7ca64e18a7 IcingaCommandArgument: add more data type support 2015-12-02 02:51:17 +01:00
Thomas Gelf 8be79b3dd6 IcingaArguments: class needed some love 2015-12-02 02:50:41 +01:00
Thomas Gelf e5e3f749b7 IcingaObjectImports: prefetch should not be forgotten 2015-12-02 02:48:15 +01:00
Thomas Gelf ed3624239b IcingaObject: allow to access arguments 2015-12-02 02:42:14 +01:00
Thomas Gelf 9413c8cdbd IcingaConfig: do not re-deploy external objects 2015-12-01 14:47:10 +01:00
Thomas Gelf 4875c2813d IcingaArguments: fix variable name 2015-11-30 21:40:32 +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 f0475c2407 IcingaHost: beautify enumProperties 2015-11-25 12:52:57 +01:00
Thomas Gelf 7fb1182cc8 IcingaService: add basics for command resolution 2015-11-15 16:39:20 +01:00
Thomas Gelf 5287e58fea IcingaObject: fetch format information for fields 2015-11-14 00:21:42 +01:00
Thomas Gelf 8dc39ccb89 IcingaZone: it works, one less helper method 2015-11-14 00:19:23 +01:00
Thomas Gelf 6b23ba28be IcingaZone: experiment with new boolean helper 2015-11-14 00:03:45 +01:00