aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.service.ts
diff options
context:
space:
mode:
authorKAPIL SINGAL <ks220y@att.com>2020-02-28 13:39:08 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-28 13:39:08 +0000
commit6567f41b63f14a2c81577af7a89b86c0306c61f6 (patch)
treec59189f48703e6e3093ae1c69f93f898a8e08aaf /cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.service.ts
parentd20383f0b00a363b0193e162ac297dd731088ca2 (diff)
parent0dda490e7e26860a33170829ce561dd1d2979ecb (diff)
Merge "add basic download for current viewed package"
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.service.ts')
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.service.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.service.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.service.ts
index 239dd6339..164d76601 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.service.ts
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.service.ts
@@ -16,6 +16,7 @@ export class ConfigurationDashboardService {
private getBluePrintModel(id: string): Observable<BluePrintDetailModel> {
return this.api.getOne(BlueprintURLs.getOneBlueprint + '/' + id);
}
+
getPagedPackages(id: string) {
return this.getBluePrintModel(id);
}
@@ -24,4 +25,7 @@ export class ConfigurationDashboardService {
return this.api.getCustomized(BlueprintURLs.download + path, {responseType: 'blob'});
}
+ deployPost(body: any | null): Observable<any> {
+ return this.api.post(BlueprintURLs.deploy, body, {responseType: 'text'});
+ }
}