diff options
author | JvD_Ericsson <jeff.van.dam@est.tech> | 2022-06-02 10:46:40 +0100 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2022-06-24 13:17:23 +0000 |
commit | 363d9a6fea48bf6f34e4f1d4ecb37d33812c7626 (patch) | |
tree | 6d5023023b0f93346ed40e62f6cf3f4bc23792b9 /catalog-ui/src/app/modules/utils.ts | |
parent | 2dcfb0996a8345de5c8be73a5600ee995309664a (diff) |
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 <jeff.van.dam@est.tech>
Change-Id: I6f8428d9ed385335c05e7b994e622229ea00342b
Diffstat (limited to 'catalog-ui/src/app/modules/utils.ts')
-rw-r--r-- | catalog-ui/src/app/modules/utils.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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); |