X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=aai-schema%2Fsrc%2Fmain%2Fresources%2Fonap%2Fdbedgerules%2Fv25%2FDbEdgeRules_esr_v25.json;fp=aai-schema%2Fsrc%2Fmain%2Fresources%2Fonap%2Fdbedgerules%2Fv25%2FDbEdgeRules_esr_v25.json;h=88d556069f0c68180006856d9ec897f4029db3d5;hb=a0b94973563b2cb802d79a28e0a2ceff602fd258;hp=0000000000000000000000000000000000000000;hpb=ae098ace8d6c5b9497f680eb912babc749fb3bb0;p=aai%2Fschema-service.git diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v25/DbEdgeRules_esr_v25.json b/aai-schema/src/main/resources/onap/dbedgerules/v25/DbEdgeRules_esr_v25.json new file mode 100644 index 0000000..88d5560 --- /dev/null +++ b/aai-schema/src/main/resources/onap/dbedgerules/v25/DbEdgeRules_esr_v25.json @@ -0,0 +1,102 @@ +{ + "rules": [ + { + "from": "esr-system-info", + "to": "esr-ems", + "label": "org.onap.relationships.inventory.BelongsTo", + "direction": "OUT", + "multiplicity": "MANY2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "!${direction}", + "SVC-INFRA": "NONE", + "prevent-delete": "NONE", + "default": "true" + }, + { + "from": "esr-system-info", + "to": "esr-vnfm", + "label": "org.onap.relationships.inventory.BelongsTo", + "direction": "OUT", + "multiplicity": "ONE2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "!${direction}", + "SVC-INFRA": "NONE", + "prevent-delete": "NONE", + "default": "true" + }, + { + "from": "esr-system-info", + "to": "esr-nfvo", + "label": "org.onap.relationships.inventory.BelongsTo", + "direction": "OUT", + "multiplicity": "ONE2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "!${direction}", + "SVC-INFRA": "NONE", + "prevent-delete": "NONE", + "default": "true" + }, + { + "from": "esr-system-info", + "to": "esr-thirdparty-sdnc", + "label": "org.onap.relationships.inventory.BelongsTo", + "direction": "OUT", + "multiplicity": "ONE2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "!${direction}", + "SVC-INFRA": "NONE", + "prevent-delete": "NONE", + "default": "true" + }, + { + "from": "esr-thirdparty-sdnc", + "to": "pnf", + "label": "org.onap.relationships.inventory.AppliesTo", + "direction": "OUT", + "multiplicity": "ONE2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "SVC-INFRA": "NONE", + "prevent-delete": "NONE", + "default": "true" + }, + { + "from": "esr-thirdparty-sdnc", + "to": "network-resource", + "label": "org.onap.relationships.inventory.BelongsTo", + "direction": "OUT", + "multiplicity": "ONE2MANY", + "contains-other-v": "NONE", + "delete-other-v": "${direction}", + "SVC-INFRA": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"For MDONS Usecase" + }, + { + "from": "esr-system-info", + "to": "cloud-region", + "label": "org.onap.relationships.inventory.BelongsTo", + "direction": "OUT", + "multiplicity": "MANY2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "!${direction}", + "SVC-INFRA": "NONE", + "prevent-delete": "NONE", + "default": "true" + }, + { + "from": "generic-vnf", + "to": "esr-vnfm", + "label": "tosca.relationships.DependsOn", + "direction": "OUT", + "multiplicity": "MANY2ONE", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"" + } + ] +} +