summaryrefslogtreecommitdiffstats
path: root/test/config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:42:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:42:35 +0000
commit18db984057b83ca4962c89b6b79bdce6a660b58f (patch)
tree2c9f23c086b4dfcb3e7eb2ec69210206b0782d3c /test/config
parentInitial commit. (diff)
downloadicingaweb2-module-businessprocess-18db984057b83ca4962c89b6b79bdce6a660b58f.tar.xz
icingaweb2-module-businessprocess-18db984057b83ca4962c89b6b79bdce6a660b58f.zip
Adding upstream version 2.4.0.upstream/2.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/config')
-rw-r--r--test/config/authentication.ini0
-rw-r--r--test/config/config.ini0
-rw-r--r--test/config/modules/businessprocess/processes/broken_wrong-operator.conf1
-rw-r--r--test/config/modules/businessprocess/processes/combined.conf1
-rw-r--r--test/config/modules/businessprocess/processes/simple_with-header.conf13
-rw-r--r--test/config/modules/businessprocess/processes/simple_without-header.conf6
6 files changed, 21 insertions, 0 deletions
diff --git a/test/config/authentication.ini b/test/config/authentication.ini
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/config/authentication.ini
diff --git a/test/config/config.ini b/test/config/config.ini
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/config/config.ini
diff --git a/test/config/modules/businessprocess/processes/broken_wrong-operator.conf b/test/config/modules/businessprocess/processes/broken_wrong-operator.conf
new file mode 100644
index 0000000..9a58f23
--- /dev/null
+++ b/test/config/modules/businessprocess/processes/broken_wrong-operator.conf
@@ -0,0 +1 @@
+hostsAnd = host1;Hoststatus + host2;Hoststatus \ No newline at end of file
diff --git a/test/config/modules/businessprocess/processes/combined.conf b/test/config/modules/businessprocess/processes/combined.conf
new file mode 100644
index 0000000..3b0fc5d
--- /dev/null
+++ b/test/config/modules/businessprocess/processes/combined.conf
@@ -0,0 +1 @@
+all = @simple_with-header:top & @simple_without-header:minTwo & @simple_with-header:minTwo \ No newline at end of file
diff --git a/test/config/modules/businessprocess/processes/simple_with-header.conf b/test/config/modules/businessprocess/processes/simple_with-header.conf
new file mode 100644
index 0000000..802fbb2
--- /dev/null
+++ b/test/config/modules/businessprocess/processes/simple_with-header.conf
@@ -0,0 +1,13 @@
+############################################
+#
+# Title: Simple with header
+#
+############################################
+
+hostsAnd = host1;Hoststatus & host2;Hoststatus
+servicesOr = host1;ping | host2;ping | host3;ping
+singleHost = host1;Hoststatus
+minTwo = 2 of: hostsAnd + servicesOr + singleHost
+top = minTwo & hostsAnd & servicesOr
+display 1;top;Top Node
+info_url top;https://top.example.com/
diff --git a/test/config/modules/businessprocess/processes/simple_without-header.conf b/test/config/modules/businessprocess/processes/simple_without-header.conf
new file mode 100644
index 0000000..7d4efc6
--- /dev/null
+++ b/test/config/modules/businessprocess/processes/simple_without-header.conf
@@ -0,0 +1,6 @@
+hostsAnd = host1;Hoststatus & host2;Hoststatus
+servicesOr = host1;ping | host2;ping | host3;ping
+singleHost = host1;Hoststatus
+minTwo = 2 of: hostsAnd + servicesOr + singleHost
+top = minTwo & hostsAnd & servicesOr
+display 1;top;Top Node \ No newline at end of file