blob: 10b12ffa9cfaca46a55a6ad3e690fbb3fb1f81f3 [file] [log] [blame]
Michael Landoa5445102018-03-04 14:53:33 +02001<?xml version="1.0" encoding="UTF-8"?>
2<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns:context="http://www.springframework.org/schema/context"
4 xmlns:aop="http://www.springframework.org/schema/aop"
5 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
6 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
7 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
8
9 <context:annotation-config />
Dmitry Puzikovbca8dd92020-03-24 18:22:03 +010010 <aop:aspectj-autoproxy proxy-target-class="true"/>
11 <bean id="fileChangeListener" class=" org.openecomp.sdc.common.impl.ConfigFileChangeListener"/>
12 <bean id="fsConfig" class="org.openecomp.sdc.common.impl.FSConfigurationSource">
13 <constructor-arg ref="fileChangeListener"/>
14 <constructor-arg value="src/test/resources/config/catalog-be"/>
15 </bean>
16 <bean class="org.openecomp.sdc.be.config.ConfigurationManager">
17 <constructor-arg ref="fsConfig"/>
18 </bean>
19 <bean class="org.openecomp.sdc.be.components.distribution.engine.DmaapConsumer"/>
20 <bean class="org.openecomp.sdc.be.components.distribution.engine.DmaapClientFactory"/>
21 <bean class="org.openecomp.sdc.be.components.distribution.engine.ExecutorFactory"/>
22 <bean class="org.openecomp.sdc.be.components.distribution.engine.DmaapHealth"/>
23 <bean class="org.openecomp.sdc.be.catalog.impl.DmaapProducerHealth"/>
24 <bean class="org.openecomp.sdc.be.catalog.impl.DmaapProducer"/>
25 <bean class="org.openecomp.sdc.be.impl.ServletUtils"/>
26 <bean id="componentUtils" class="org.mockito.Mockito" factory-method="mock">
27 <constructor-arg value="org.openecomp.sdc.be.impl.ComponentsUtils" />
28 </bean>
29 <bean id="userAdmin" class="org.mockito.Mockito" factory-method="mock">
30 <constructor-arg value="org.openecomp.sdc.be.user.UserBusinessLogic" />
31 </bean>
vasraz086406a2021-02-22 09:50:07 +000032 <bean id="componentInstanceBusinessLogic" class="org.mockito.Mockito" factory-method="mock">
33 <constructor-arg value="org.openecomp.sdc.be.components.impl.ComponentInstanceBusinessLogic" />
34 </bean>
35 <bean id="servletUtils" class="org.mockito.Mockito" factory-method="mock">
36 <constructor-arg value="org.openecomp.sdc.be.impl.ServletUtils" />
37 </bean>
38 <bean id="resourceImportManager" class="org.mockito.Mockito" factory-method="mock">
39 <constructor-arg value="org.openecomp.sdc.be.components.impl.ResourceImportManager" />
40 </bean>
41 <bean id="elementBusinessLogic" class="org.mockito.Mockito" factory-method="mock">
42 <constructor-arg value="org.openecomp.sdc.be.components.impl.ElementBusinessLogic" />
43 </bean>
44 <bean id="assetMetadataConverter" class="org.mockito.Mockito" factory-method="mock">
45 <constructor-arg value="org.openecomp.sdc.be.ecomp.converters.AssetMetadataConverter" />
46 </bean>
47 <bean id="lifecycleBusinessLogic" class="org.mockito.Mockito" factory-method="mock">
48 <constructor-arg value="org.openecomp.sdc.be.components.lifecycle.LifecycleBusinessLogic" />
49 </bean>
50 <bean id="resourceBusinessLogic" class="org.mockito.Mockito" factory-method="mock">
51 <constructor-arg value="org.openecomp.sdc.be.components.impl.ResourceBusinessLogic" />
52 </bean>
53 <bean id="serviceBusinessLogic" class="org.mockito.Mockito" factory-method="mock">
54 <constructor-arg value="org.openecomp.sdc.be.components.impl.ServiceBusinessLogic" />
55 </bean>
56 <bean id="compositionBusinessLogic" class="org.mockito.Mockito" factory-method="mock">
57 <constructor-arg value="org.openecomp.sdc.be.components.impl.CompositionBusinessLogic" />
58 </bean>
59
60 <bean class="org.openecomp.sdc.be.externalapi.servlet.CrudExternalServlet">
61 <constructor-arg ref="userAdmin" />
62 <constructor-arg ref="componentInstanceBusinessLogic" />
63 <constructor-arg ref="componentUtils"/>
64 <constructor-arg ref="servletUtils" />
65 <constructor-arg ref="resourceImportManager" />
66 <constructor-arg ref="elementBusinessLogic" />
67 <constructor-arg ref="assetMetadataConverter" />
68 <constructor-arg ref="lifecycleBusinessLogic" />
69 <constructor-arg ref="resourceBusinessLogic" />
70 <constructor-arg ref="serviceBusinessLogic" />
71 </bean>
72
73
Michael Landoa5445102018-03-04 14:53:33 +020074</beans>