summaryrefslogtreecommitdiffstats
path: root/aai-schema-ingest/src/test/resources/edgeRules/defaultEdgesTest.json
diff options
context:
space:
mode:
authorVenkata Harish Kajur <vk250x@att.com>2018-03-15 14:07:43 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-15 14:07:43 +0000
commit0cb1b4183290e9325eddaedb88b9f66d5cd01f4a (patch)
tree5e0f753913867cba577c5dd749f4b3bc092ee215 /aai-schema-ingest/src/test/resources/edgeRules/defaultEdgesTest.json
parentd7df2dca953d55fbd808b49bff3278495a85c705 (diff)
parent1fc5ce5b48f8c270d5d044356843b8a8566bdccc (diff)
Merge "added new aai-schema-ingest library"
Diffstat (limited to 'aai-schema-ingest/src/test/resources/edgeRules/defaultEdgesTest.json')
-rw-r--r--aai-schema-ingest/src/test/resources/edgeRules/defaultEdgesTest.json52
1 files changed, 52 insertions, 0 deletions
diff --git a/aai-schema-ingest/src/test/resources/edgeRules/defaultEdgesTest.json b/aai-schema-ingest/src/test/resources/edgeRules/defaultEdgesTest.json
new file mode 100644
index 00000000..2f4baed6
--- /dev/null
+++ b/aai-schema-ingest/src/test/resources/edgeRules/defaultEdgesTest.json
@@ -0,0 +1,52 @@
+{
+ "rules": [
+ {
+ "from": "apple",
+ "to": "orange",
+ "label": "sitsBy",
+ "direction": "OUT",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "default": "false",
+ "description":"for testing pairs with no default"
+ },
+ {
+ "from": "apple",
+ "to": "orange",
+ "label": "makesSaladWith",
+ "direction": "OUT",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "default": "false",
+ "description":"for testing pairs with no default"
+ },
+ {
+ "from": "seed",
+ "to": "plant",
+ "label": "grows",
+ "direction": "OUT",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "NONE",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":""
+ },
+ {
+ "from": "seed",
+ "to": "plant",
+ "label": "becomes",
+ "direction": "OUT",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "OUT",
+ "delete-other-v": "NONE",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":""
+ }
+ ]
+} \ No newline at end of file