diff options
author | Brinda Santh Muthuramalingam <brindasanth@in.ibm.com> | 2019-11-07 14:12:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-07 14:12:47 +0000 |
commit | 1e1ac926da3bc75e55a435a4b71b53642c0ccca8 (patch) | |
tree | 4d292fa9864263eee83b45033730597066ca9714 /cds-ui/server/src/datasources | |
parent | 88e3ef2d396bc91051b182d11a2d490bf37abf08 (diff) | |
parent | 7cfca9c44b6465d7eb88d64e3fa38c7f1a09c096 (diff) |
Merge "add search by meta data in cds-ui server and blueprint processor Issue-ID: CCSDK-1770"
Diffstat (limited to 'cds-ui/server/src/datasources')
-rw-r--r-- | cds-ui/server/src/datasources/blueprint.datasource-template.ts | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/cds-ui/server/src/datasources/blueprint.datasource-template.ts b/cds-ui/server/src/datasources/blueprint.datasource-template.ts index 85e0aa342..b0aaf01eb 100644 --- a/cds-ui/server/src/datasources/blueprint.datasource-template.ts +++ b/cds-ui/server/src/datasources/blueprint.datasource-template.ts @@ -38,5 +38,21 @@ export default { } }, + { + "template": { + "method": "GET", + "url": processorApiConfig.http.url + "/blueprint-model/meta-data/{keyword}", + "headers": { + "accepts": "application/json", + "content-type": "application/json", + "authorization": processorApiConfig.http.authToken + }, + "responsePath": "$.*" + }, + "functions": { + "getBlueprintsByKeyword": ["keyword"] + + } + }, ] -};
\ No newline at end of file +}; |