summaryrefslogtreecommitdiffstats
path: root/aai-schema-gen/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'aai-schema-gen/src/test/resources')
-rw-r--r--aai-schema-gen/src/test/resources/dbedgerules/DbEdgeBusinessRules_test.json74
-rw-r--r--aai-schema-gen/src/test/resources/dbedgerules/EdgeDescriptionRules_test.json39
2 files changed, 37 insertions, 76 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
index c25f1fb..c69b741 100644
--- a/aai-schema-gen/src/test/resources/dbedgerules/DbEdgeBusinessRules_test.json
+++ b/aai-schema-gen/src/test/resources/dbedgerules/DbEdgeBusinessRules_test.json
@@ -1,39 +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":""
- } ]
+ "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":""
+ } ]
}
diff --git a/aai-schema-gen/src/test/resources/dbedgerules/EdgeDescriptionRules_test.json b/aai-schema-gen/src/test/resources/dbedgerules/EdgeDescriptionRules_test.json
deleted file mode 100644
index c25f1fb..0000000
--- a/aai-schema-gen/src/test/resources/dbedgerules/EdgeDescriptionRules_test.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "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":""
- } ]
-}