summaryrefslogtreecommitdiffstats
path: root/test/config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:15:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:15:40 +0000
commitb7fd908d538ed19fe41f03c0a3f93351d8da64e9 (patch)
tree46e14f318948cd4f5d7e874f83e7dfcc5d42fc64 /test/config
parentInitial commit. (diff)
downloadicingaweb2-module-businessprocess-b7fd908d538ed19fe41f03c0a3f93351d8da64e9.tar.xz
icingaweb2-module-businessprocess-b7fd908d538ed19fe41f03c0a3f93351d8da64e9.zip
Adding upstream version 2.5.0.upstream/2.5.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/also-with-semicolons.conf8
-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
-rw-r--r--test/config/modules/businessprocess/processes/with-semicolons.conf14
8 files changed, 43 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/also-with-semicolons.conf b/test/config/modules/businessprocess/processes/also-with-semicolons.conf
new file mode 100644
index 0000000..a023aaf
--- /dev/null
+++ b/test/config/modules/businessprocess/processes/also-with-semicolons.conf
@@ -0,0 +1,8 @@
+############################################
+#
+# Title: Also With Semicolons
+#
+############################################
+
+b\;ar =
+display 1;b\;ar;Bar
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
diff --git a/test/config/modules/businessprocess/processes/with-semicolons.conf b/test/config/modules/businessprocess/processes/with-semicolons.conf
new file mode 100644
index 0000000..310d473
--- /dev/null
+++ b/test/config/modules/businessprocess/processes/with-semicolons.conf
@@ -0,0 +1,14 @@
+############################################
+#
+# Title: With Semicolons
+#
+############################################
+
+hostsAnd = host\;1;Hoststatus & host2;Hoststatus
+servicesOr = host\;1;pi;ng | host2;ping | host3;ping
+singleHost = host\;1;Hoststatus & to\;p & @also-with-semicolons:b\;ar
+to\;p = hostsAnd & servicesOr & singleHost
+display 1;to\;p;Top Node
+info_url to\;p;https://top.example.com/
+no\;alias =
+display 1;no\;alias;no;alias