AAI-2507 re-fix EdgeRules in v15 and v16 CCVPN 22/90922/1
authorKeong Lim <keong.lim@huawei.com>
Fri, 5 Jul 2019 03:51:23 +0000 (13:51 +1000)
committerKeong Lim <keong.lim@huawei.com>
Fri, 5 Jul 2019 04:00:10 +0000 (14:00 +1000)
re-fix AAI-1671 and AAI-1923 in v15 and v16 EdgeRules

Change-Id: Ib7982024bd6d0922f75a44c9407b7bd3252a0acc
Issue-ID: AAI-2507
Signed-off-by: Keong Lim <keong.lim@huawei.com>
aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_ccvpn_v15.json
aai-schema/src/main/resources/onap/dbedgerules/v16/DbEdgeRules_ccvpn_v16.json

index 68f2986..90c6af3 100644 (file)
@@ -80,7 +80,7 @@
                "multiplicity": "ONE2MANY",
                "contains-other-v": "${direction}",
                "delete-other-v": "${direction}",
-               "prevent-delete": "!${direction}",
+               "prevent-delete": "NONE",
                "default": "true",
                "description":"For CCVPN Usecase"
        },
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "!${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "to": "service-instance",
                "label": "org.onap.relationships.inventory.PartOf",
                "direction": "OUT",
-               "multiplicity": "ONE2MANY",
+               "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
                "delete-other-v": "NONE",
                "prevent-delete": "NONE",
                "multiplicity": "ONE2MANY",
                "contains-other-v": "${direction}",
                "delete-other-v": "${direction}",
-               "prevent-delete": "!${direction}",
+               "prevent-delete": "NONE",
                "default": "true",
                "description":"For CCVPN Usecase"
        },
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
index 485bd66..0de9bee 100644 (file)
@@ -80,7 +80,7 @@
                "multiplicity": "ONE2MANY",
                "contains-other-v": "${direction}",
                "delete-other-v": "${direction}",
-               "prevent-delete": "!${direction}",
+               "prevent-delete": "NONE",
                "default": "true",
                "description":"For CCVPN Usecase"
        },
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "!${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "to": "service-instance",
                "label": "org.onap.relationships.inventory.PartOf",
                "direction": "OUT",
-               "multiplicity": "ONE2MANY",
+               "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
                "delete-other-v": "NONE",
                "prevent-delete": "NONE",
                "multiplicity": "ONE2MANY",
                "contains-other-v": "${direction}",
                "delete-other-v": "${direction}",
-               "prevent-delete": "!${direction}",
+               "prevent-delete": "NONE",
                "default": "true",
                "description":"For CCVPN Usecase"
        },
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"
                "direction": "OUT",
                "multiplicity": "MANY2MANY",
                "contains-other-v": "NONE",
-               "delete-other-v": "${direction}",
+               "delete-other-v": "NONE",
                "prevent-delete": "!${direction}",
                "default": "true",
                "description":"For CCVPN Usecase"