Catalog alignment
[sdc.git] / catalog-be / src / test / resources / paths / path-context.xml
index dffd5ef..0435d38 100644 (file)
@@ -20,21 +20,18 @@ limitations under the License.
 Modifications copyright (c) 2018 Nokia
 ================================================================================
 -->
-<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
+<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
-        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.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" />
 
   <context:component-scan
-    base-package="org.openecomp.sdc.be.dao.impl,          
-               org.openecomp.sdc.be.dao.es,
-               org.openecomp.sdc.be.resources.impl,                    
+    base-package="org.openecomp.sdc.be.dao.impl,
                org.openecomp.sdc.be.dao.neo4j,
                org.openecomp.sdc.be.model.operations.impl,
                org.openecomp.sdc.be.model.cache,
@@ -46,8 +43,9 @@ Modifications copyright (c) 2018 Nokia
                org.openecomp.sdc.be.components.merge,
                org.openecomp.sdc.be.components.property,
                org.openecomp.sdc.be.components.distribution.engine,
+               org.openecomp.sdc.be.facade.operations,
                org.openecomp.sdc.be.distribution,
-               org.openecomp.sdc.be.components.validation
+               org.openecomp.sdc.be.components.validation,
                org.openecomp.sdc.be.switchover.detector,
                org.openecomp.sdc.be.tosca,
                org.openecomp.sdc.be.model.operations.impl,
@@ -62,7 +60,7 @@ Modifications copyright (c) 2018 Nokia
   <bean id="tosca-operation-facade" class="org.openecomp.sdc.be.components.path.beans.ForwardingPathToscaOperationFacade" />
   <bean id="janusgraph-client" class="org.openecomp.sdc.be.components.path.beans.InMemoryJanusGraphClient" />
   <bean id="lifecycleBusinessLogic" class="org.openecomp.sdc.be.components.lifecycle.LifecycleBusinessLogic" />
-  <bean id="transactionManager" class="org.openecomp.sdc.common.transaction.mngr.TransactionManager" />
+  <bean id="userBusinessLogicExt" class="org.openecomp.sdc.be.user.UserBusinessLogicExt" />
   <bean id="asset-metadata-utils" class="org.openecomp.sdc.be.ecomp.converters.AssetMetadataConverter" />
   <bean class="org.openecomp.sdc.be.dao.config.DAOSpringConfig"/>
   <bean id="cassandra-client" class="org.openecomp.sdc.be.components.path.beans.CassandraClientMock" />
@@ -74,6 +72,12 @@ Modifications copyright (c) 2018 Nokia
   <bean id="forwardingPathValidator" class="org.openecomp.sdc.be.components.path.beans.ForwardingPathValidatorMock" />
   <bean id="dataTypeValidatorConverter" class="org.openecomp.sdc.be.model.tosca.validators.DataTypeValidatorConverter" />
   <bean id="sdcSchemaUtils" class="org.openecomp.sdc.be.dao.cassandra.schema.SdcSchemaUtils" />
-  <util:properties id="elasticsearchConfig" location="paths/elasticsearch.yml" />
+  <bean id="dmaapProducer" class="org.openecomp.sdc.be.catalog.impl.DmaapProducer" />
+  <bean id="catalogOperation" class="org.openecomp.sdc.be.facade.operations.CatalogOperation" />
+  <bean id="userOperation" class="org.openecomp.sdc.be.facade.operations.UserOperation" />
+  <bean id="dmaapProducerHealth" class="org.openecomp.sdc.be.catalog.impl.DmaapProducerHealth" />
+  <bean id="feature_toggle_dao" class="org.openecomp.sdc.be.components.path.beans.FeatureToggleDaoMock" />
+  <bean name="httpClient" class="org.apache.http.impl.client.HttpClients" factory-method="createDefault" >
+  </bean>
 
 </beans>