summaryrefslogtreecommitdiffstats
path: root/aai-traversal/bundleconfig-local/etc/scriptdata/named-query-json/getServiceInstanceModel-1.0.json
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-06-16 17:04:44 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-06-16 17:19:03 -0400
commitc87550c395bcb26bc9e6b4716cd2a25ae97694eb (patch)
treee2ae64762dc4973a860aab9d8257f5f8ef2753b4 /aai-traversal/bundleconfig-local/etc/scriptdata/named-query-json/getServiceInstanceModel-1.0.json
parent4d0bc004f38567750fb31f407fc495c0dee28b29 (diff)
[AAI-ONAP] Add missing named queries fix model del
Add the missing thunderbolt named queries Fix model-based delete functionality Change-Id: Ib49f7a50cefff3a402eed1bfbfc716052ba91538 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-traversal/bundleconfig-local/etc/scriptdata/named-query-json/getServiceInstanceModel-1.0.json')
-rw-r--r--aai-traversal/bundleconfig-local/etc/scriptdata/named-query-json/getServiceInstanceModel-1.0.json51
1 files changed, 36 insertions, 15 deletions
diff --git a/aai-traversal/bundleconfig-local/etc/scriptdata/named-query-json/getServiceInstanceModel-1.0.json b/aai-traversal/bundleconfig-local/etc/scriptdata/named-query-json/getServiceInstanceModel-1.0.json
index aaee8d9..035dc8c 100644
--- a/aai-traversal/bundleconfig-local/etc/scriptdata/named-query-json/getServiceInstanceModel-1.0.json
+++ b/aai-traversal/bundleconfig-local/etc/scriptdata/named-query-json/getServiceInstanceModel-1.0.json
@@ -12,18 +12,25 @@
"related-lookups" : {
"related-lookup" : [ {
"source-node-type" : "vf-module",
- "source-node-property" : "persona-model-id",
+ "source-node-property" : "model-invariant-id-local",
"target-node-type" : "model",
- "target-node-property" : "model-id",
- "property-collect-list" : [ "model-name-version-id", "model-type", "model-name", "model-id", "model-version" ]
+ "target-node-property" : "model-invariant-id",
+ "property-collect-list" : [ "model-invariant-id", "model-type" ]
+ },
+ {
+ "source-node-type" : "vf-module",
+ "source-node-property" : "model-version-id-local",
+ "target-node-type" : "model-ver",
+ "target-node-property" : "model-version-id",
+ "property-collect-list" : [ "model-name", "model-version-id", "model-version" ]
} ]
},
"relationship-list" : {
"relationship" : [ {
"related-to" : "model",
"relationship-data" : [ {
- "relationship-key" : "model.model-name-version-id",
- "relationship-value" : "c00563ae-812b-4e62-8330-7c4d0f47088a"
+ "relationship-key" : "model.model-invariant-id",
+ "relationship-value" : "ef86f9c5-2165-44f3-8fc3-96018b609ea5"
} ]
} ]
}
@@ -32,18 +39,25 @@
"related-lookups" : {
"related-lookup" : [ {
"source-node-type" : "generic-vnf",
- "source-node-property" : "persona-model-id",
+ "source-node-property" : "model-invariant-id-local",
"target-node-type" : "model",
- "target-node-property" : "model-id",
- "property-collect-list" : [ "model-name-version-id", "model-type", "model-name", "model-id", "model-version" ]
+ "target-node-property" : "model-invariant-id",
+ "property-collect-list" : [ "model-invariant-id", "model-type" ]
+ },
+ {
+ "source-node-type" : "generic-vnf",
+ "source-node-property" : "model-version-id-local",
+ "target-node-type" : "model-ver",
+ "target-node-property" : "model-version-id",
+ "property-collect-list" : [ "model-name", "model-version-id", "model-version" ]
} ]
},
"relationship-list" : {
"relationship" : [ {
"related-to" : "model",
"relationship-data" : [ {
- "relationship-key" : "model.model-name-version-id",
- "relationship-value" : "93a6166f-b3d5-4f06-b4ba-aed48d009ad9"
+ "relationship-key" : "model.model-invariant-id",
+ "relationship-value" : "acc6edd8-a8d4-4b93-afaa-0994068be14c"
} ]
} ]
}
@@ -52,18 +66,25 @@
"related-lookups" : {
"related-lookup" : [ {
"source-node-type" : "service-instance",
- "source-node-property" : "persona-model-id",
+ "source-node-property" : "model-invariant-id-local",
+ "target-node-type" : "model",
+ "target-node-property" : "model-invariant-id",
+ "property-collect-list" : [ "model-invariant-id", "model-type" ]
+ },
+ {
+ "source-node-type" : "service-instance",
+ "source-node-property" : "model-invariant-id-local",
"target-node-type" : "model",
- "target-node-property" : "model-id",
- "property-collect-list" : [ "model-name-version-id", "model-type", "model-name", "model-id", "model-version" ]
+ "target-node-property" : "model-invariant-id",
+ "property-collect-list" : [ "model-name", "model-version-id", "model-version" ]
} ]
},
"relationship-list" : {
"relationship" : [ {
"related-to" : "model",
"relationship-data" : [ {
- "relationship-key" : "model.model-name-version-id",
- "relationship-value" : "46b92144-923a-4d20-b85a-3cbd847668a9"
+ "relationship-key" : "model.model-invariant-id",
+ "relationship-value" : "82194af1-3c2c-485a-8f44-420e22a9eaa4"
} ]
} ]
}