aai-schema introduce composed-resource to build parent child relationship between
[aai/schema-service.git] / aai-schema / src / main / resources / onap / dbedgerules / v24 / DbEdgeRules_v24.json
index 62ac5a7..6826a78 100644 (file)
                        "default": "true",
                        "description": ""
                },
+                {
+                    "from": "composed-resource",
+                    "to": "service-instance",
+                    "label": "org.onap.relationships.inventory.ComposedOf",
+                    "direction": "OUT",
+                    "multiplicity": "MANY2ONE",
+                    "contains-other-v": "!${direction}",
+                    "delete-other-v": "!${direction}",
+                    "prevent-delete": "NONE",
+                    "default": "true",
+                    "description": ""
+                },
+                {
+                    "from": "service-instance",
+                    "to": "composed-resource",
+                    "label": "org.onap.relationships.inventory.BelongsTo",
+                    "direction": "OUT",
+                    "multiplicity": "ONE2ONE",
+                    "contains-other-v": "NONE",
+                    "delete-other-v": "NONE",
+                    "prevent-delete": "NONE",
+                    "default": "true",
+                    "description": ""
+                },
                {
                        "from": "service-instance",
                        "to": "instance-group",