From 0411615fe4f55fe3463da2576de376c7478fcfb2 Mon Sep 17 00:00:00 2001 From: MichaelMorris Date: Fri, 26 Aug 2022 11:00:03 +0100 Subject: Support TOSCA functions in sub properties Change-Id: Ibfd95c928bbb10089cfc9749ae4e7b05270e3d68 Issue-ID: SDC-4151 Signed-off-by: MichaelMorris --- catalog-ui/src/app/models/properties-inputs/property-be-model.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'catalog-ui/src/app/models/properties-inputs') diff --git a/catalog-ui/src/app/models/properties-inputs/property-be-model.ts b/catalog-ui/src/app/models/properties-inputs/property-be-model.ts index 9429036f6e..097bbb2c54 100644 --- a/catalog-ui/src/app/models/properties-inputs/property-be-model.ts +++ b/catalog-ui/src/app/models/properties-inputs/property-be-model.ts @@ -23,6 +23,7 @@ import {SchemaProperty, SchemaPropertyGroupModel} from '../schema-property'; import {ToscaPresentationData} from '../tosca-presentation'; import {PropertyInputDetail} from './property-input-detail'; import {Metadata} from '../metadata'; +import {SubPropertyToscaFunction} from "../sub-property-tosca-function"; import {ToscaFunction} from "../tosca-function"; import {ToscaGetFunction} from "../tosca-get-function"; import {ToscaGetFunctionTypeConverter} from "../tosca-get-function-type-converter"; @@ -74,6 +75,7 @@ export class PropertyBEModel { */ toscaGetFunction: ToscaGetFunctionDto; toscaFunction: ToscaFunction; + subPropertyToscaFunctions: SubPropertyToscaFunction[]; constructor(property?: PropertyBEModel) { if (property) { @@ -114,6 +116,7 @@ export class PropertyBEModel { toscaGetFunction1.propertyPathFromSource = property.toscaGetFunction.propertyPathFromSource; this.toscaFunction = toscaGetFunction1; } + this.subPropertyToscaFunctions = property.subPropertyToscaFunctions; } if (!this.schema || !this.schema.property) { -- cgit 1.2.3-korg