summaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation
diff options
context:
space:
mode:
authorShaabanEltanany <shaaban.eltanany.ext@orange.com>2020-09-29 14:38:56 +0200
committerKAPIL SINGAL <ks220y@att.com>2020-09-29 13:24:18 +0000
commit4726dfef46e024941f25be2c9d4ee66a5b1798ba (patch)
treecc0c9eddb722e2bdd5a0d02b7ca2548e6fe12bba /cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation
parent08881d4054251a475cb70113b0d637ec2af7aeae (diff)
adding sonarqube to designer client
Issue-ID: CCSDK-2858 Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com> Change-Id: I10a81591ed15d86a0f81bc1f13a4c2ac75dc2310
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation')
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/package-creation-extraction.service.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/package-creation-extraction.service.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/package-creation-extraction.service.ts
index 2cc58e6a4..aa7964453 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/package-creation-extraction.service.ts
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/package-creation-extraction.service.ts
@@ -103,6 +103,8 @@ export class PackageCreationExtractionService {
const nodeTemplates = 'node_templates';
content[nodeTemplates] = definition.topology_template ? definition.topology_template.node_templates : {};
this.designerStore.saveSourceContent(JSON.stringify(content));
+ this.packageCreationStore.addTopologyTemplate(definition.topology_template);
+
}
this.packageCreationStore.addDefinition(filename, fileData);