summaryrefslogtreecommitdiffstats
path: root/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
diff options
context:
space:
mode:
Diffstat (limited to 'aai-traversal/bundleconfig-local/etc/query/stored-queries.properties')
-rw-r--r--aai-traversal/bundleconfig-local/etc/query/stored-queries.properties3
1 files changed, 1 insertions, 2 deletions
diff --git a/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties b/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
index 31154a1..af76574 100644
--- a/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
+++ b/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
@@ -10,8 +10,7 @@ service-sites=has('global-customer-id', customerId).out('subscribesTo')\
__.in('owns').in('has').has('aai-node-type', 'cloud-region')\
).store('x')\
.cap('x').unfold().dedup()
-edge-tag=repeat(__.union(bothE().has(tag, true), __.bothE().has(tag + '-REV', true)).bothV().dedup().store('x'))\
- .until(__.union(bothE().has(tag, true), __.bothE().has(tag + '-REV', true)).count().is(0)).cap('x').unfold()
+edge-tag=emit().repeat(__.union(__.outE().has(tag, true).inV(), __.inE().has(tag + "-REV", true).outV()).dedup())
ucpe-topology=store('x').union(\
__.out('hasPinterface').has('aai-node-type', 'p-interface')\
.where(__.outE('usesPhysicalLink')).as('item').store('x')\