1 package org.openecomp.sdc.config;
3 import org.openecomp.sdc.be.components.lifecycle.LifecycleBusinessLogic;
4 import org.openecomp.sdc.be.ecomp.converters.AssetMetadataConverter;
5 import org.openecomp.sdc.common.transaction.mngr.TransactionManager;
6 import org.springframework.context.annotation.Bean;
7 import org.springframework.context.annotation.ComponentScan;
8 import org.springframework.context.annotation.Configuration;
11 @ComponentScan({"org.openecomp.sdc.be.user",
12 "org.openecomp.sdc.be.impl",
13 "org.openecomp.sdc.be.auditing.impl",
14 "org.openecomp.sdc.be.distribution",
15 "org.openecomp.sdc.be.switchover.detector",
16 "org.openecomp.sdc.be.tosca",
17 "org.openecomp.sdc.be.components.validation",
18 "org.openecomp.sdc.be.components.impl",
19 "org.openecomp.sdc.be.components.path",
20 "org.openecomp.sdc.be.components.merge",
21 "org.openecomp.sdc.be.components.csar",
22 "org.openecomp.sdc.be.components.property"
24 public class CatalogBESpringConfig {
25 @Bean(name = "lifecycleBusinessLogic")
26 public LifecycleBusinessLogic lifecycleBusinessLogic() {
27 return new LifecycleBusinessLogic();
30 @Bean(name = "transactionManager")
31 public TransactionManager transactionManager() {
32 return new TransactionManager();
35 @Bean(name = "asset-metadata-utils")
36 public AssetMetadataConverter assetMetadataConverter() {
37 return new AssetMetadataConverter();