aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2018-03-29 10:06:01 -0400
committerKajur, Harish (vk250x) <vk250x@att.com>2018-03-29 10:06:05 -0400
commit2a38123ac4785278289dc029308f115286210bd4 (patch)
tree03176e9ede0b441610701f4dcef8fa708dca3a21
parent1ea271f2c395172d9f999da5748877b3cdbcd44b (diff)
Convert cloud region to esr edge
Issue-ID: AAI-973 Change-Id: Id56186db269ccee9a96a6de25dc7e695d354026e Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
-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"