summaryrefslogtreecommitdiffstats
path: root/aai-traversal/bundleconfig-local/etc
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-06-08 00:11:22 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-06-08 00:11:49 -0400
commit3539b3d39458b0b12fec158290a90cc5060f64eb (patch)
treeb811cab0f25dcf151cc6036c0721df963ed259d6 /aai-traversal/bundleconfig-local/etc
parentef8823de263dd7c599ea7d8c5c6f0a56252b02ed (diff)
[AAI-ONAP] Keep the latest code in sync
Change-Id: Iebcff01ef3b79d04d14837d842fec0a1d6148703 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
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')\