Thomas Gelf
97b2f6c946
CommandController: branch support, argument table
2021-10-05 23:33:30 +02:00
Thomas Gelf
2b62742362
UuidLookup: initial import
2021-10-05 23:33:30 +02:00
Thomas Gelf
78fd6afe94
ImportsourceController: add branch-related hint
2021-10-05 23:33:30 +02:00
Thomas Gelf
a00c91991d
ObjectController: refactor Branch usage, give...
...
...more and better hints
2021-10-05 23:33:30 +02:00
Thomas Gelf
649a5dbe5e
BranchedObject: initial import
2021-10-05 23:33:30 +02:00
Thomas Gelf
b59dab535e
IcingaCommandArgumentForm: branch support
2021-10-05 23:33:30 +02:00
Thomas Gelf
09c9a9db72
DirectorObjectForm: use new DbObjectStore
2021-10-05 23:33:30 +02:00
Thomas Gelf
098f620802
JobController: not in Branches, formatting
2021-10-05 23:33:30 +02:00
Thomas Gelf
2dc83478ae
IcingaHostServiceTable: support Branches
2021-10-05 23:33:30 +02:00
Thomas Gelf
c994610031
DirectorObjectForm: hidden id field, start...
...
...fading it out - don't want to see this here
2021-10-05 23:33:30 +02:00
Thomas Gelf
2e069ef127
TemplatechoiceController: not in branches
2021-10-05 23:33:30 +02:00
Thomas Gelf
8560abfaa7
DbObjectStore: refactor, drop load() for now
2021-10-05 23:33:30 +02:00
Thomas Gelf
8d3c901db7
IcingaCloneObjectForm: support Branches
2021-10-05 23:33:30 +02:00
Thomas Gelf
57c4dda117
Objects/*, CVs, others: unify setBeingLoadedFromDb
2021-10-05 23:33:30 +02:00
Thomas Gelf
835d01cdec
IcingaObject: disabled = null is not a thing
2021-10-05 23:33:30 +02:00
Thomas Gelf
84c299a7db
Table/Object*: use UUIDs
2021-10-05 23:33:30 +02:00
Thomas Gelf
13f6ff6131
KickstartController: not in branches
2021-10-05 23:33:30 +02:00
Thomas Gelf
30bbf0836d
BranchController: refactored, use new classes
2021-10-05 23:33:30 +02:00
Thomas Gelf
ce13200832
DbObjectTypeRegistry: new helper methods
2021-10-05 23:33:30 +02:00
Thomas Gelf
1845b43314
ObjectsTable: we have UUIDs now, new column names
2021-10-05 23:33:30 +02:00
Thomas Gelf
73884536df
ServiceActions: formatting
2021-10-05 23:33:30 +02:00
Thomas Gelf
8601f26f03
BranchSupportHook: drop linkToBranchedObject
2021-10-05 23:33:30 +02:00
Thomas Gelf
b12d50a16a
HostgroupRestriction: do not fail on hosts w/o ID
2021-10-05 23:33:30 +02:00
Thomas Gelf
70c0b8f247
BranchActivityTable: new columns, better query
2021-10-05 23:33:30 +02:00
Thomas Gelf
98a8050718
BranchStore: new column names, delete methods
2021-10-05 23:33:30 +02:00
Thomas Gelf
e17535117e
BranchModificationInspection: column names, uuid
2021-10-05 23:33:30 +02:00
Thomas Gelf
dc52a54888
BranchMerger: use Activity instances
2021-10-05 23:33:30 +02:00
Thomas Gelf
7ad9cf6c6c
BranchActivity: formatting
2021-10-05 23:33:30 +02:00
Thomas Gelf
b22511e341
Branch: add assertBranch helper method
2021-10-05 23:33:30 +02:00
Thomas Gelf
59f6051623
Branch: use new ts_merge_request column
2021-10-05 23:33:30 +02:00
Thomas Gelf
f7d100ea24
Branch: remove outdated classes
2021-10-05 23:33:30 +02:00
Thomas Gelf
5483093959
MergeError: support BranchActivity
2021-10-05 23:33:30 +02:00
Thomas Gelf
2b24e9bcf8
BranchedObjectHint: move, support BranchedObject
2021-10-05 23:33:30 +02:00
Thomas Gelf
2f1a47c34a
PlainObjectPropertyDiff: diff calculation
2021-10-05 23:33:30 +02:00
Thomas Gelf
654f845e4e
Json: implement decodeOptional() for null support
2021-10-05 23:33:30 +02:00
Thomas Gelf
c2d7b235a5
IcingaConfigDiff: replace duplicate code
2021-10-05 23:33:30 +02:00
Thomas Gelf
5aba966a4b
IcingaCommandArgument: use a combined key
2021-10-05 23:33:30 +02:00
Thomas Gelf
792ff03a6d
Objects: add uuid column
2021-10-05 23:33:30 +02:00
Thomas Gelf
65bbaa9f98
IcingaObject: custom vars, also load them only...
...
...when we got an id
2021-10-05 23:33:30 +02:00
Thomas Gelf
182d1b519b
IcingaObject: do not load groups when we have...
...
...no id. With branches this is now possible
2021-10-05 23:33:30 +02:00
Thomas Gelf
1a5df745e3
IcingaObject: add some type-hints
2021-10-05 23:33:30 +02:00
Thomas Gelf
a29efe478c
IcingaArguments: remove Argument set to null
2021-10-05 23:33:30 +02:00
Thomas Gelf
5494ab29bd
BranchActivity: dedicated class
2021-10-05 23:33:30 +02:00
Thomas Gelf
2c27446c9f
NotInBranchHint: dedicated class, used in our...
...
...BranchHelper
2021-10-05 23:33:30 +02:00
Thomas Gelf
a1fb42878c
BranchSettings: some generic settings and helpers
2021-10-05 23:33:30 +02:00
Ravi Kumar Kempapura Srinivasa
90b5f6fdac
Convert $imports keys to string explicitly
...
The keys of $imports in IcingaObjectImports must be converted to string explicitly or else it establishes incorrect parent-child relation
in icinga_host_inheritance table in case the key is integer value and there is an host object with id = key(integer) icinga_host table.
This results in undefined offset while triggering sync rule.
2021-10-01 10:47:54 +02:00
Ravi Kumar Kempapura Srinivasa
6289bf065f
Pass $resolved as False for arguments to toPlainObject()
...
IcingaArguments passes the $resolved through to the individual argument in the toPlainObject. There lies the error,
simply pass false - because the argument itself cannot have any parents and therefore cannot be resolved
2021-10-01 10:47:12 +02:00
Thomas Gelf
378ef5d686
ObjectsTable, Infra: fix method signature
...
fixes #2395
2021-09-23 07:32:35 +02:00
Thomas Gelf
83c12fefcf
SingleServiceInfo: fix URL for single services
...
This affected clicking "modify" in the monitoring module
2021-09-09 16:25:28 +02:00
Thomas Gelf
de4378cfd3
DbObjectTypeRegistry: support 'serviceset'
2021-09-09 16:17:42 +02:00