From e159dee791441b68d142323f7d951b0592841c7f Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Fri, 27 May 2022 11:58:10 +0100 Subject: Support of get_property for instance properties Support of get_property for INSTANCE properties, as currently only SELF properties can be selected. Change-Id: I80611002964a6ebb515134155c321f2d7f87811c Issue-ID: SDC-4026 Signed-off-by: andre.schmid --- catalog-ui/src/app/models/tosca-get-function.ts | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 catalog-ui/src/app/models/tosca-get-function.ts (limited to 'catalog-ui/src/app/models') diff --git a/catalog-ui/src/app/models/tosca-get-function.ts b/catalog-ui/src/app/models/tosca-get-function.ts new file mode 100644 index 0000000000..0fe0831215 --- /dev/null +++ b/catalog-ui/src/app/models/tosca-get-function.ts @@ -0,0 +1,33 @@ +/* + * - + * ============LICENSE_START======================================================= + * Copyright (C) 2022 Nordix Foundation. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ + +import {PropertySource} from "./property-source"; +import {ToscaGetFunctionType} from "./tosca-get-function-type"; + +export class ToscaGetFunction { + propertyUniqueId: string; + propertyName: string; + propertySource: PropertySource; + sourceUniqueId: string; + sourceName: string; + functionType: ToscaGetFunctionType; + propertyPathFromSource: Array; +} \ No newline at end of file -- cgit