summaryrefslogtreecommitdiffstats
path: root/aai-core/src/main
diff options
context:
space:
mode:
authorJames Forsyth <jf2512@att.com>2018-03-29 18:27:55 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-29 18:27:55 +0000
commitebfe92d82135a9daea5efea2e329331ea63229ba (patch)
tree04937e38ce939ef3f546069eaf77600739369bde /aai-core/src/main
parentc20ee9965e16166f11a77a15b29204eebac4d08c (diff)
parent2a38123ac4785278289dc029308f115286210bd4 (diff)
Merge "Convert cloud region to esr edge"
Diffstat (limited to 'aai-core/src/main')
-rw-r--r--aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json12
-rw-r--r--aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json12
-rw-r--r--aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json12
3 files changed, 18 insertions, 18 deletions
diff --git a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json
index dc8565ee..3117bc0e 100644
--- a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json
+++ b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json
@@ -49,13 +49,13 @@
"default": "true"
},
{
- "from": "cloud-region",
- "to": "esr-system-info",
- "label": "has",
+ "from": "esr-system-info",
+ "to": "cloud-region",
+ "label": "org.onap.relationships.inventory.BelongsTo",
"direction": "OUT",
- "multiplicity": "One2Many",
- "contains-other-v": "${direction}",
- "delete-other-v": "${direction}",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "!${direction}",
"SVC-INFRA": "NONE",
"prevent-delete": "NONE",
"default": "true"
diff --git a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json
index 89c68068..7bb8ad88 100644
--- a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json
+++ b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json
@@ -49,13 +49,13 @@
"default": "true"
},
{
- "from": "cloud-region",
- "to": "esr-system-info",
- "label": "has",
+ "from": "esr-system-info",
+ "to": "cloud-region",
+ "label": "org.onap.relationships.inventory.BelongsTo",
"direction": "OUT",
- "multiplicity": "One2Many",
- "contains-other-v": "${direction}",
- "delete-other-v": "${direction}",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "!${direction}",
"SVC-INFRA": "NONE",
"prevent-delete": "NONE",
"default": "true"
diff --git a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json
index 89c68068..7bb8ad88 100644
--- a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json
+++ b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json
@@ -49,13 +49,13 @@
"default": "true"
},
{
- "from": "cloud-region",
- "to": "esr-system-info",
- "label": "has",
+ "from": "esr-system-info",
+ "to": "cloud-region",
+ "label": "org.onap.relationships.inventory.BelongsTo",
"direction": "OUT",
- "multiplicity": "One2Many",
- "contains-other-v": "${direction}",
- "delete-other-v": "${direction}",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "!${direction}",
"SVC-INFRA": "NONE",
"prevent-delete": "NONE",
"default": "true"