aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes
diff options
context:
space:
mode:
authorShaabanEltanany <shaaban.eltanany.ext@orange.com>2020-07-15 23:50:43 +0200
committerShaabanEltanany <shaaban.eltanany.ext@orange.com>2020-07-16 10:37:27 +0200
commitf6c51a61086e2bf892f41c912ae1e08e55d878f8 (patch)
treeb3634c01414584f00de1e996686a46310f7c383d /cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes
parent0882e287bbb6aee4543f7659b1f9d001a1b01a1a (diff)
starting manual enrichment functionality
Issue-ID: CCSDK-2542 Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com> Change-Id: I3ce3e7aa5deb131b958cef0ca424e4d92fd7913c
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes')
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes/DesignerCreationMode.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes/DesignerCreationMode.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes/DesignerCreationMode.ts
index 184ccf9ef..58307005c 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes/DesignerCreationMode.ts
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes/DesignerCreationMode.ts
@@ -77,6 +77,9 @@ export class DesignerCreationMode extends PackageCreationModes {
if (cbaPackage.definitions.dslDefinition.content) {
vlbDefinition.dsl_definitions = JSON.parse(cbaPackage.definitions.dslDefinition.content);
}
+ if (cbaPackage.templateTopology.content) {
+ vlbDefinition.topology_template = JSON.parse(cbaPackage.templateTopology.content);
+ }
console.log(vlbDefinition);
const value = packageCreationUtils.transformToJson(vlbDefinition);
FilesContent.putData(filenameEntry, value);