aboutsummaryrefslogtreecommitdiffstats
path: root/aai-queries/src/main/resources/schema/onap/query
diff options
context:
space:
mode:
authorLaMont, William(wl2432) <wl2432@att.com>2020-06-12 13:35:23 -0400
committerLaMont, William(wl2432) <wl2432@att.com>2020-06-18 16:09:01 -0400
commita8ce62a3bae5976982f6d1432723251a414e2878 (patch)
tree1f03bc2c46e35e45a954a3396a492dba79a8d6d2 /aai-queries/src/main/resources/schema/onap/query
parentdecb7c92edf67ba67facb7d20d0c8f66d08a46d0 (diff)
v20 support in schema-service without javafx
Issue-ID: AAI-2930 Change-Id: I68ba45069f465988e21602521e8e665cb27318d1 Signed-off-by: LaMont, William(wl2432) <wl2432@att.com>
Diffstat (limited to 'aai-queries/src/main/resources/schema/onap/query')
-rw-r--r--aai-queries/src/main/resources/schema/onap/query/stored-queries.json12
1 files changed, 2 insertions, 10 deletions
diff --git a/aai-queries/src/main/resources/schema/onap/query/stored-queries.json b/aai-queries/src/main/resources/schema/onap/query/stored-queries.json
index eb59b14..c60f264 100644
--- a/aai-queries/src/main/resources/schema/onap/query/stored-queries.json
+++ b/aai-queries/src/main/resources/schema/onap/query/stored-queries.json
@@ -421,17 +421,9 @@
{
"pserver-fromHostnameFirstToken": {
"query":{
- "required-properties":["hostnameFirstToken","sourcesOfTruth"]
+ "required-properties":["hostnameFirstToken"]
},
- "stored-query": "builder.getVerticesStartsWithProperty('hostname', hostnameFirstToken).getVerticesByProperty('source-of-truth', new ArrayList<>(Arrays.asList(sourcesOfTruth)))"
- }
- },
- {
- "pserver-fromFqdnFirstToken": {
- "query":{
- "required-properties":["fqdnFirstToken","sourcesOfTruth"]
- },
- "stored-query": "builder.getVerticesStartsWithProperty('fqdn', fqdnFirstToken).getVerticesByProperty('source-of-truth', new ArrayList<>(Arrays.asList(sourcesOfTruth)))"
+ "stored-query": "builder.getVerticesStartsWithProperty('hostname', hostnameFirstToken)"
}
},
{