icingaweb2-module-director/test/php/library/Director/Objects
Ravi Srinivasa 6198cd8d9b
Alternative custom property support with dictionary handling
Introduce a first-class DirectorProperty concept that extends the existing
data-fields model with rich, structured variable types. Custom variables can
now be defined globally under a new "Custom Variables" section and assigned
to Icinga objects (hosts, services, commands, etc.).

Supported types: string, number, boolean, fixed-array, dynamic-array,
datalist-strict, datalist-non-strict, fixed-dictionary, and
dynamic-dictionary (one level of nesting allowed).

Key changes:
  - DirectorProperty object with CRUD, inheritance, and apply-for rule support
  - New form elements: Dictionary, DictionaryItem, NestedDictionary,
    NestedDictionaryItem, ArrayElement, IplBoolean
  - CustomvarController for managing global property definitions
  - VariablesController for per-object variable assignment
  - BasketSnapshotCustomVariableResolver for basket import/export of properties
  - REST API: IcingaObjectHandler extended to expose and accept structured vars
  - IcingaConfigHelper: renders dictionaries/arrays to valid Icinga 2 DSL
  - CustomVarRenderer updated for icingadb hook display
  - DB migration upgrade_192.sql: new director_property and related tables
  - CLI: MigrateCommand for migrating legacy vars to properties;
    HostsCommand for bulk host custom variable management
2026-05-15 13:41:00 +02:00
..
rendered Alternative custom property support with dictionary handling 2026-05-15 13:41:00 +02:00
HostApplyMatchesTest.php test/php: provide DB mostly everwhere... 2017-08-26 16:17:55 +02:00
HostGroupMembershipResolverTest.php Fix const visibility 2024-10-22 15:36:03 +02:00
IcingaCommandTest.php Change parent class of BaseTestCase to \Icinga\Test\BaseTestCase 2024-01-16 14:33:49 +01:00
IcingaHostTest.php Fix zone creation and deletion for tests 2024-01-16 15:27:27 +01:00
IcingaNotificationTest.php Change parent class of BaseTestCase to \Icinga\Test\BaseTestCase 2024-01-16 14:33:49 +01:00
IcingaServiceSetTest.php Change parent class of BaseTestCase to \Icinga\Test\BaseTestCase 2024-01-16 14:33:49 +01:00
IcingaServiceTest.php Alternative custom property support with dictionary handling 2026-05-15 13:41:00 +02:00
IcingaTemplateResolverTest.php Change parent class of BaseTestCase to \Icinga\Test\BaseTestCase 2024-01-16 14:33:49 +01:00
IcingaTimePeriodTest.php Change parent class of BaseTestCase to \Icinga\Test\BaseTestCase 2024-01-16 14:33:49 +01:00