summaryrefslogtreecommitdiffstats
path: root/aai-schema-ingest/src/test/resources/edgeRules/test.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/test.json
parentd7df2dca953d55fbd808b49bff3278495a85c705 (diff)
parent1fc5ce5b48f8c270d5d044356843b8a8566bdccc (diff)
Merge "added new aai-schema-ingest library"
Diffstat (limited to 'aai-schema-ingest/src/test/resources/edgeRules/test.json')
-rw-r--r--aai-schema-ingest/src/test/resources/edgeRules/test.json48
1 files changed, 48 insertions, 0 deletions
diff --git a/aai-schema-ingest/src/test/resources/edgeRules/test.json b/aai-schema-ingest/src/test/resources/edgeRules/test.json
new file mode 100644
index 00000000..66691ebf
--- /dev/null
+++ b/aai-schema-ingest/src/test/resources/edgeRules/test.json
@@ -0,0 +1,48 @@
+{
+ "rules": [
+ {
+ "from": "foo",
+ "to": "bar",
+ "label": "eats",
+ "direction": "OUT",
+ "multiplicity": "One2Many",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "foo",
+ "to": "bar",
+ "label": "eatz",
+ "direction": "IN",
+ "multiplicity": "One2Many",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "foo",
+ "to": "baz",
+ "label": "isVeryHappyAbout",
+ "direction": "OUT",
+ "multiplicity": "One2Many",
+ "contains-other-v": "${direction}",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
+ },
+ {
+ "from": "quux",
+ "to": "foo",
+ "label": "dancesWith",
+ "direction": "IN",
+ "multiplicity": "One2Many",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
+ }
+ ]
+} \ No newline at end of file