aboutsummaryrefslogtreecommitdiffstats
path: root/aai-traversal/bundleconfig-local
diff options
context:
space:
mode:
Diffstat (limited to 'aai-traversal/bundleconfig-local')
-rw-r--r--aai-traversal/bundleconfig-local/etc/query/stored-queries.properties11
1 files changed, 10 insertions, 1 deletions
diff --git a/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties b/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
index 6a7c344..0ea6ab6 100644
--- a/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
+++ b/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
@@ -406,4 +406,13 @@ queryvnfFromModelbyRegion=builder.createEdgeTraversal(EdgeType.COUSIN, 'service-
.createEdgeTraversal(EdgeType.TREE, 'tenant', 'cloud-region')\
.getVerticesByProperty('cloud-region-id', cloudRegionId)\
).store('x')\
- .cap('x').unfold().dedup() \ No newline at end of file
+ .cap('x').unfold().dedup()
+
+serviceModels-byDistributionStatus=builder.where(\
+ builder.newInstance().createEdgeTraversal(EdgeType.TREE,'model', 'model-ver')\
+ .getVerticesByProperty('distribution-status', distributionStatus)\
+ ).store('x')\
+ .createEdgeTraversal(EdgeType.TREE,'model', 'model-ver')\
+ .getVerticesByProperty('distribution-status', distributionStatus)\
+ .store('x').cap('x').unfold().dedup()
+