Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/classes/import/validators/C42XmlValidator.php')
-rw-r--r--frontends/php/include/classes/import/validators/C42XmlValidator.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/frontends/php/include/classes/import/validators/C42XmlValidator.php b/frontends/php/include/classes/import/validators/C42XmlValidator.php
index 4bb9edd8cf4..b253f5cf144 100644
--- a/frontends/php/include/classes/import/validators/C42XmlValidator.php
+++ b/frontends/php/include/classes/import/validators/C42XmlValidator.php
@@ -439,6 +439,14 @@ class C42XmlValidator {
'lld_macro' => ['type' => XML_STRING | XML_REQUIRED],
'path' => ['type' => XML_STRING | XML_REQUIRED]
]]
+ ]],
+ 'preprocessing' => ['type' => XML_INDEXED_ARRAY | XML_REQUIRED, 'prefix' => 'step', 'rules' => [
+ 'step' => ['type' => XML_ARRAY, 'rules' => [
+ 'type' => ['type' => XML_STRING | XML_REQUIRED],
+ 'params' => ['type' => XML_STRING | XML_REQUIRED],
+ 'error_handler' => ['type' => XML_STRING | XML_REQUIRED],
+ 'error_handler_params' => ['type' => XML_STRING | XML_REQUIRED]
+ ]]
]]
]]
]],
@@ -942,6 +950,14 @@ class C42XmlValidator {
'lld_macro' => ['type' => XML_STRING | XML_REQUIRED],
'path' => ['type' => XML_STRING | XML_REQUIRED]
]]
+ ]],
+ 'preprocessing' => ['type' => XML_INDEXED_ARRAY | XML_REQUIRED, 'prefix' => 'step', 'rules' => [
+ 'step' => ['type' => XML_ARRAY, 'rules' => [
+ 'type' => ['type' => XML_STRING | XML_REQUIRED],
+ 'params' => ['type' => XML_STRING | XML_REQUIRED],
+ 'error_handler' => ['type' => XML_STRING | XML_REQUIRED],
+ 'error_handler_params' => ['type' => XML_STRING | XML_REQUIRED]
+ ]]
]]
]]
]],