summaryrefslogtreecommitdiffstats
path: root/aai-core/src
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2018-03-08 10:35:17 -0800
committerDileep Ranganathan <dileep.ranganathan@intel.com>2018-03-09 05:21:58 -0800
commit056d0d23b9c89321abf5da10a596f2ddd396616a (patch)
treeec41892827245bde2926f90bd105c7764ca164e4 /aai-core/src
parent8d980b759d7e878530c6ebf404fe89e99ed0aab4 (diff)
Fix dependentOn for hpaCapability node
Added cloud-region along with flavor in the dependentOn field. Modified hpa-feature-attribute to hpa-feature-attributes as it is an arraylist. Change-Id: I7b0c3ee6e08b3bea97a1ebaeeaa8bcaeb8bb2b00 Issue-ID: AAI-742 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'aai-core/src')
-rw-r--r--aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json13
-rw-r--r--aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json13
2 files changed, 26 insertions, 0 deletions
diff --git a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json
index ed34d44e..8ed9c93b 100644
--- a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json
+++ b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json
@@ -308,6 +308,19 @@
"description":""
},
{
+ "from": "hpa-feature-attributes",
+ "to": "hpa-capability",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "!${direction}",
+ "SVC-INFRA": "!${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":""
+ },
+ {
"from": "group-assignment",
"to": "cloud-region",
"label": "org.onap.relationships.inventory.BelongsTo",
diff --git a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json
index ed34d44e..8ed9c93b 100644
--- a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json
+++ b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json
@@ -308,6 +308,19 @@
"description":""
},
{
+ "from": "hpa-feature-attributes",
+ "to": "hpa-capability",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "!${direction}",
+ "SVC-INFRA": "!${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":""
+ },
+ {
"from": "group-assignment",
"to": "cloud-region",
"label": "org.onap.relationships.inventory.BelongsTo",