From 353536d925f5024030b67a9d8d577e456b35f58b Mon Sep 17 00:00:00 2001 From: "LaMont, William(wl2432)" Date: Wed, 29 Apr 2020 13:15:07 -0400 Subject: schema changes for v20 Issue-ID: AAI-2894 Change-Id: I7c346ef67769549b204eb19953f7a30056af4de7 Signed-off-by: LaMont, William(wl2432) --- .../onap/dbedgerules/v20/DbEdgeRules_hpa_v20.json | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_hpa_v20.json (limited to 'aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_hpa_v20.json') diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_hpa_v20.json b/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_hpa_v20.json new file mode 100644 index 0000000..a2d4444 --- /dev/null +++ b/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_hpa_v20.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" + } + ] +} -- cgit 1.2.3-korg