AAI-2154 Add EdgeRules to support BBS use case 77/79077/1
authorKeong Lim <keong.lim@huawei.com>
Sun, 24 Feb 2019 23:56:33 +0000 (10:56 +1100)
committerKeong Lim <keong.lim@huawei.com>
Mon, 25 Feb 2019 00:03:57 +0000 (11:03 +1100)
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 <keong.lim@huawei.com>
aai-schema/src/main/resources/onap/dbedgerules/v16/DbEdgeRules_bbs_v16.json [new file with mode: 0644]

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 (file)
index 0000000..d9e3a3a
--- /dev/null
@@ -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"
+       }
+  ]
+}