diff options
Diffstat (limited to 'cds-ui/client')
-rw-r--r-- | cds-ui/client/pom.xml | 4 | ||||
-rw-r--r-- | cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.service.ts | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cds-ui/client/pom.xml b/cds-ui/client/pom.xml index ed0087d7d..52ade489e 100644 --- a/cds-ui/client/pom.xml +++ b/cds-ui/client/pom.xml @@ -24,12 +24,12 @@ limitations under the License. <parent> <groupId>org.onap.ccsdk.cds</groupId> <artifactId>ui</artifactId> - <version>0.5.0-SNAPSHOT</version> + <version>0.5.2-SNAPSHOT</version> <relativePath>..</relativePath> </parent> <artifactId>ui-client</artifactId> - <version>0.5.0-SNAPSHOT</version> + <version>0.5.2-SNAPSHOT</version> <packaging>pom</packaging> <name>cds-ui-client</name> 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' }); + } } |