From c75c7f25e756f92782565d9ab2a697bba1fa1614 Mon Sep 17 00:00:00 2001 From: Ezhilarasi Date: Mon, 5 Aug 2019 17:40:35 +0530 Subject: Added service for Edit CBA Added service for search result CBA Change-Id: Iba00f048abc59878e6dcda9d1de9f0fc823d9130 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi --- .../select-template/search-template/search-template.service.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cds-ui/client/src/app/feature-modules/blueprint/select-template') 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{ return this.api.get(BlueprintURLs.searchByTag+'/'+searchText); } + + getBlueprintZip(artifactDetails: string): Observable { + return this.api.get(BlueprintURLs.download+artifactDetails, { responseType: 'blob' }); + } } -- cgit 1.2.3-korg