aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models
diff options
context:
space:
mode:
authorimamSidero <imam.hussain@est.tech>2023-09-05 11:06:25 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-09-06 14:58:12 +0000
commit5c1294eb8e2dc00cae4ef21d6111e0fa18fc2caa (patch)
tree977b9f5f20d48acbe7c66b4227dd984fb370ab63 /catalog-ui/src/app/models
parent6531ae8151c52407d61b380534026e2d67f62753 (diff)
Provide user to specify the ouput name while declaring the atrributes
User specified output name is provided on declare output functionality Issue-ID: SDC-4616 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: Ic0cd50f9dde2482f5fbb2363cdc83d8fcf09f48f
Diffstat (limited to 'catalog-ui/src/app/models')
-rw-r--r--catalog-ui/src/app/models/attributes-outputs/attribute-be-model.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/catalog-ui/src/app/models/attributes-outputs/attribute-be-model.ts b/catalog-ui/src/app/models/attributes-outputs/attribute-be-model.ts
index a6966cd799..3ec03c5121 100644
--- a/catalog-ui/src/app/models/attributes-outputs/attribute-be-model.ts
+++ b/catalog-ui/src/app/models/attributes-outputs/attribute-be-model.ts
@@ -51,6 +51,7 @@ export class AttributeBEModel {
subAttributeOutputPath: string;
outputPath: string;
toscaPresentation: ToscaPresentationData;
+ outputName: string;
constructor(attribute?: AttributeBEModel) {
if (attribute) {
@@ -77,6 +78,7 @@ export class AttributeBEModel {
this.subAttributeOutputPath = attribute.subAttributeOutputPath;
this.toscaPresentation = attribute.toscaPresentation;
this.outputPath = attribute.outputPath;
+ this.outputName = attribute.outputName;
}
if (!this.schema || !this.schema.property) {