diff options
author | shaaban Altanany <shaaban.eltanany.ext@orange.com> | 2020-03-03 22:33:41 +0200 |
---|---|---|
committer | Shaaban Ebrahim <shaaban.eltanany.ext@orange.com> | 2020-03-04 07:56:31 +0000 |
commit | 2201f57353c27995b08892f311429b400538c492 (patch) | |
tree | 85d9a17611aeb0e8bdd9480c39980f70f9fc58fe /cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation | |
parent | 2fce8bf2891f3ce472f4b06d09d0e987fbc44149 (diff) |
add integrating with designer from viewing package
Issue-ID: CCSDK-2123
Signed-off-by: shaaban Altanany <shaaban.eltanany.ext@orange.com>
Change-Id: I52e512424d1366bdc2504995823c8a214a691ac0
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation')
2 files changed, 11 insertions, 2 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/CBAPacakge.model.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/CBAPacakge.model.ts index 45a00ff06..a37339d90 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/CBAPacakge.model.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/CBAPacakge.model.ts @@ -1,4 +1,6 @@ -import { MetaDataTabModel } from './metadata/MetaDataTab.model'; +import {MetaDataTabModel} from './metadata/MetaDataTab.model'; + + export class Definition { @@ -50,6 +52,7 @@ export class Base { return this.files.get(key); } } + export class Scripts { public files: Map<string, string>; @@ -83,6 +86,7 @@ export class Template { export class Mapping extends Base { } + export class CBAPackage { public metaData: MetaDataTabModel; diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/definitions/VlbDefinition.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/definitions/VlbDefinition.ts index 8e2ff475e..630baa1ac 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/definitions/VlbDefinition.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/definitions/VlbDefinition.ts @@ -1,5 +1,9 @@ import { Any, JsonObject, JsonProperty } from 'json2typescript'; +@JsonObject('topology_template') +export class TemplateTopology { + public content: string; +} @JsonObject export class VlbDefinition { @@ -10,7 +14,8 @@ export class VlbDefinition { imports: Import[]; // tslint:disable-next-line: variable-name dsl_definitions: DslContent; - // topology_template: TopologyTemplate; + // tslint:disable-next-line: variable-name + topology_template: TemplateTopology; } @JsonObject('dsl_definitions') |