Migrate Spike code to ONAP
[aai/spike.git] / src / test / resources / rules / DbEdgeRules_test_two_v11.json
diff --git a/src/test/resources/rules/DbEdgeRules_test_two_v11.json b/src/test/resources/rules/DbEdgeRules_test_two_v11.json
new file mode 100644 (file)
index 0000000..f38bd2c
--- /dev/null
@@ -0,0 +1,26 @@
+{
+       "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}"
+               }
+       ]
+}