diff options
Diffstat (limited to 'aai-queries/src/main/resources')
-rw-r--r-- | aai-queries/src/main/resources/schema/onap/query/stored-queries.json | 12 |
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)" } }, { |