From d4f97e683cb971ceb7107beaaca628926156a4f6 Mon Sep 17 00:00:00 2001 From: Keong Lim Date: Mon, 25 Feb 2019 10:56:33 +1100 Subject: [PATCH] AAI-2154 Add EdgeRules to support BBS use case generic-vnf to metadatum pnf to metadatum cp to metadatum Containing service-instance will contain metadata as sub-object Issue-ID: AAI-2154 Change-Id: Ie6f4520c3ca945128f9aaef01a07a4479782e276 Signed-off-by: Keong Lim --- .../onap/dbedgerules/v16/DbEdgeRules_bbs_v16.json | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 aai-schema/src/main/resources/onap/dbedgerules/v16/DbEdgeRules_bbs_v16.json diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v16/DbEdgeRules_bbs_v16.json b/aai-schema/src/main/resources/onap/dbedgerules/v16/DbEdgeRules_bbs_v16.json new file mode 100644 index 0000000..d9e3a3a --- /dev/null +++ b/aai-schema/src/main/resources/onap/dbedgerules/v16/DbEdgeRules_bbs_v16.json @@ -0,0 +1,40 @@ +{ + "rules": [ + { + "from": "metadatum", + "to": "generic-vnf", + "label": "org.onap.relationships.inventory.AppliesTo", + "direction": "OUT", + "multiplicity": "MANY2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"AAI-2154 For BBS Usecase" + }, + { + "from": "metadatum", + "to": "pnf", + "label": "org.onap.relationships.inventory.AppliesTo", + "direction": "OUT", + "multiplicity": "MANY2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"AAI-2154 For BBS Usecase" + }, + { + "from": "metadatum", + "to": "cp", + "label": "org.onap.relationships.inventory.AppliesTo", + "direction": "OUT", + "multiplicity": "MANY2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"AAI-2154 For BBS Usecase" + } + ] +} -- 2.16.6