From: Keong Lim Date: Sun, 24 Feb 2019 23:56:33 +0000 (+1100) Subject: AAI-2154 Add EdgeRules to support BBS use case X-Git-Tag: 1.0.1~8 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fschema-service.git;a=commitdiff_plain;h=d4f97e683cb971ceb7107beaaca628926156a4f6 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 --- 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" + } + ] +}