aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/utils
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/utils')
-rw-r--r--catalog-ui/src/app/utils/common-utils.ts14
1 files changed, 12 insertions, 2 deletions
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);
}