aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.service.ts
diff options
context:
space:
mode:
authorshaaban Altanany <shaaban.eltanany.ext@orange.com>2020-02-27 16:35:57 +0200
committershaaban Altanany <shaaban.eltanany.ext@orange.com>2020-02-27 17:33:43 +0200
commitb2b847587d7c06db5737a06820d1809b9aeb73e1 (patch)
treec927c31a70e9232554dd8bc4d5bc681a0a92b52d /cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.service.ts
parent71f6d98f1003dc9acc212e4132f03bb21c0b73c8 (diff)
Adding view and edit feature
Issue-ID: CCSDK-2123 Signed-off-by: shaaban Altanany <shaaban.eltanany.ext@orange.com> Change-Id: I6fa4469a982a3c6f76002909813480c9ac4d0e65
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.ts10
1 files changed, 6 insertions, 4 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 566339db8..239dd6339 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
@@ -13,13 +13,15 @@ export class ConfigurationDashboardService {
}
- getBluePrintModel(id: string): Observable<BluePrintDetailModel> {
+ private getBluePrintModel(id: string): Observable<BluePrintDetailModel> {
return this.api.getOne(BlueprintURLs.getOneBlueprint + '/' + id);
}
+ getPagedPackages(id: string) {
+ return this.getBluePrintModel(id);
+ }
-
- public downloadResource(id: string) {
- return this.api.getCustomized(id, {responseType: 'blob'});
+ public downloadResource(path: string) {
+ return this.api.getCustomized(BlueprintURLs.download + path, {responseType: 'blob'});
}
}