summaryrefslogtreecommitdiffstats
path: root/aai-schema-ingest/src/test/resources/edgeRules/test_v14.json
diff options
context:
space:
mode:
authorJames Forsyth <jf2512@att.com>2018-12-06 19:13:02 +0000
committerGerrit Code Review <gerrit@onap.org>2018-12-06 19:13:02 +0000
commit88bb14a7c2a1638133182b6030a01eead186bb66 (patch)
tree77ba2150a0af8b2b0ae0b0635ab675cc4139ec44 /aai-schema-ingest/src/test/resources/edgeRules/test_v14.json
parentddf953affc477a77f9b68583f8ba0d6d5705882a (diff)
parent5948f878fa0ee735e81f1cf648d5d3bdb35048cd (diff)
Merge "Update schema ingest library call schema service"
Diffstat (limited to 'aai-schema-ingest/src/test/resources/edgeRules/test_v14.json')
-rw-r--r--aai-schema-ingest/src/test/resources/edgeRules/test_v14.json71
1 files changed, 71 insertions, 0 deletions
diff --git a/aai-schema-ingest/src/test/resources/edgeRules/test_v14.json b/aai-schema-ingest/src/test/resources/edgeRules/test_v14.json
new file mode 100644
index 00000000..483af52d
--- /dev/null
+++ b/aai-schema-ingest/src/test/resources/edgeRules/test_v14.json
@@ -0,0 +1,71 @@
+{
+ "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"
+ },
+ {
+ "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"
+ }
+ ]
+}