summaryrefslogtreecommitdiffstats
path: root/aai-schema-ingest/src/test/resources/edgeRules/test2.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/test2.json
parentd7df2dca953d55fbd808b49bff3278495a85c705 (diff)
parent1fc5ce5b48f8c270d5d044356843b8a8566bdccc (diff)
Merge "added new aai-schema-ingest library"
Diffstat (limited to 'aai-schema-ingest/src/test/resources/edgeRules/test2.json')
-rw-r--r--aai-schema-ingest/src/test/resources/edgeRules/test2.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/aai-schema-ingest/src/test/resources/edgeRules/test2.json b/aai-schema-ingest/src/test/resources/edgeRules/test2.json
new file mode 100644
index 00000000..7d94e41c
--- /dev/null
+++ b/aai-schema-ingest/src/test/resources/edgeRules/test2.json
@@ -0,0 +1,27 @@
+{
+ "rules": [
+ {
+ "from": "foo",
+ "to": "dog",
+ "label": "pets",
+ "direction": "OUT",
+ "multiplicity": "One2Many",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "dog",
+ "to": "puppy",
+ "label": "caresFor",
+ "direction": "OUT",
+ "multiplicity": "One2Many",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "description": "Hard to describe",
+ "default": "true"
+ }
+ ]
+} \ No newline at end of file