summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/resources/application-context-test.xml
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src/test/resources/application-context-test.xml')
-rw-r--r--catalog-be/src/test/resources/application-context-test.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/catalog-be/src/test/resources/application-context-test.xml b/catalog-be/src/test/resources/application-context-test.xml
index c45680ca90..10b12ffa9c 100644
--- a/catalog-be/src/test/resources/application-context-test.xml
+++ b/catalog-be/src/test/resources/application-context-test.xml
@@ -29,4 +29,46 @@
<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>