summaryrefslogtreecommitdiffstats
path: root/aai-schema-gen/src/test/resources/dbedgerules/DbEdgeBusinessRules_test.json
diff options
context:
space:
mode:
Diffstat (limited to 'aai-schema-gen/src/test/resources/dbedgerules/DbEdgeBusinessRules_test.json')
-rw-r--r--aai-schema-gen/src/test/resources/dbedgerules/DbEdgeBusinessRules_test.json39
1 files changed, 39 insertions, 0 deletions
diff --git a/aai-schema-gen/src/test/resources/dbedgerules/DbEdgeBusinessRules_test.json b/aai-schema-gen/src/test/resources/dbedgerules/DbEdgeBusinessRules_test.json
new file mode 100644
index 0000000..c25f1fb
--- /dev/null
+++ b/aai-schema-gen/src/test/resources/dbedgerules/DbEdgeBusinessRules_test.json
@@ -0,0 +1,39 @@
+{
+ "rules": [
+ {
+ "from": "service-subscription",
+ "to": "customer",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "!${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":""
+ },
+ {
+ "from": "service-instance",
+ "to": "service-subscription",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "!${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":""
+ },
+ {
+ "from": "service-subscription",
+ "to": "tenant",
+ "label": "org.onap.relationships.inventory.Uses",
+ "direction": "OUT",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "NONE",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":""
+ } ]
+}