aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/resources/paths/path-context.xml
blob: 0435d38317e2bfebe9d0501d5713aa2238921244 (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
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="UTF-8"?>
<!--
============LICENSE_START=======================================================
SDC
================================================================================
Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
        *
     http://www.apache.org/licenses/LICENSE-2.0
        *
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
============LICENSE_END=========================================================
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"
       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" />

  <context:component-scan
    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,
		org.openecomp.sdc.be.dao.janusgraph,
		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.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.switchover.detector,
		org.openecomp.sdc.be.tosca,
		org.openecomp.sdc.be.model.operations.impl,
		org.openecomp.sdc.be.model.jsonjanusgraph.operations,
		org.openecomp.sdc.be.model.jsonjanusgraph.utils,
		org.openecomp.sdc.be.components.csar,
		org.openecomp.sdc.be.datamodel.utils,
		org.openecomp.sdc.be.model.utils,
		org.openecomp.sdc.be.dao.jsongraph">
		
   </context:component-scan>
  <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="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" />
  <bean id="audit-cassandra-dao" class="org.openecomp.sdc.be.components.path.beans.AuditCassandraDaoMock" />
  <bean id="artifact-cassandra-dao" class="org.openecomp.sdc.be.components.path.beans.ArtifactCassandraDaoMock" />
  <bean id="operational-environment-dao" class="org.openecomp.sdc.be.components.path.beans.EnvironmentCassandraDaoMock"/>
  <bean id="sdc-schema-files-cassandra-dao" class="org.openecomp.sdc.be.components.path.beans.SdcSchemaFilesCassandraDaoMock" />
  <bean id="distributionEngine" class="org.openecomp.sdc.be.components.path.beans.DistributionEngineMock"/>
  <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" />
  <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>