aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models
diff options
context:
space:
mode:
authorArielk <Ariel.Kenan@amdocs.com>2018-10-03 14:06:13 +0300
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-10-11 11:47:26 +0000
commit502b7b7839374680a494c1606798a8b4588daa2b (patch)
treefd8868b0d4c3e142f2a8921600c8cb8b986b7acd /catalog-ui/src/app/models
parent4d5da30c41326eeeb9344b31875e010b1a7507c1 (diff)
Operation screen changes.
1. [ATTASDC-7390] Output parameter support 2. VF Workflow context 3. [ATTASDC-7420] "Opening same operation displays invalid fields and values" Change-Id: I7bb94b50ad299af6080266076b5e0b632ef5e0e7 Issue-ID: SDC-1814 Signed-off-by: Arielk <Ariel.Kenan@amdocs.com>
Diffstat (limited to 'catalog-ui/src/app/models')
-rw-r--r--catalog-ui/src/app/models/operation.ts14
1 files changed, 5 insertions, 9 deletions
diff --git a/catalog-ui/src/app/models/operation.ts b/catalog-ui/src/app/models/operation.ts
index 2a5298c3b0..f15f0b13b5 100644
--- a/catalog-ui/src/app/models/operation.ts
+++ b/catalog-ui/src/app/models/operation.ts
@@ -31,14 +31,6 @@ export class OperationModel {
workflowId: string;
workflowVersionId: string;
- protected OperationTypeEnum: Array<String> = [
- 'Create',
- 'Delete',
- 'Instantiate',
- 'Start',
- 'Stop'
- ];
-
constructor(operation?: any) {
if (operation) {
this.description = operation.description;
@@ -59,7 +51,11 @@ export class OperationModel {
public createOutputParamsList(outputParams: Array<OperationParameter>): void {
this.outputParams = {
- listToscaDataDefinition: outputParams
+ listToscaDataDefinition: _.map(outputParams, output => {
+ const newOutput = {...output};
+ delete newOutput.property;
+ return newOutput;
+ })
};
}
}