diff options
author | Brinda Santh Muthuramalingam <brindasanth@in.ibm.com> | 2019-07-23 19:26:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-07-23 19:26:30 +0000 |
commit | 01ae066e2345d14bfaf028b2bab2871b3b2c4484 (patch) | |
tree | c4baa71f6f75e00a1f698dd8926943eca785d18b /cds-ui/server/src/datasources | |
parent | 4e7621ef49d87745df4eb05a4c7279eb2a1356ad (diff) | |
parent | 8cfbbcef4a1ef48f3920707398d7b15953a5e91c (diff) |
Merge "Loopback search by tag service"
Diffstat (limited to 'cds-ui/server/src/datasources')
-rw-r--r-- | cds-ui/server/src/datasources/blueprint.datasource-template.ts | 19 |
1 files changed, 18 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 35edf33e3..1188d9bcf 100644 --- a/cds-ui/server/src/datasources/blueprint.datasource-template.ts +++ b/cds-ui/server/src/datasources/blueprint.datasource-template.ts @@ -21,5 +21,22 @@ export default { "getAllblueprints": [] } - }] + }, + { + "template": { + "method": "GET", + "url": controllerApiConfig.http.url + "/blueprint-model/search/{tags}", + "headers": { + "accepts": "application/json", + "content-type": "application/json", + "authorization": controllerApiConfig.http.authToken + }, + "responsePath": "$.*" + }, + "functions": { + "getByTags": ["tags"] + + } + }, +] };
\ No newline at end of file |