diff options
author | Kajur, Harish (vk250x) <vk250x@att.com> | 2018-08-10 12:42:00 -0400 |
---|---|---|
committer | Kajur, Harish (vk250x) <vk250x@att.com> | 2018-08-12 16:48:34 -0400 |
commit | a86d6a6644d6de3f3f814cd6e25cfe2213d5dd05 (patch) | |
tree | 9935a64d7f830ebedf2742e0febef40e898cea91 /aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_esr_v13.json | |
parent | a395fa69a28a04d0a667fe458b4f10497a1d6794 (diff) |
Integrate aai-schema-ingest library into aai-core
Integrate the aai-core into using the aai-schema-ingest
library to be agnostic to the schema changes
Remove any references to aai-schema dependency in aai-core
Reorder the components so the aai-schema-ingest is first installed
Moved the edge rules to the aai-schema as they are linked to schema
Rework the generation of the aai-schema to using aai-schema-ingest library
Also remove the yaml and html folders as they get generated on the fly
So when maven pushes the aai-schema jar, the jar contains the generated
yaml, html and xsd files at runtime due to the gerrit limit of filesize
Issue-ID: AAI-1455
Change-Id: I87ecd9eb2fc96a09d3a6399955637674f6e7fb21
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_esr_v13.json')
-rw-r--r-- | aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_esr_v13.json | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_esr_v13.json b/aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_esr_v13.json new file mode 100644 index 00000000..e5ba23ba --- /dev/null +++ b/aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_esr_v13.json @@ -0,0 +1,64 @@ +{ + "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-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-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" + } + ] +} |