From eaaf8019188ad99ad2b76e43519c7dae9f4ac592 Mon Sep 17 00:00:00 2001 From: Arielk Date: Tue, 31 Jul 2018 12:59:36 +0300 Subject: Enhance operations to associate workflows Change-Id: Iacf74ee333a3bc2e76e764c28ae660322bc9e6e4 Issue-ID: SDC-1535 Signed-off-by: Arielk --- catalog-ui/src/app/utils/common-utils.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'catalog-ui/src/app/utils') diff --git a/catalog-ui/src/app/utils/common-utils.ts b/catalog-ui/src/app/utils/common-utils.ts index d215183fa9..0c6a8b6a54 100644 --- a/catalog-ui/src/app/utils/common-utils.ts +++ b/catalog-ui/src/app/utils/common-utils.ts @@ -153,13 +153,23 @@ export class CommonUtils { }); if (inputs) { const inputParams = _.map(inputs.listToscaDataDefinition, (input:any) => { - return {paramName: input.name, paramId: input.inputId}; + return { + name: input.name, + property: input.inputId, + type: input.type, + mandatory: input.mandatory + }; }); operation.createInputParamsList(inputParams); } if (outputs) { const outputParams = _.map(outputs.listToscaDataDefinition, (output:any) => { - return {paramName: output.name, paramId: output.outputId}; + return { + name: output.name, + property: output.inputId, + type: output.type, + mandatory: output.mandatory + }; }); operation.createOutputParamsList(outputParams); } -- cgit 1.2.3-korg