summaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_hpa_v27.json
diff options
context:
space:
mode:
authorwr148d <wr148d@att.com>2022-05-23 11:04:06 -0400
committerwr148d <wr148d@att.com>2022-05-23 11:04:06 -0400
commit4985bf39c9529adfc2126cdb87f365ca46e9c20a (patch)
tree003ad948f661265ac0691ac90041c2938097fcc7 /aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_hpa_v27.json
parent845fa74f96661aad567add23d432c62dc9e3a1b9 (diff)
[AAI] Update the schema to v27
Issue-ID: AAI-3489 Signed-off-by: wr148d <wr148d@att.com> Change-Id: Id6f692fb9d24d724a1d040f7dcba9c41278fe745
Diffstat (limited to 'aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_hpa_v27.json')
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_hpa_v27.json68
1 files changed, 68 insertions, 0 deletions
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_hpa_v27.json b/aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_hpa_v27.json
new file mode 100644
index 0000000..a2d4444
--- /dev/null
+++ b/aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_hpa_v27.json
@@ -0,0 +1,68 @@
+{
+ "rules": [
+ {
+ "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": "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": "hpa-capacity",
+ "to": "pserver",
+ "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":"HPA Capacity KV for given compute node"
+ },
+ {
+ "from": "flavor",
+ "to": "pserver",
+ "label": "org.onap.relationships.inventory.CanBeInstantiatedIn",
+ "direction": "OUT",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "NONE",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":"HPA Capacity getting the compute nodes from given flavor"
+ }
+ ]
+}