aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeong Lim <keong.lim@huawei.com>2019-02-25 10:56:33 +1100
committerKeong Lim <keong.lim@huawei.com>2019-02-25 11:03:57 +1100
commitd4f97e683cb971ceb7107beaaca628926156a4f6 (patch)
tree35f49cc373674ec65cd3ed42dc0e424692e7f599
parent86fa02e9207b20d2425d9af3980d994e86076c75 (diff)
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 <keong.lim@huawei.com>
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v16/DbEdgeRules_bbs_v16.json40
1 files changed, 40 insertions, 0 deletions
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"
+ }
+ ]
+}