diff options
author | Ezhilarasi <ezhrajam@in.ibm.com> | 2019-07-22 21:14:08 +0530 |
---|---|---|
committer | Ezhilarasi <ezhrajam@in.ibm.com> | 2019-07-22 21:14:16 +0530 |
commit | 8cfbbcef4a1ef48f3920707398d7b15953a5e91c (patch) | |
tree | 35be47fa4a75e8d106f3c74aac63230e71eec6b7 /cds-ui/server/src/datasources | |
parent | 6434d38dc045a10f17beec4d015348580ac09ddf (diff) |
Loopback search by tag service
Added search by tag service in Server for CBA
Change-Id: Ib1b3f0e9e3aaf5f5854a0cf011d90f2cd3661bf3
Issue-ID: CCSDK-1279
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
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 |