fix v20 schema changes
[aai/schema-service.git] / aai-schema / src / main / resources / onap / dbedgerules / v20 / DbEdgeRules_v20.json
index 5b94725..7a292f4 100644 (file)
                        "default": "true",
                        "description":""
                },
+               {
+                       "from": "service-instance",
+                       "to": "p-interface",
+                       "label": "org.onap.relationships.inventory.ComposedOf",
+                       "direction": "OUT",
+                       "multiplicity": "ONE2MANY",
+                       "contains-other-v": "NONE",
+                       "delete-other-v": "NONE",
+                       "prevent-delete": "NONE",
+                       "default": "true",
+                       "description":"For MDONS Use case"
+               },
                {
                        "from": "subnet",
                        "to": "l3-network",
                        "prevent-delete": "NONE",
                        "default": "true",
                        "description":""                
-               },{
+               },
+               {
+                       "from": "communication-service-profile",
+                       "to": "service-instance",
+                       "label": "org.onap.relationships.inventory.BelongsTo",
+                       "direction": "OUT",
+                       "multiplicity": "ONE2ONE",
+                       "contains-other-v": "!${direction}",
+                       "delete-other-v": "NONE",
+                       "SVC-INFRA": "NONE",
+                       "prevent-delete": "NONE",
+                       "default": "true",
+                       "description":""
+               },
+               {
+                       "from": "service-profile",
+                       "to": "service-instance",
+                       "label": "org.onap.relationships.inventory.BelongsTo",
+                       "direction": "OUT",
+                       "multiplicity": "ONE2ONE",
+                       "contains-other-v": "!${direction}",
+                       "delete-other-v": "NONE",
+                       "SVC-INFRA": "NONE",
+                       "prevent-delete": "NONE",
+                       "default": "true",
+                       "description":""
+               },
+               {
+                       "from": "slice-profile",
+                       "to": "service-instance",
+                       "label": "org.onap.relationships.inventory.BelongsTo",
+                       "direction": "OUT",
+                       "multiplicity": "MANY2ONE",
+                       "contains-other-v": "!${direction}",
+                       "delete-other-v": "NONE",
+                       "SVC-INFRA": "NONE",
+                       "prevent-delete": "NONE",
+                       "default": "true",
+                       "description":""
+        },{
                        "from": "configuration",
                        "to": "lag-interface",
                        "label": "org.onap.relationships.inventory.AppliesTo",
                
        ]
 }
+