Commit graph

432 commits

Author SHA1 Message Date
Thomas Gelf
e385a8cab2 php-diff: replace vendor lib 2017-01-03 11:03:30 +01:00
Thomas Gelf
5443bd5b4e LegacyStorage: new list helper method 2016-12-26 11:43:32 +01:00
Thomas Gelf
79ea88fe08 MetaData: fix typo 2016-12-23 12:47:43 +01:00
Thomas Gelf
40165353d8 ProcessChanges: fit changed NodeRemove api 2016-12-23 11:16:37 +01:00
Thomas Gelf
1fc6634b75 Renderer: do not preserve action-related params 2016-12-23 11:14:00 +01:00
Thomas Gelf
d5721b2a99 ImportedNode: use method, not property 2016-12-22 14:19:00 +01:00
Thomas Gelf
af8fe7c03d ImportedNode: provide Url 2016-12-22 14:18:13 +01:00
Thomas Gelf
ac7fa5654f TileRenderer: improve behavior, link targets 2016-12-17 19:18:15 +01:00
Thomas Gelf
c856a6fc26 BpNode: add comment to better reflect what's...
...going on. We are unknown when state calculation fails, not for empty
processes - related git commit message was misleading
2016-12-16 19:47:36 +01:00
Thomas Gelf
0214c596e6 TileRenderer: forgot to move addNode 2016-12-16 19:43:00 +01:00
Thomas Gelf
76a526d8dd BpNode: let empty processes be unknown 2016-12-16 19:41:22 +01:00
Thomas Gelf
6f33705173 TileRenderer, Node: change rendering again...
...use a container div and provide multiple links now, this gives more
flexibility
2016-12-16 19:39:48 +01:00
Thomas Gelf
549c07b457 Controller: remove outdated permission code 2016-12-16 19:37:39 +01:00
Thomas Gelf
191edb794c Renderer, Breadcrumb: let them know from each...
...other. Not nice, but helps for now
2016-12-16 19:36:24 +01:00
Thomas Gelf
d8a8e488a7 ActionBar: move fullscreen action more to the right 2016-12-16 19:35:10 +01:00
Thomas Gelf
9e30be79c6 NodeRemoveAction: rework to fit current reality 2016-12-16 19:32:36 +01:00
Thomas Gelf
0d696216e2 ActionBar: do not forget permissions 2016-12-16 19:31:22 +01:00
Thomas Gelf
2effa02d7f QuickBaseForm: we are a Renderable object 2016-12-16 19:26:46 +01:00
Thomas Gelf
dccf411a70 BreadCrumb: do not preserve delete action 2016-12-16 19:21:29 +01:00
Thomas Gelf
72e7aa798c Rendering: improve tile sizes, fullscreen mode 2016-12-09 16:59:25 +01:00
Thomas Gelf
b73eed20b0 ProcessController: change tab rendering and more 2016-12-09 16:10:32 +01:00
Thomas Gelf
74d614be37 Tabs: add renderable wrapper 2016-12-09 16:08:25 +01:00
Thomas Gelf
8219de1491 BusinessProcess: more cleanup 2016-12-09 14:56:18 +01:00
Thomas Gelf
945b14fd60 BusinessProcess: drop locking code 2016-12-09 14:54:31 +01:00
Thomas Gelf
8ef7bdbfb4 Renderer: always preserve config property 2016-12-09 14:50:19 +01:00
Thomas Gelf
f3817b7d84 HtmlTag: add new helper class 2016-12-09 14:39:55 +01:00
Thomas Gelf
588542e304 Metadata: simpler auth handling 2016-12-09 14:17:25 +01:00
Thomas Gelf
0aeb3183f4 Node: remove toLegacyConfigString 2016-12-09 14:11:56 +01:00
Thomas Gelf
d24d0237f4 LegacyStorageTest: add a test targeting metadata 2016-12-09 14:03:49 +01:00
Thomas Gelf
36e624c448 Dasboard: introduce a new config overview page 2016-12-09 14:02:02 +01:00
Thomas Gelf
18dc398dca ActionBar: take over logic from controller 2016-12-09 13:57:07 +01:00
Thomas Gelf
f4bd0b05bd TreeRenderer: do not ask process for lock 2016-12-09 13:46:58 +01:00
Thomas Gelf
7ddc54f828 Metadata: move "header" logic to a dedicated class 2016-12-09 09:58:00 +01:00
Thomas Gelf
f41e4c34c2 Controller: moved to Web 2016-12-09 09:53:36 +01:00
Thomas Gelf
0380e46552 Form: upgrade to latest forms from Director 2016-12-08 10:11:46 +01:00
Thomas Gelf
1980c42ca6 BusinessProcess: do not use deprecated method...
...from the monitoring module
2016-12-07 23:17:01 +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
a2ea908480 Controller: just some comments 2016-12-07 23:15:12 +01:00
Thomas Gelf
654f905cf8 ProcessChanges: adjust method signature 2016-12-07 23:11:15 +01:00
Thomas Gelf
a7e9d815eb Node: try to avoid side-effects when...
...dealing with state mappings
2016-12-07 22:10:35 +01:00
Thomas Gelf
a784b384f4 NodeCreateAction: allow to add root nodes 2016-12-07 16:02:06 +01:00
Thomas Gelf
03605cac52 TreeRenderer: open nodes in left container 2016-11-30 14:53:40 +01:00
Thomas Gelf
064e6934fb TreeRenderer: fix simulation link 2016-11-30 14:35:13 +01:00
Thomas Gelf
8825b0e343 ProcessController: restructured 2016-11-29 16:58:03 +01:00
Thomas Gelf
c11a181701 Process: add and use new form 2016-11-29 15:32:56 +01:00
Thomas Gelf
991d9f9b05 TileRenderer: incorporate AddNewTile 2016-11-29 15:20:13 +01:00
Thomas Gelf
f820dcfec0 NodeAddChildrenAction: new modification action 2016-11-29 15:06:38 +01:00
Thomas Gelf
9cadf78c00 TreeRenderer: do not cast to string early 2016-11-29 15:04:11 +01:00
Thomas Gelf
857913172b BpNode: use modified loop detection everywhere 2016-11-29 11:22:44 +01:00
Thomas Gelf
b954a67c79 TreeRenderer: remove duplicate actions 2016-11-29 11:21:10 +01:00
Thomas Gelf
ca16f22a62 BusinessProcess/Nodes: some cleanup 2016-11-29 11:20:54 +01:00
Thomas Gelf
cbf8db3073 BpNode: free loop detection from side-effects 2016-11-29 11:11:43 +01:00
Thomas Gelf
e821ccb7a0 TreeRenderer: improve layout, add badges 2016-11-29 01:52:44 +01:00
Thomas Gelf
3a9cefce98 Html: __toString everywhere, add prependContent() 2016-11-29 01:47:05 +01:00
Thomas Gelf
aba771f3aa js, Controller: allow to toggle fullscreen mode 2016-11-29 00:50:20 +01:00
Thomas Gelf
60b66e89b0 TreeRenderer: new renderer, LOTS of cleanup 2016-11-29 00:34:28 +01:00
Thomas Gelf
c56c66d193 BaseElement: add createElement helper 2016-11-28 23:50:29 +01:00
Thomas Gelf
78f02ad403 Html: move translate one level deeper 2016-11-28 23:50:13 +01:00
Thomas Gelf
162c19c023 Content, Controls: add new convenience classes 2016-11-28 22:20:01 +01:00
Thomas Gelf
d3eff54603 Controller: take over view tasks, move to parent 2016-11-28 22:15:20 +01:00
Thomas Gelf
e1d0996cef NodeTile: accept any renderer 2016-11-28 22:12:56 +01:00
Thomas Gelf
e311d086cc BpNode: add id helper 2016-11-28 17:30:27 +01:00
Thomas Gelf
c90b0f0eb1 Attributes: fix PHP 5.3 compatibilty issue 2016-11-28 17:01:01 +01:00
Thomas Gelf
657a103c96 Url: compatibility hack web2 v2.3.4 VS 2.4.0 2016-11-28 16:41:49 +01:00
Thomas Gelf
2bf4b8df19 Url: fix compatibility with older Icinga Web 2 2016-11-28 16:17:31 +01:00
Thomas Gelf
28f6026322 AddNewTile: render an icon 2016-11-28 16:03:12 +01:00
Thomas Gelf
d716b97c25 ProcessController: split logic, render breadcrumb 2016-11-28 16:02:21 +01:00
Thomas Gelf
b109a46843 Renderer: remove some deps, now that we cleaned up 2016-11-28 08:23:53 +01:00
Thomas Gelf
ee99549341 Breadcrumb: cleanup and externalize 2016-11-28 02:26:12 +01:00
Thomas Gelf
4f5969d4b7 AddNew: fix link 2016-11-28 02:10:19 +01:00
Thomas Gelf
9ec932adcd Link: remove superfluous variable 2016-11-28 02:09:45 +01:00
Thomas Gelf
d92198fa10 Img and Icon introduced, used in NodeTile 2016-11-28 02:09:11 +01:00
Thomas Gelf
d17b0efaa7 Html, Renderer: phpcs 2016-11-28 00:24:36 +01:00
Thomas Gelf
dbeb05aac9 Container: remove traces of old class 2016-11-28 00:22:31 +01:00
Thomas Gelf
69a1e454d2 TileRenderer: some cleanup 2016-11-28 00:21:05 +01:00
Thomas Gelf
01a982a0bc MonitoredNode: add new simpler url/link helpers 2016-11-28 00:18:53 +01:00
Thomas Gelf
a986859fdc ActionBar: this is a component and not generic 2016-11-28 00:16:47 +01:00
Thomas Gelf
fbd6aef886 Businessprocess/Renderer: prepare new renderers 2016-11-28 00:12:07 +01:00
Thomas Gelf
ea7e79248c Html: a bunch of new classes, some changes 2016-11-27 23:54:38 +01:00
Thomas Gelf
34ef3f26af Html: introduce a new namespace 2016-11-27 23:54:03 +01:00
Thomas Gelf
a00fdab37f Cleanup, Url handling improvements, some helpers 2016-11-26 21:18:18 +01:00
Thomas Gelf
1f61d8b728 NestingError: add missing exception class 2016-11-26 21:14:38 +01:00
Thomas Gelf
8c05ed7277 Test and implement loop detection
fixes #9786
2016-11-24 10:57:30 +01:00
Thomas Gelf
2fc48f2124 js: Handle collapsed state of multiple trees
fixes #8569
2016-11-24 09:39:44 +01:00
Thomas Gelf
b8df6a8823 BpNode: rename child_nodes to childNode...
...and move method related to children from base Node
2016-11-24 02:40:01 +01:00
Thomas Gelf
cdbd28b25b Link: play nice with those different Url objects 2016-11-24 00:49:09 +01:00
Thomas Gelf
91087b73ab Host/ServiceNode: fix tests using Link component
That way it's no longer directly based on Icinga\Web\Url and runs through.
Also fixed wrong expectations in HostNodeTest
2016-11-24 00:35:22 +01:00
Thomas Gelf
e6c292333b FakeRequest, Url-Wrapper: allow tests involving...
...Url::fromPath

fixes #13301
2016-11-24 00:20:59 +01:00
Thomas Gelf
12a9459eaf LegacyStorageTest: improve readability...
...and move config "loading" to BaseTestCase
2016-11-23 23:03:48 +01:00
Thomas Gelf
8b9716c9b2 Operators: add new tests and a related helper
fixes #13299
2016-11-23 22:41:10 +01:00
Thomas Gelf
4506181f0c BusinessProcess,Node: new helper methods
Mostly (but not only) useful for tests
2016-11-23 20:51:39 +01:00
Thomas Gelf
5189c79a27 LegacyStorage: split header handling 2016-11-23 15:17:25 +01:00
Thomas Gelf
afcf42e871 phpcs: some more 2016-11-23 15:17:25 +01:00
Thomas Gelf
2b98629f3e Modification: move modification handling to...
...a dedicated namespace
2016-11-23 15:17:25 +01:00
Thomas Gelf
9acdba0dc4 various: fix some phpcs PSR2 complaints 2016-11-23 15:17:25 +01:00
Thomas Gelf
a2fd587989 LegacyStorage: reorganize some methods 2016-11-23 15:17:25 +01:00
Thomas Gelf
9e17ff21ba Test: add base test framework 2016-11-23 15:17:25 +01:00
Thomas Gelf
95d8696705 Node: alllow to get any state name, fix typo 2016-11-23 15:17:25 +01:00
Thomas Gelf
db8f0c5475 ProcessChanges,NodeAction(s): cleanup, docs 2016-11-23 15:17:25 +01:00
Thomas Gelf
da3f3d6a63 BusinessProcess: fix (unused) method usesHardStates 2016-11-23 15:17:25 +01:00
Thomas Gelf
924a2fd321 BusinessProcess: fallback for missing host 2016-11-23 15:17:25 +01:00
Thomas Gelf
0251bc5edb Host/ServiceNode: introduce common base class 2016-11-23 15:17:25 +01:00
Thomas Gelf
0b6cf208f0 Node: fix hasMissingChildren() 2016-11-23 15:17:25 +01:00
Thomas Gelf
e93d626d09 Controller, css: add action bar 2016-11-23 15:17:25 +01:00
Thomas Gelf
8151769592 Web\Component: introduce a couple of web components 2016-11-23 15:17:25 +01:00
Thomas Gelf
6da0c7c722 ShipConfigFiles: stop using legacy hook 2016-11-23 15:17:25 +01:00
Thomas Gelf
ac82187f5b BpNode: fix error for missing children 2016-11-23 15:17:25 +01:00
Thomas Gelf
93fff13209 (Bp)Node: add get/hasMissingChildren method 2016-11-23 15:17:25 +01:00
Thomas Gelf
f25f141820 LegacyStorage: be more conservative on pointers 2016-11-23 15:17:25 +01:00
Thomas Gelf
311fd54552 Controller: 404 on missing process or perms 2016-11-23 15:17:25 +01:00
Thomas Gelf
3332a06792 LegacyStorage: add hasProcess, respecting perms 2016-11-23 15:17:25 +01:00
Thomas Gelf
3efd53b97a LegacyStorage: add missing fclose 2016-11-23 15:17:25 +01:00
Thomas Gelf
91fca69566 LegacyStorage: permission check for process lists 2016-11-23 15:17:25 +01:00
Thomas Gelf
d057567247 Controller: provide $bp if loaded 2016-11-23 15:17:25 +01:00
Thomas Gelf
98241dd9cd QuickForm: a couple of small changes 2016-11-23 15:17:25 +01:00
Thomas Gelf
7fcef19c6e permissions: provide a few 2016-11-23 15:17:25 +01:00
Thomas Gelf
1e45dabe02 BpNode: getProblemTree and related methods 2015-11-19 14:49:52 +01:00
Thomas Gelf
63ad013c5a Node: rename hasProblems to isProblem 2015-11-19 14:49:45 +01:00
Thomas Gelf
0f3882e8b2 Node::hasProblems(): new method 2015-11-19 14:49:35 +01:00
Thomas Gelf
fe5181052f BusinessProcess: new method listBpNodes() 2015-11-10 21:11:20 +01:00
Thomas Gelf
a940c160ff LegacyStorage: sort process configs by name 2015-11-02 17:25:51 +01:00
Thomas Gelf
8ce6bf9401 Controller: use local form loader
fixes #10443
2015-10-22 19:19:52 +02:00
Thomas Gelf
3a704a0c52 ShipConfigFiles: director hook sample 2015-10-16 22:53:04 +02:00
Thomas Gelf
20d3eb1e1e ImportedNode: gracefully handle missing files 2015-10-16 22:48:57 +02:00
Thomas Gelf
ae4cf396dc node/simulate: link to overlay 2015-10-07 17:10:26 +02:00
Thomas Gelf
960446a16e Controller: add loadForm helper method 2015-10-06 22:35:44 +02:00
Thomas Gelf
bf5b3424be BpNode: provide also host state types in summary 2015-10-06 22:35:00 +02:00
Thomas Gelf
0c633491d4 QuickForm: initial import, makes things easier 2015-10-06 22:33:05 +02:00
Thomas Gelf
dccee863ef ServiceNode: formatting 2015-10-06 22:29:06 +02:00
Thomas Gelf
1088f877c1 BpNode: fix parent signature 2015-10-06 09:17:16 +02:00
Thomas Gelf
944ec1c880 Node: remove duplicate method 2015-10-06 09:03:10 +02:00
Thomas Gelf
675b74ada9 Node: provide generic helpers 2015-10-06 08:59:22 +02:00
Thomas Gelf
1220fc4ae5 BusinessProcess: simulation overrides "missing" 2015-10-06 08:57:39 +02:00
Thomas Gelf
2b91ec2309 BusinessProcess: remove obsolete sprintf 2015-10-05 18:48:43 +02:00
Thomas Gelf
03ef17328c BusinessProcess: do not store modification date
File mtime should suffice, and this interferes with "idempotent" cm
tools
2015-10-05 17:51:05 +02:00
Thomas Gelf
4a790976af Introduce the NOT operator (!)
refs #10315
2015-10-05 16:50:33 +02:00
Thomas Gelf
3009a28d3d BusinessProcess, BpNode: improve legacy storage
Before this fix depending on tree structure processes used multiple
times as a sub-node could have been stored multiple times, resulting
in warnings at render time.
2015-10-05 16:40:08 +02:00
Thomas Gelf
f5facc02d1 HostNode: override state maps 2015-10-05 16:38:45 +02:00
Thomas Gelf
8a3a04b5f9 LegacyStorage: allow weird operator combinations
This allows for "a = b & c & d &" (Neteye writes such config) and for
future extensions like "a = ! b"
2015-10-05 16:37:10 +02:00
Thomas Gelf
e80f7765c8 Node: use new helpers, allow to override maps 2015-10-05 15:58:53 +02:00
Thomas Gelf
93cede7a32 Node: use available icinga state constants 2015-10-05 13:35:09 +02:00
Thomas Gelf
8de13f06b2 BpNode: clean up, remove legacy constructor comments 2015-10-05 12:39:37 +02:00
Thomas Gelf
472e31e55e Node: move logic to new getStateClassNames() method 2015-10-05 12:38:12 +02:00
Thomas Gelf
64bab3f8da Node: remove implementation-specific logic 2015-10-05 12:34:47 +02:00
Thomas Gelf
a97073334c BpNode: move state-related logic to base Node 2015-10-05 08:42:59 +02:00
Thomas Gelf
e242742deb BpNode: dedicated methods for state transformation 2015-10-02 21:41:20 +02:00
Thomas Gelf
951d4d0ab0 BpNode: calculate latest state change 2015-10-02 08:32:54 +02:00
Thomas Gelf
bf69d5298a Node: show timeSince for all node types 2015-10-02 08:32:16 +02:00
Thomas Gelf
96d8949f52 ServiceNode: show timeSince 2015-10-01 23:10:30 +02:00
Thomas Gelf
cdbbabd9ea LegacyStorage: fix exception message 2015-10-01 22:38:43 +02:00
Dirk Goetz
73fe7cd2da Fix info_url by setting return properly
fixes #9518
2015-09-11 14:05:08 +02:00
Thomas Gelf
9491e95c02 BusinessProcess: split host/service row iteration
fixes #9410
2015-09-11 09:31:58 +02:00
Thomas Gelf
6dd7b30173 BusinessProcess: fix variable for unbound node 2015-03-24 10:44:57 +01:00
Thomas Gelf
f5e3bc4c01 BusinessProcess: fix "bp nodes can be stored twice" 2015-03-16 13:37:08 +01:00
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