diff options
author | 2020-10-12 15:10:17 +0200 | |
---|---|---|
committer | 2020-10-12 16:34:18 +0200 | |
commit | f36e67c64667080c78a1d30f5aace683391d8a14 (patch) | |
tree | 7e3a7295952161cb0f1497dbde46f6564344a6e7 /cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.store.ts | |
parent | feaa237cda579079b40f3014634387bf493cc2da (diff) |
adding inputs and outputs attributes
Issue-ID: CCSDK-2874
Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com>
Change-Id: I2135575105379be9dc464245ea3a74029d541baf
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.store.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.store.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.store.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.store.ts index e07fbb94d..923d59e91 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.store.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.store.ts @@ -145,6 +145,17 @@ export class DesignerStore extends Store<DesignerDashboardState> { }); } + setInputsToSpecificWorkflow(inputs: Map<string, string>) { + const mapOfWorkflows = this.state.template.workflows; + /*mapOfWorkflows.forEach(((value, key) => { + if (value.includes('resource-assignment')) { + value += inputs; + } + }));*/ + console.log('the new workflows'); + console.log(mapOfWorkflows); + } + clear() { this.setState(new DesignerDashboardState()); } |