blob: 10b12ffa9cfaca46a55a6ad3e690fbb3fb1f81f3 (
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
67
68
69
70
71
72
73
74
|
<?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"
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">
<context:annotation-config />
<aop:aspectj-autoproxy proxy-target-class="true"/>
<bean id="fileChangeListener" class=" org.openecomp.sdc.common.impl.ConfigFileChangeListener"/>
<bean id="fsConfig" class="org.openecomp.sdc.common.impl.FSConfigurationSource">
<constructor-arg ref="fileChangeListener"/>
<constructor-arg value="src/test/resources/config/catalog-be"/>
</bean>
<bean class="org.openecomp.sdc.be.config.ConfigurationManager">
<constructor-arg ref="fsConfig"/>
</bean>
<bean class="org.openecomp.sdc.be.components.distribution.engine.DmaapConsumer"/>
<bean class="org.openecomp.sdc.be.components.distribution.engine.DmaapClientFactory"/>
<bean class="org.openecomp.sdc.be.components.distribution.engine.ExecutorFactory"/>
<bean class="org.openecomp.sdc.be.components.distribution.engine.DmaapHealth"/>
<bean class="org.openecomp.sdc.be.catalog.impl.DmaapProducerHealth"/>
<bean class="org.openecomp.sdc.be.catalog.impl.DmaapProducer"/>
<bean class="org.openecomp.sdc.be.impl.ServletUtils"/>
<bean id="componentUtils" class="org.mockito.Mockito" factory-method="mock">
<constructor-arg value="org.openecomp.sdc.be.impl.ComponentsUtils" />
</bean>
<bean id="userAdmin" class="org.mockito.Mockito" factory-method="mock">
<constructor-arg value="org.openecomp.sdc.be.user.UserBusinessLogic" />
</bean>
<bean id="componentInstanceBusinessLogic" class="org.mockito.Mockito" factory-method="mock">
<constructor-arg value="org.openecomp.sdc.be.components.impl.ComponentInstanceBusinessLogic" />
</bean>
<bean id="servletUtils" class="org.mockito.Mockito" factory-method="mock">
<constructor-arg value="org.openecomp.sdc.be.impl.ServletUtils" />
</bean>
<bean id="resourceImportManager" class="org.mockito.Mockito" factory-method="mock">
<constructor-arg value="org.openecomp.sdc.be.components.impl.ResourceImportManager" />
</bean>
<bean id="elementBusinessLogic" class="org.mockito.Mockito" factory-method="mock">
<constructor-arg value="org.openecomp.sdc.be.components.impl.ElementBusinessLogic" />
</bean>
<bean id="assetMetadataConverter" class="org.mockito.Mockito" factory-method="mock">
<constructor-arg value="org.openecomp.sdc.be.ecomp.converters.AssetMetadataConverter" />
</bean>
<bean id="lifecycleBusinessLogic" class="org.mockito.Mockito" factory-method="mock">
<constructor-arg value="org.openecomp.sdc.be.components.lifecycle.LifecycleBusinessLogic" />
</bean>
<bean id="resourceBusinessLogic" class="org.mockito.Mockito" factory-method="mock">
<constructor-arg value="org.openecomp.sdc.be.components.impl.ResourceBusinessLogic" />
</bean>
<bean id="serviceBusinessLogic" class="org.mockito.Mockito" factory-method="mock">
<constructor-arg value="org.openecomp.sdc.be.components.impl.ServiceBusinessLogic" />
</bean>
<bean id="compositionBusinessLogic" class="org.mockito.Mockito" factory-method="mock">
<constructor-arg value="org.openecomp.sdc.be.components.impl.CompositionBusinessLogic" />
</bean>
<bean class="org.openecomp.sdc.be.externalapi.servlet.CrudExternalServlet">
<constructor-arg ref="userAdmin" />
<constructor-arg ref="componentInstanceBusinessLogic" />
<constructor-arg ref="componentUtils"/>
<constructor-arg ref="servletUtils" />
<constructor-arg ref="resourceImportManager" />
<constructor-arg ref="elementBusinessLogic" />
<constructor-arg ref="assetMetadataConverter" />
<constructor-arg ref="lifecycleBusinessLogic" />
<constructor-arg ref="resourceBusinessLogic" />
<constructor-arg ref="serviceBusinessLogic" />
</bean>
</beans>
|