aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src
diff options
context:
space:
mode:
authorEzhilarasi <ezhrajam@in.ibm.com>2019-08-05 17:40:35 +0530
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-08-09 09:59:13 -0400
commitc75c7f25e756f92782565d9ab2a697bba1fa1614 (patch)
treef14d9f29fd96089fdaf932308989cf2ee1245a1a /cds-ui/client/src
parent24f07af3434838c1d41c1dfd64bcb2a083201cd9 (diff)
Added service for Edit CBA
Added service for search result CBA Change-Id: Iba00f048abc59878e6dcda9d1de9f0fc823d9130 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src')
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.service.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.service.ts b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.service.ts
index 31a839cc3..d9e518b60 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.service.ts
+++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.service.ts
@@ -35,4 +35,8 @@ export class SearchTemplateService {
searchByTags(searchText: String): Observable<any>{
return this.api.get(BlueprintURLs.searchByTag+'/'+searchText);
}
+
+ getBlueprintZip(artifactDetails: string): Observable<any> {
+ return this.api.get(BlueprintURLs.download+artifactDetails, { responseType: 'blob' });
+ }
}