summaryrefslogtreecommitdiffstats
path: root/aai-schema-gen/src/test/resources/dbedgerules/DbEdgeRules_TraversalQueryTest.json
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2018-12-13 08:37:13 -0500
committerKajur, Harish (vk250x) <vk250x@att.com>2019-01-11 16:05:35 -0500
commitd8393a8b7a51ed28e95cddac2350d6a20f31f953 (patch)
treeed0f594c75216030ab194340e710e11067d6119e /aai-schema-gen/src/test/resources/dbedgerules/DbEdgeRules_TraversalQueryTest.json
parentd64d789ad789e950c3b5e5443fb418a722b917c4 (diff)
Move the aai-schema, annotations and
schema generation code from the aai-common repo to the schema service repo as aai-schema should be in the schema service and all code related to it such as generation of the schema code should also be moved to the service Issue-ID: AAI-2002 Change-Id: Ia792d5ae8822642b1816a0e9664bb21fa511e24f Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'aai-schema-gen/src/test/resources/dbedgerules/DbEdgeRules_TraversalQueryTest.json')
-rw-r--r--aai-schema-gen/src/test/resources/dbedgerules/DbEdgeRules_TraversalQueryTest.json156
1 files changed, 156 insertions, 0 deletions
diff --git a/aai-schema-gen/src/test/resources/dbedgerules/DbEdgeRules_TraversalQueryTest.json b/aai-schema-gen/src/test/resources/dbedgerules/DbEdgeRules_TraversalQueryTest.json
new file mode 100644
index 0000000..1534548
--- /dev/null
+++ b/aai-schema-gen/src/test/resources/dbedgerules/DbEdgeRules_TraversalQueryTest.json
@@ -0,0 +1,156 @@
+{
+ "rules": [
+ {
+ "from": "generic-vnf",
+ "to": "vnfc",
+ "label": "uses",
+ "direction": "OUT",
+ "multiplicity": "ONE2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "vnfc",
+ "to": "generic-vnf",
+ "label": "re-uses",
+ "direction": "OUT",
+ "multiplicity": "ONE2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "vce",
+ "to": "vnfc",
+ "label": "vce-vnfc",
+ "direction": "OUT",
+ "multiplicity": "ONE2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "pserver",
+ "to": "vce",
+ "label": "pserver-vce",
+ "direction": "OUT",
+ "multiplicity": "ONE2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "generic-vnf",
+ "to": "pserver",
+ "label": "generic-vnf-pserver-A",
+ "direction": "OUT",
+ "multiplicity": "ONE2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "generic-vnf",
+ "to": "pserver",
+ "label": "generic-vnf-pserver-B",
+ "direction": "OUT",
+ "multiplicity": "ONE2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "complex",
+ "to": "generic-vnf",
+ "label": "complex-generic-vnf-A",
+ "direction": "OUT",
+ "multiplicity": "ONE2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "complex",
+ "to": "generic-vnf",
+ "label": "complex-generic-vnf-B",
+ "direction": "OUT",
+ "multiplicity": "ONE2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "l-interface",
+ "to": "logical-link",
+ "label": "usesLogicalLink",
+ "direction": "OUT",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "l-interface",
+ "to": "logical-link",
+ "label": "sourceLInterface",
+ "direction": "OUT",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "default": "false",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "l-interface",
+ "to": "logical-link",
+ "label": "targetLInterface",
+ "direction": "OUT",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "default": "false",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "pserver",
+ "to": "vnfc",
+ "label": "uses",
+ "direction": "OUT",
+ "multiplicity": "ONE2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "l-interface",
+ "to": "p-interface",
+ "label": "tosca.relationships.network.BindsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "!${direction}",
+ "prevent-delete": "NONE",
+ "default": "true"
+ }
+ ]
+}