summaryrefslogtreecommitdiffstats
path: root/OPENECOMP-DEMO/controller-template/configuration/tableTemplates/suspended.json
diff options
context:
space:
mode:
Diffstat (limited to 'OPENECOMP-DEMO/controller-template/configuration/tableTemplates/suspended.json')
-rw-r--r--OPENECOMP-DEMO/controller-template/configuration/tableTemplates/suspended.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/OPENECOMP-DEMO/controller-template/configuration/tableTemplates/suspended.json b/OPENECOMP-DEMO/controller-template/configuration/tableTemplates/suspended.json
new file mode 100644
index 0000000..f3adcc2
--- /dev/null
+++ b/OPENECOMP-DEMO/controller-template/configuration/tableTemplates/suspended.json
@@ -0,0 +1,42 @@
+{
+ "$class": "org.openecomp.ncomp.sirius.manager.tableTemplate.IteratorTableTemplate",
+ "treePath": "/",
+ "tablePath": "/reports/suspended",
+ "columns": {
+ "path": {
+ "$class": "org.openecomp.ncomp.sirius.manager.tableTemplate.TableTemplateAttributeColumn",
+ "path": "$path"
+ },
+ "class": {
+ "$class": "org.openecomp.ncomp.sirius.manager.tableTemplate.TableTemplateAttributeColumn",
+ "path": "$class"
+ },
+ "Operational State": {
+ "$class": "org.openecomp.ncomp.sirius.manager.tableTemplate.TableTemplateAttributeColumn",
+ "path": "/operationalState"
+ }
+ },
+ "iterator": {
+ "$class": "org.openecomp.ncomp.core.function.IteratorUsingFunction",
+ "paths": ["/"],
+ "recursive": "true",
+ "filter": {
+ "$class": "org.openecomp.ncomp.core.function.RuleFunction",
+ "rules": [
+ {
+ "matches": [{
+ "$class": "org.openecomp.ncomp.core.function.FunctionMatchAttribute",
+ "path": "/operationalState",
+ "match": "SUSPENDED",
+ "negation": "false"
+ }],
+ "action": {"value": "true"}
+ },
+ {
+ "matches": [],
+ "action": {"value": "false"}
+ }
+ ]
+ }
+ }
+}