Upgrade version of aai-common
[aai/gizmo.git] / src / test / resources / rules / v11 / DbEdgeRules_test_two_v11.json
diff --git a/src/test/resources/rules/v11/DbEdgeRules_test_two_v11.json b/src/test/resources/rules/v11/DbEdgeRules_test_two_v11.json
new file mode 100644 (file)
index 0000000..4ff4eb2
--- /dev/null
@@ -0,0 +1,38 @@
+{
+       "rules": [
+               {
+                       "from": "U",
+                       "to": "V",
+                       "label": "org.onap.relationships.inventory.groupsResourcesIn",
+                       "direction": "BOTH",
+                       "multiplicity": "Many2Many",
+                       "contains-other-v": "NONE",
+                       "delete-other-v": "NONE",
+                       "SVC-INFRA": "NONE",
+                       "prevent-delete": "!${direction}"
+               },
+               {
+                       "from": "Y",
+                       "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}"
+               },
+      {
+                       "from": "allotted-resource",
+                       "to": "instance-group",
+                       "label": "org.onap.relationships.inventory.TestEdge",
+                       "direction": "OUT",
+                       "multiplicity": "MANY2MANY",
+                       "contains-other-v": "NONE",
+                       "delete-other-v": "NONE",
+                       "SVC-INFRA": "NONE",
+                       "prevent-delete": "NONE",
+                       "default": "true"
+               }
+       ]
+}