summaryrefslogtreecommitdiffstats
path: root/aai-traversal/bundleconfig-local/etc
diff options
context:
space:
mode:
Diffstat (limited to 'aai-traversal/bundleconfig-local/etc')
-rw-r--r--aai-traversal/bundleconfig-local/etc/.gitignore1
-rw-r--r--aai-traversal/bundleconfig-local/etc/query/stored-queries.properties3
2 files changed, 2 insertions, 2 deletions
diff --git a/aai-traversal/bundleconfig-local/etc/.gitignore b/aai-traversal/bundleconfig-local/etc/.gitignore
new file mode 100644
index 0000000..48bd738
--- /dev/null
+++ b/aai-traversal/bundleconfig-local/etc/.gitignore
@@ -0,0 +1 @@
+/oxm/
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')\