Commit graph

34 commits

Author SHA1 Message Date
Johannes Meyer
67a7687606 NodeAction: Force parsing objects as associative arrays during unserialization 2020-06-26 11:18:28 +02:00
Ravi Kumar Kempapura Srinivasa
b39d953fee Fix tile rendering for Bp nodes with unconfirmed deleted monitored nodes
Earlier in NodeRemoveAction the states were recalculated for the BpNodes. Hence, the state for parent nodes with unconfirmed deleted monitored nodes (host/service) is set to Unknown. This results in incorrect tile rendering for the parent nodes. Therefore, any call to methods which recalculate the states are removed.

fix #279
2020-05-19 16:42:09 +02:00
Johannes Meyer
cacc24f501 NodeAddChildrenAction: Really import nodes if instructed to do so 2019-02-22 14:30:06 +01:00
Johannes Meyer
431a5e0085 Streamline usage of a node's name 2019-02-22 12:26:24 +01:00
Johannes Meyer
00b88055f7 BpConfig: Delay processing of imported configurations
Solves the issue that two processes cannot import each other
2019-02-22 12:26:24 +01:00
Johannes Meyer
93a2589909 NodeMoveAction: Interpret $from as index and not as display value 2019-02-22 12:26:24 +01:00
Johannes Meyer
bc03569765 Properly handle display values when performing other actions than moving nodes 2019-02-22 12:26:24 +01:00
Johannes Meyer
f022c0f101 NodeMoveAction: Properly handle unbound nodes 2019-02-22 12:26:24 +01:00
Johannes Meyer
ec14a7dbe1 NodeMoveAction: Properly check display values 2019-02-22 12:26:24 +01:00
Johannes Meyer
0d0ac5381e NodeApplyManualOrderAction: Also include non-toplevel processes 2019-02-22 12:26:24 +01:00
Johannes Meyer
da4bf7ffc6 NodeMoveAction: Don't allow to accidentally override the placement of nodes 2019-02-22 12:26:24 +01:00
Johannes Meyer
eb043b32c8 ProcessChanges: Verify that actions can be applied before pushing 2019-02-22 12:26:24 +01:00
Johannes Meyer
eef8adb9be NodeAction: Allow method appliesTo to throw an exception
Also implements it's usage in all available actions.
2019-02-22 12:26:24 +01:00
Johannes Meyer
ea0a04065d Add support to move nodes between processes 2019-02-22 12:26:24 +01:00
Johannes Meyer
0707d1d7e7 ProcessChanges: Add new action to move processes/nodes 2019-02-22 12:26:23 +01:00
Johannes Meyer
c609f0c6b3 ProcessChanges: Add new action to apply manual sorting 2019-02-22 12:26:23 +01:00
Johannes Meyer
327cb7c28c Allow to import processes from different configurations 2019-01-17 15:20:25 +01:00
Thomas Gelf
0c395cc005 DeleteNode: use parent, not path
fixes #94
2017-01-27 14:57:57 +01:00
Thomas Gelf
3dff6848ec Merge branch 'feature/travis' 2017-01-11 23:58:57 +01:00
Thomas Gelf
d87edba377 Just a couple of newlines to satisfy latest PSR2
...checks in phpcs
2017-01-11 23:56:17 +01:00
Thomas Gelf
5f6b35906d AddNode: fix creating nested nodes
fixes #13883
2017-01-11 17:38:19 +01:00
Thomas Gelf
c083b117dd Modification: rename $bp to $config 2017-01-11 17:36:32 +01:00
Thomas Gelf
22583aa083 BpConfig: renamed from BusinessProcess 2017-01-11 14:09:30 +01:00
Thomas Gelf
5f26440a00 NodeAddChildrenAction: do nothing for missing node 2017-01-03 11:37:39 +01:00
Thomas Gelf
2dc08be767 ProcessChanges: make path optional for deleteNode 2017-01-03 11:30:48 +01:00
Thomas Gelf
8bd1e10f95 DeleteNode: quite some rework, provide more...
...possibilities, remove "not implemented" exception
2017-01-03 11:23:05 +01:00
Thomas Gelf
40165353d8 ProcessChanges: fit changed NodeRemove api 2016-12-23 11:16:37 +01:00
Thomas Gelf
9e30be79c6 NodeRemoveAction: rework to fit current reality 2016-12-16 19:32:36 +01:00
Thomas Gelf
7f3c16466a NodeAction: make node optional
This is required for root nodes
2016-12-07 23:15:56 +01:00
Thomas Gelf
654f905cf8 ProcessChanges: adjust method signature 2016-12-07 23:11:15 +01:00
Thomas Gelf
a784b384f4 NodeCreateAction: allow to add root nodes 2016-12-07 16:02:06 +01:00
Thomas Gelf
c11a181701 Process: add and use new form 2016-11-29 15:32:56 +01:00
Thomas Gelf
f820dcfec0 NodeAddChildrenAction: new modification action 2016-11-29 15:06:38 +01:00
Thomas Gelf
2b98629f3e Modification: move modification handling to...
...a dedicated namespace
2016-11-23 15:17:25 +01:00