Commit graph

278 commits

Author SHA1 Message Date
Thomas Gelf
c36fd5024e BpNode: handle "display" numeric 2015-03-16 13:18:19 +01:00
Thomas Gelf
94a22c23c3 BusinessProcess: handle root node detection 2015-03-16 13:17:03 +01:00
Thomas Gelf
4876a5d200 HostNode: Hoststatus VS Hoststate - legacy 2015-03-16 13:15:36 +01:00
Thomas Gelf
a656243c64 BusinessProcess: allow to clear applied changes 2015-03-16 13:14:59 +01:00
Thomas Gelf
fc29d7edf9 BpNode: no link for unbound root node 2015-03-16 13:12:20 +01:00
Thomas Gelf
c4004d9320 HostNode: use action/link separation 2015-03-16 13:11:39 +01:00
Thomas Gelf
e057e61567 editor: sorry, monster commit :) 2015-03-16 09:08:00 +01:00
Thomas Gelf
88e7a1ad18 Node: fix info url link rendering and events
fixes #8574
2015-03-03 13:55:33 +01:00
Thomas Gelf
d243271462 BusinessProcess: avoid duplicates when stored 2015-03-03 12:51:03 +01:00
Thomas Gelf
bdac469099 LegacyStorage: split logic into more methods
We want to optimize the process and be able to read from raw strings
too.
2015-03-03 11:44:19 +01:00
Thomas Gelf
7d31250816 BpNode: unique operator validation 2015-03-03 11:06:54 +01:00
Thomas Gelf
19ab1a28cc BpNode: show full process missing if childs are so 2015-03-03 11:00:15 +01:00
Thomas Gelf
3e6f041a0b Node: add newlines to HTML, not too much 2015-03-03 10:40:05 +01:00
Thomas Gelf
01c5063839 LegacyStorage: write config to disk
Temporarily added URL parameter to test writing configs
2015-03-02 18:23:19 +01:00
Thomas Gelf
ced3baa11b Controller: do not load states for every action 2015-03-02 18:22:42 +01:00
Thomas Gelf
a63ac99ac5 BusinessProcess: config should end with a newline 2015-03-02 18:21:50 +01:00
Thomas Gelf
6cad8bb9cb BpNode: fix "display" when rendering config 2015-03-02 18:21:08 +01:00
Thomas Gelf
dfa2de946f LegacyStorage: implement import syntax
Using @ prefix for now, works fine. Please note that this might still
be subject to change unless our first stable release.
2015-02-13 01:57:12 +01:00
Thomas Gelf
8f0b492b1b Node: node type class detection
Not so nice, but works for now
2015-02-13 01:56:19 +01:00
Thomas Gelf
99e03ef44f BusinessProcess: tell about state type 2015-02-13 01:55:46 +01:00
Thomas Gelf
d2efd8f05c ImportedNode: allow to import processes 2015-02-13 01:54:47 +01:00
Thomas Gelf
b2c3af4138 Node: get/set alias 2015-02-13 01:54:08 +01:00
Thomas Gelf
3e04cc1b2a Controller: preserve name and config name 2015-02-13 01:53:28 +01:00
Thomas Gelf
809a1957de BpNode: useless newline 2015-02-13 01:52:47 +01:00
Thomas Gelf
b66cbd2abf Businessprocess\Controller: fix hard state param 2015-02-07 01:30:43 +01:00
Thomas Gelf
8795c2b06e BpNode: use ConfigurationError 2015-02-07 01:30:43 +01:00
Thomas Gelf
0b21659727 BpNode: use prio from display 2015-02-07 01:30:43 +01:00
Thomas Gelf
99edc846e5 Storage, Process: shift backend responsability
We do not want to take care about backends manually, they should just work
2015-02-07 01:30:43 +01:00
Thomas Gelf
c2e02796fa Businessprocess\Controller: optional state types
Only set state type if given, default is set at process load time
2015-02-07 01:30:43 +01:00
Thomas Gelf
f7ed590d87 BusinessProcess: improve legacy header generation 2015-02-07 01:30:43 +01:00
Thomas Gelf
5b9fea12c0 Businessprocess\Controller: remove legacy code 2015-02-07 01:30:43 +01:00
Thomas Gelf
c3bd7c4c72 BusinessProcess: allow to get and set backend 2015-02-07 01:30:43 +01:00
Thomas Gelf
504bf7ab7d LegacyStorage: use nice title from config file 2015-02-07 01:30:43 +01:00
Thomas Gelf
df8a3df40b BusinessProcess: add title property
We allow process definitions to have nice titles, not just identifiers
2015-02-07 01:30:43 +01:00
Thomas Gelf
a8cf07837f BusinessProcess: cleanup, comments 2015-02-07 01:30:43 +01:00
Thomas Gelf
04490da35b BusinessProcess: fix data prefiltering 2015-02-07 01:30:43 +01:00
Thomas Gelf
98358cc64a Node: set missing state class if node is missing
Does not yet work for process nodes, we might be forced to introduce
a full-blown "missing flag" for our numeric state
2015-02-07 01:29:45 +01:00
Thomas Gelf
9455ec5e1f BusinessProcess: enforce MonitoringBackend 2015-02-07 01:29:45 +01:00
Thomas Gelf
c97507db94 BusinessProcess: remove obsolete vars 2015-02-07 01:29:45 +01:00
Thomas Gelf
090eed6b70 BusinessProcess: drop $ido, use MonitoringBackend 2015-02-07 01:29:45 +01:00
Thomas Gelf
29a263c8e3 Host/ServiceNode: make them fit new instantiation
We create all nodes regardless of whether we fetch their state
initially right now, so determining "missing" nodes changed.
2015-02-06 16:28:41 +01:00
Thomas Gelf
71434a3baf BusinessProcess: simplify logic 2015-02-06 16:28:41 +01:00
Thomas Gelf
bf7aeaf2d7 Node: last state change support 2015-02-06 16:28:41 +01:00
Thomas Gelf
5bf53ff614 LegacyStorage: use new object creation methods 2015-02-06 16:28:41 +01:00
Thomas Gelf
b0492484fa BusinessProcess: add new helper functions
Will make code easier to read
2015-02-06 16:28:41 +01:00
Thomas Gelf
47b8f00900 Node: clean up and document properties 2015-02-06 16:28:41 +01:00
Thomas Gelf
66cd993f0a ServiceNode: fix service link
service/show VS show/service
2015-01-21 09:23:39 +01:00
Thomas Gelf
27318fc7e8 Controller: allow to run with disabled monitoring
...module. Can be useful for dashboard-like installations that want
to hide farther details.
2015-01-21 09:22:25 +01:00
Thomas Gelf
1f75826415 Controller: do no longer read legacy config 2014-12-03 10:25:53 +01:00
Thomas Gelf
21a8f20e9a Controller: throws exception 2014-12-03 10:19:37 +01:00
Thomas Gelf
197fb92f66 Node: dummy config renderer 2014-12-02 11:39:09 +01:00
Thomas Gelf
5ccece80ac BpNode,BusinessProcess: render legacy config 2014-12-02 11:38:42 +01:00
Thomas Gelf
8cb372d0a1 Service,HostNode: preserve process name in links 2014-12-02 11:37:32 +01:00
Thomas Gelf
6e1d546225 Node: show node alias instead of node name 2014-12-02 11:36:55 +01:00
Thomas Gelf
2969e53502 LegacyStorage: set process name 2014-12-02 11:35:50 +01:00
Thomas Gelf
02d1b17a38 BusinessProcess: use new filters 2014-12-02 11:35:21 +01:00
Thomas Gelf
2229b07887 Controller: re-enable state fetching 2014-12-02 11:34:34 +01:00
Thomas Gelf
e0d7daaf90 BpNode: provide alias name 2014-12-01 19:32:09 +01:00
Thomas Gelf
48fb0b61bf BusinessProcess: knows it's own name 2014-12-01 14:07:30 +01:00
Thomas Gelf
2f7991e471 LegacyStorage: support new header properties 2014-12-01 13:57:57 +01:00
Thomas Gelf
a54f140fc8 LegacyStorage: "feature request" note 2014-11-30 16:06:48 +01:00
Thomas Gelf
d1739e171f bpapp: rename to businessprocess 2014-11-30 15:56:58 +01:00
Thomas Gelf
7ffb81f9e7 LegacyStorage: add missing property 2014-11-30 12:26:28 +01:00
Thomas Gelf
1bbaf99938 BusinessProcess: allow to add root node 2014-11-30 11:58:24 +01:00
Thomas Gelf
dad4b991ea BpNode: rendering 2014-11-30 11:57:47 +01:00
Thomas Gelf
057d99cab5 BpNode: add and use countChildren method 2014-11-30 11:56:45 +01:00
Thomas Gelf
2001b2445e BpNode: rename url to infoUrl 2014-11-30 11:56:14 +01:00
Thomas Gelf
91dc292241 Controller: attempt to centralize logic 2014-11-30 11:54:46 +01:00
Thomas Gelf
7562ebd181 Nodes: add render functionality 2014-11-30 11:30:59 +01:00
Thomas Gelf
31626b4728 Node, BusinessProcess: add and unify helpers
BusinessProcess will be reduced and is going to be a special root node
2014-11-30 11:28:58 +01:00
Thomas Gelf
0a1c14c01a Node: clean up destructor 2014-11-30 11:12:03 +01:00
Thomas Gelf
9b53ae4382 BusinessProcess: allow to add node from outside
This allows to load config externally
2014-11-30 11:08:04 +01:00
Thomas Gelf
a747092a58 BusinessProcess: missing nodes must exist 2014-11-30 11:06:51 +01:00
Thomas Gelf
91e9c7e321 BusinessProcess: fix state type setting on fetch 2014-11-30 11:06:03 +01:00
Thomas Gelf
dca6b1ae26 BusinessProcess: remove parsing code 2014-11-30 11:04:32 +01:00
Thomas Gelf
c19343d02f Storage\LegacyStorage: prepare to load processes 2014-11-30 10:59:27 +01:00
Thomas Gelf
7648a29c4d Storage: abstract class, initial implementation 2014-11-30 10:58:41 +01:00
Thomas Gelf
d2e693ec2a BpApp: initial import of legacy version 2014-10-20 16:26:06 +02:00