Gizmo to load multiple Db Edge Rules files
[aai/gizmo.git] / src / test / resources / rules / DbEdgeRules_test_one_v11.json
diff --git a/src/test/resources/rules/DbEdgeRules_test_one_v11.json b/src/test/resources/rules/DbEdgeRules_test_one_v11.json
new file mode 100644 (file)
index 0000000..61eed72
--- /dev/null
@@ -0,0 +1,26 @@
+{
+       "rules": [
+               {
+                       "from": "U",
+                       "to": "V",
+                       "label": "org.onap.relationships.inventory.groupsResourcesIn",
+                       "direction": "IN",
+                       "multiplicity": "Many2Many",
+                       "contains-other-v": "NONE",
+                       "delete-other-v": "NONE",
+                       "SVC-INFRA": "NONE",
+                       "prevent-delete": "!${direction}"
+               },
+               {
+                       "from": "W",
+                       "to": "X",
+                       "label": "org.onap.relationships.inventory.groupsResourcesIn",
+                       "direction": "OUT",
+                       "multiplicity": "Many2Many",
+                       "contains-other-v": "NONE",
+                       "delete-other-v": "NONE",
+                       "SVC-INFRA": "NONE",
+                       "prevent-delete": "!${direction}"
+               }
+       ]
+}