From 363d9a6fea48bf6f34e4f1d4ecb37d33812c7626 Mon Sep 17 00:00:00 2001 From: JvD_Ericsson Date: Thu, 2 Jun 2022 10:46:40 +0100 Subject: Service Import - Read metadata from csar Also exports metadata to the tosca template and fixes service metadata not being set when the create button is clicked Issue-ID: SDC-4044 Signed-off-by: JvD_Ericsson Change-Id: I6f8428d9ed385335c05e7b994e622229ea00342b --- catalog-ui/src/app/modules/utils.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'catalog-ui/src/app/modules/utils.ts') diff --git a/catalog-ui/src/app/modules/utils.ts b/catalog-ui/src/app/modules/utils.ts index 7a57478c1c..a2fb6907ce 100644 --- a/catalog-ui/src/app/modules/utils.ts +++ b/catalog-ui/src/app/modules/utils.ts @@ -23,6 +23,7 @@ import {ComponentInstanceFactory} from "../utils/component-instance-factory"; import {ChangeLifecycleStateHandler} from "../utils/change-lifecycle-state-handler"; import {ModalsHandler} from "../utils/modals-handler"; import {MenuHandler} from "../utils/menu-handler"; +import {ServiceCsarReader} from "../utils/service-csar-reader"; let moduleName:string = 'Sdc.Utils'; let serviceModule:ng.IModule = angular.module(moduleName, []); @@ -33,4 +34,5 @@ serviceModule.service('ComponentInstanceFactory', ComponentInstanceFactory); serviceModule.service('ChangeLifecycleStateHandler', ChangeLifecycleStateHandler); serviceModule.service('ModalsHandler', ModalsHandler); serviceModule.service('MenuHandler', MenuHandler); +serviceModule.service('ServiceCsarReader', ServiceCsarReader); -- cgit 1.2.3-korg