aboutsummaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/main/resources
diff options
context:
space:
mode:
authorJimmy Forsyth <jf2512@att.com>2018-05-10 14:32:53 -0400
committerJimmy Forsyth <jf2512@att.com>2018-05-10 14:33:02 -0400
commit959abbe9329712a310ba33b93b703507e406f265 (patch)
tree57550e3df51f3b72db9c85c66f7745d19732f04f /aai-traversal/src/main/resources
parentbe6125589658d37ca5f4dcadb7619238aa4a9b7c (diff)
Replace named-query with amsterdam version
Issue-ID: AAI-1135 Change-Id: I7373c5f474b3722f586f4e4c2974097bde8de7ef Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Diffstat (limited to 'aai-traversal/src/main/resources')
-rw-r--r--aai-traversal/src/main/resources/etc/scriptdata/named-query-json/closed-loop-named-query-1.0.json263
1 files changed, 186 insertions, 77 deletions
diff --git a/aai-traversal/src/main/resources/etc/scriptdata/named-query-json/closed-loop-named-query-1.0.json b/aai-traversal/src/main/resources/etc/scriptdata/named-query-json/closed-loop-named-query-1.0.json
index 2ff66f8..e7a4314 100644
--- a/aai-traversal/src/main/resources/etc/scriptdata/named-query-json/closed-loop-named-query-1.0.json
+++ b/aai-traversal/src/main/resources/etc/scriptdata/named-query-json/closed-loop-named-query-1.0.json
@@ -1,78 +1,187 @@
{
- "named-query-uuid" : "4ff56a54-9e3f-46b7-a337-07a1d3c6b469",
- "named-query-name" : "closed-loop-named-query",
- "named-query-version" : "1.0",
- "description" : "Named Query - For closed loop flow",
- "named-query-elements" : {
- "named-query-element" : [ {
- "named-query-elements" : {
- "named-query-element" : [ {
- "named-query-elements" : {
- "named-query-element" : [ {
- "relationship-list" : {
- "relationship" : [ {
- "related-to" : "model",
- "relationship-data" : [ {
- "relationship-key" : "model.model-invariant-id",
- "relationship-value" : "425b2158-e51d-4509-9945-dad4556474a3"
- } ]
- } ]
- }
- } ]
- },
- "relationship-list" : {
- "relationship" : [ {
- "related-to" : "model",
- "relationship-data" : [ {
- "relationship-key" : "model.model-invariant-id",
- "relationship-value" : "97c26c99-6870-44c1-8a07-1d900d3f4ce6"
- } ]
- } ]
- }
- }, {
- "named-query-elements" : {
- "named-query-element" : [ {
- "relationship-list" : {
- "relationship" : [ {
- "related-to" : "model",
- "relationship-data" : [ {
- "relationship-key" : "model.model-invariant-id",
- "relationship-value" : "ef86f9c5-2165-44f3-8fc3-96018b609ea5"
- } ]
- } ]
- }
- }, {
- "relationship-list" : {
- "relationship" : [ {
- "related-to" : "model",
- "relationship-data" : [ {
- "relationship-key" : "model.model-invariant-id",
- "relationship-value" : "82194af1-3c2c-485a-8f44-420e22a9eaa4"
- } ]
- } ]
- }
- } ]
- },
- "relationship-list" : {
- "relationship" : [ {
- "related-to" : "model",
- "relationship-data" : [ {
- "relationship-key" : "model.model-invariant-id",
- "relationship-value" : "acc6edd8-a8d4-4b93-afaa-0994068be14c"
- } ]
- } ]
- }
- } ]
- },
- "relationship-list" : {
- "relationship" : [ {
- "related-to" : "model",
- "relationship-data" : [ {
- "relationship-key" : "model.model-invariant-id",
- "relationship-value" : "ff69d4e0-a8e8-4108-bdb0-dd63217e63c7"
- } ]
- } ]
- }
- } ]
- }
-} \ No newline at end of file
+ "description": "Named Query - For closed loop flow",
+ "named-query-elements": {
+ "named-query-element": [
+ {
+ "named-query-elements": {
+ "named-query-element": [
+ {
+ "named-query-elements": {
+ "named-query-element": [
+ {
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "425b2158-e51d-4509-9945-dad4556474a3"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "97c26c99-6870-44c1-8a07-1d900d3f4ce6"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "named-query-elements": {
+ "named-query-element": [
+ {
+ "related-lookups": {
+ "related-lookup": [
+ {
+ "property-collect-list": [
+ "model-invariant-id",
+ "model-type"
+ ],
+ "source-node-property": "model-invariant-id-local",
+ "source-node-type": "vf-module",
+ "target-node-property": "model-invariant-id",
+ "target-node-type": "model"
+ },
+ {
+ "property-collect-list": [
+ "model-name",
+ "model-version-id",
+ "model-version"
+ ],
+ "source-node-property": "model-version-id-local",
+ "source-node-type": "vf-module",
+ "target-node-property": "model-version-id",
+ "target-node-type": "model-ver"
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "ef86f9c5-2165-44f3-8fc3-96018b609ea5"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "related-lookups": {
+ "related-lookup": [
+ {
+ "property-collect-list": [
+ "model-invariant-id",
+ "model-type"
+ ],
+ "source-node-property": "model-invariant-id-local",
+ "source-node-type": "service-instance",
+ "target-node-property": "model-invariant-id",
+ "target-node-type": "model"
+ },
+ {
+ "property-collect-list": [
+ "model-name",
+ "model-version-id",
+ "model-version"
+ ],
+ "source-node-property": "model-version-id-local",
+ "source-node-type": "service-instance",
+ "target-node-property": "model-version-id",
+ "target-node-type": "model-ver"
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "82194af1-3c2c-485a-8f44-420e22a9eaa4"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "related-lookups": {
+ "related-lookup": [
+ {
+ "property-collect-list": [
+ "model-invariant-id",
+ "model-type"
+ ],
+ "source-node-property": "model-invariant-id-local",
+ "source-node-type": "generic-vnf",
+ "target-node-property": "model-invariant-id",
+ "target-node-type": "model"
+ },
+ {
+ "property-collect-list": [
+ "model-name",
+ "model-version-id",
+ "model-version"
+ ],
+ "source-node-property": "model-version-id-local",
+ "source-node-type": "generic-vnf",
+ "target-node-property": "model-version-id",
+ "target-node-type": "model-ver"
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "acc6edd8-a8d4-4b93-afaa-0994068be14c"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "ff69d4e0-a8e8-4108-bdb0-dd63217e63c7"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "named-query-name": "closed-loop-named-query",
+ "named-query-uuid": "4ff56a54-9e3f-46b7-a337-07a1d3c6b469",
+ "named-query-version": "1.0"
+}