Commit Graph

23 Commits

Author SHA1 Message Date
Thomas Gelf 89d4af564e IcingaCommandArgument: align toPlainObject method 2019-02-15 01:36:33 +01:00
Thomas Gelf 46d3800014 IcingaCommandArgument: allow to change type
fixes #1640
2018-10-30 18:20:08 +01:00
Thomas Gelf 15a8886db7 IcingaCommandArgument: no need for format...
...when there is no value
2018-10-15 15:03:47 +02:00
Thomas Gelf 35815e0dad library: lot's of cleanup 2018-06-19 13:47:19 +02:00
Thomas Gelf 9cfc6bb46d IcingaCommandArgument: be defensive, format could
...be missing

fixes #1151
2017-09-05 10:22:01 +02:00
Thomas Gelf 7cd307ea53 IcingaCommandArgument: skip default for compact 2017-09-04 12:50:37 +02:00
Thomas Gelf 4c46f07f2e Arguments: externalize, improve code, fix issues 2017-09-03 07:46:04 +02:00
Thomas Gelf c4da25ef25 IcingaCommandArgument: render set_if without format
Icinga DSL support was introduced in 348cb1aa6 and works fine, but breaks
rendering of legacy arguments with set_if_format = NULL. This should default
to 'string', as we should IMO not force NOT NULL in the DB in this case.

refs #12153
fixes #12886
2016-10-11 09:45:11 +00:00
Marc DeTrano 348cb1aa63 IcingaCommandArgument: allow expressions in set_if
fixes #12153
2016-09-23 15:18:58 +00:00
Thomas Gelf b6d59b9aca IcingaCommand: fix skip_key handling
refs #11554
refs #11918
2016-08-26 07:00:45 +00:00
Thomas Gelf 15acbb5290 IcingaObject::replaceWith: implement preserve...
...and add related tests, as this is a tricky one
2016-07-14 17:06:48 +02:00
Thomas Gelf 2007dee6c0 IcingaCommandArgument: add replaceWith method 2016-05-19 15:09:08 +02:00
Thomas Gelf 9f5f955310 IcingaCommandArgument: use resolveIds as a hack 2016-03-28 23:50:15 +02:00
Thomas Gelf 9e91285136 IcingaCommandArgument: fix booleans 2016-03-28 23:48:19 +02:00
Thomas Gelf 675be400d1 Icinga(Command)Argument(s): refactor objects...
...and try to satisfy tests
2016-03-21 10:12:49 +01:00
Thomas Gelf 5e3fe5e2df IcingaCommandArguments: refactor large parts 2016-03-18 13:46:06 +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 7ca64e18a7 IcingaCommandArgument: add more data type support 2015-12-02 02:51:17 +01:00
Thomas Gelf ccf8e6fa78 IcingaCommandArgument: first rendering implementation 2015-10-16 18:42:38 +02:00
Thomas Gelf 9771e04ee0 IcingaCommandArgument: adjust schema column name 2015-08-03 13:53:58 +02:00
Thomas Gelf 410d06dc63 IcingaObject: object_name is our key 2015-07-02 14:32:06 +02:00
Thomas Gelf 825602f509 IcingaCommandArgument: new object type 2015-06-01 16:36:06 +02:00