diff options
author | shaaban Altanany <shaaban.eltanany.ext@orange.com> | 2020-02-28 11:27:44 +0200 |
---|---|---|
committer | shaaban Altanany <shaaban.eltanany.ext@orange.com> | 2020-02-28 11:27:44 +0200 |
commit | 0dda490e7e26860a33170829ce561dd1d2979ecb (patch) | |
tree | 78e7da020effcf8354005447188b750597660663 /cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.service.ts | |
parent | b2b847587d7c06db5737a06820d1809b9aeb73e1 (diff) |
add basic download for current viewed package
Issue-ID: CCSDK-2126
Signed-off-by: shaaban Altanany <shaaban.eltanany.ext@orange.com>
Change-Id: I8690018634b55734d3b9dcf66794c44c4d266c92
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.ts | 4 |
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'}); + } } |