aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app/feature-modules/blueprint/select-template
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/select-template')
-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' });
+ }
}