aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models
diff options
context:
space:
mode:
authorxuegao <xg353y@intl.att.com>2020-09-04 15:29:15 +0200
committerSébastien Determe <sebastien.determe@intl.att.com>2020-09-07 13:27:32 +0000
commit84a51513bca9c41c8757db017eb45b2d801da195 (patch)
treed8919801c30d8831e2e4ba55102f35fc95d05ea4 /catalog-ui/src/app/models
parent44c6c0d23504e8d1353cd449541f95bc2033cddb (diff)
Use meaningful workflow name
When generate csar, use meaningful workflow name instead of null. Issue-ID: SDC-3230 Signed-off-by: xuegao <xg353y@intl.att.com> Change-Id: I250e2f928aa33b2da86a7c458c098713c43a5074
Diffstat (limited to 'catalog-ui/src/app/models')
-rw-r--r--catalog-ui/src/app/models/operation.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/catalog-ui/src/app/models/operation.ts b/catalog-ui/src/app/models/operation.ts
index 30095b92ef..3d4917fd45 100644
--- a/catalog-ui/src/app/models/operation.ts
+++ b/catalog-ui/src/app/models/operation.ts
@@ -42,6 +42,8 @@ export class BEOperationModel {
workflowAssociationType: string;
workflowId: string;
workflowVersionId: string;
+ workflowName: string;
+ workflowVersion: string;
implementation?: {
artifactName: string;
@@ -60,6 +62,8 @@ export class BEOperationModel {
this.workflowAssociationType = operation.workflowAssociationType;
this.workflowId = operation.workflowId;
this.workflowVersionId = operation.workflowVersionId;
+ this.workflowName = operation.workflowName;
+ this.workflowVersion = operation.workflowVersion;
this.implementation = operation.implementation || {};
}
}
@@ -94,6 +98,8 @@ export class OperationModel extends BEOperationModel{
workflowId: string;
workflowVersionId: string;
+ workflowName: string;
+ workflowVersion: string;
protected OperationTypeEnum: Array<String> = [
'Create',
@@ -117,6 +123,8 @@ export class OperationModel extends BEOperationModel{
this.workflowVersionId = operation.workflowVersionId;
this.artifactFileName = operation.artifactFileName;
this.artifactData = operation.artifactData;
+ this.workflowName = operation.workflowName;
+ this.workflowVersion = operation.workflowVersion;
}
}