summaryrefslogtreecommitdiffstats
path: root/aai-core/src
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2018-01-30 07:18:31 -0800
committerDileep Ranganathan <dileep.ranganathan@intel.com>2018-03-08 05:35:20 -0800
commit8d980b759d7e878530c6ebf404fe89e99ed0aab4 (patch)
treeca4ecc3d004974b27ab3bdb2b7f50864829ff13d /aai-core/src
parent95c5189f3b8aa708feaaa78999342220321fad00 (diff)
Hardware Platform Awareness (HPA) - Schema
Expanding the blob of string to a more generic representation Added new nodes for HPA enablement Change-Id: I3f861934856efbe7d8b08857dadf3c3e9a4baf96 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.json26
-rw-r--r--aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json26
2 files changed, 52 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 4b33f0f2..ed34d44e 100644
--- a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json
+++ b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v12.json
@@ -282,6 +282,32 @@
"description":""
},
{
+ "from": "hpa-capability",
+ "to": "flavor",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "NONE",
+ "SVC-INFRA": "NONE",
+ "prevent-delete": "!${direction}",
+ "default": "true",
+ "description":""
+ },
+ {
+ "from": "hpa-capability",
+ "to": "cloud-region",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "NONE",
+ "SVC-INFRA": "NONE",
+ "prevent-delete": "!${direction}",
+ "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 4b33f0f2..ed34d44e 100644
--- a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json
+++ b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v13.json
@@ -282,6 +282,32 @@
"description":""
},
{
+ "from": "hpa-capability",
+ "to": "flavor",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "NONE",
+ "SVC-INFRA": "NONE",
+ "prevent-delete": "!${direction}",
+ "default": "true",
+ "description":""
+ },
+ {
+ "from": "hpa-capability",
+ "to": "cloud-region",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "NONE",
+ "SVC-INFRA": "NONE",
+ "prevent-delete": "!${direction}",
+ "default": "true",
+ "description":""
+ },
+ {
"from": "group-assignment",
"to": "cloud-region",
"label": "org.onap.relationships.inventory.BelongsTo",