summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/application-context.xml
blob: 702c63ea817f2902748cbbf5cac45c38646bd7fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
  xmlns:aop="http://www.springframework.org/schema/aop" xmlns:util="http://www.springframework.org/schema/util"
  xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd">

  <context:annotation-config />
  <aop:aspectj-autoproxy proxy-target-class="true" />

  <context:component-scan
    base-package="org.openecomp.sdc.be.dao.impl,	   
		org.openecomp.sdc.be.dao.es,
		org.openecomp.sdc.be.resources.impl,			
		org.openecomp.sdc.be.dao.neo4j,
		org.openecomp.sdc.be.model.operations.impl,
		org.openecomp.sdc.be.model.cache,
		org.openecomp.sdc.be.dao.titan,
		org.openecomp.sdc.be.user, 
		org.openecomp.sdc.be.impl,
		org.openecomp.sdc.be.auditing.impl,
		org.openecomp.sdc.be.components.impl,
		org.openecomp.sdc.be.components.distribution.engine,
		org.openecomp.sdc.be.distribution,
		org.openecomp.sdc.be.components.clean,
		org.openecomp.sdc.be.dao.cassandra,
		org.openecomp.sdc.be.switchover.detector,
		org.openecomp.sdc.be.tosca,
		org.openecomp.sdc.be.model.jsontitan.operations,
		org.openecomp.sdc.be.dao.jsongraph,
		org.openecomp.sdc.be.externalapi.servlet
		">
		
   </context:component-scan>

  <bean id="resourceImportManager" class="org.openecomp.sdc.be.components.impl.ResourceImportManager" />
  <bean id="capabilityTypeImportManager" class="org.openecomp.sdc.be.components.impl.CapabilityTypeImportManager" />
  <bean id="servletUtils" class="org.openecomp.sdc.be.impl.ServletUtils" />
  <bean id="resourceBusinessLogic" class="org.openecomp.sdc.be.components.impl.ResourceBusinessLogic" />
  <bean id="serviceBusinessLogic" class="org.openecomp.sdc.be.components.impl.ServiceBusinessLogic" />
  <bean id="productBusinessLogic" class="org.openecomp.sdc.be.components.impl.ProductBusinessLogic" />
  <bean id="artifactBusinessLogic" class="org.openecomp.sdc.be.components.impl.ArtifactsBusinessLogic" />
  <bean id="lifecycleBusinessLogic" class="org.openecomp.sdc.be.components.lifecycle.LifecycleBusinessLogic" />
  <bean id="serviceComponentInstanceBusinessLogic" class="org.openecomp.sdc.be.components.impl.ServiceComponentInstanceBusinessLogic" />
  <bean id="productComponentInstanceBusinessLogic" class="org.openecomp.sdc.be.components.impl.ProductComponentInstanceBusinessLogic" />
  <bean id="vfComponentInstanceBusinessLogic" class="org.openecomp.sdc.be.components.impl.VFComponentInstanceBusinessLogic" />
  <bean id="transactionManager" class="org.openecomp.sdc.common.transaction.mngr.TransactionManager" />
  <bean id="userBusinessLogic" class="org.openecomp.sdc.be.user.UserBusinessLogic" />
  <bean id="elementsBusinessLogic" class="org.openecomp.sdc.be.components.impl.ElementBusinessLogic" />
  <bean id="propertyBusinessLogic" class="org.openecomp.sdc.be.components.impl.PropertyBusinessLogic" />
  <bean id="auditingManager" class="org.openecomp.sdc.be.auditing.impl.AuditingManager" />
  <bean id="distributionBusinessLogic" class="org.openecomp.sdc.be.distribution.DistributionBusinessLogic" />
  <bean id="interfaceLifecycleTypeImportManager" class="org.openecomp.sdc.be.components.impl.InterfaceLifecycleTypeImportManager" />
  <bean id="distributionMonitoringBusinessLogic" class="org.openecomp.sdc.be.components.impl.DistributionMonitoringBusinessLogic" />
  <bean id="additionalInformationBusinessLogic" class="org.openecomp.sdc.be.components.impl.AdditionalInformationBusinessLogic" />
  <bean id="distribution-engine-cluster-health" class="org.openecomp.sdc.be.components.distribution.engine.DistributionEngineClusterHealth" />
  <bean id="categoriesImportManager" class="org.openecomp.sdc.be.components.impl.CategoriesImportManager" />
  <bean id="asset-metadata-utils" class="org.openecomp.sdc.be.externalapi.servlet.AssetMetadataConverter" />

  <bean class="org.openecomp.sdc.be.dao.config.DAOSpringConfig"/>

  <util:properties id="elasticsearchConfig" location="file:${config.home}/elasticsearch.yml" />
  
</beans>