752e4ecf131197dfce460573ff9f79cf2ca55821
[sdc.git] / catalog-be / src / test / resources / paths / path-context.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 ============LICENSE_START=======================================================
4 SDC
5 ================================================================================
6 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11         *
12      http://www.apache.org/licenses/LICENSE-2.0
13         *
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 Modifications copyright (c) 2018 Nokia
21 ================================================================================
22 -->
23 <beans xmlns="http://www.springframework.org/schema/beans"
24     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25     xmlns:context="http://www.springframework.org/schema/context"
26     xmlns:aop="http://www.springframework.org/schema/aop"
27     xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
28         http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
29         http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
30
31     <context:annotation-config/>
32     <aop:aspectj-autoproxy proxy-target-class="true"/>
33
34     <context:component-scan
35         base-package="org.openecomp.sdc.be.dao.impl,
36                 org.openecomp.sdc.be.dao.neo4j,
37                 org.openecomp.sdc.be.model.operations.impl,
38                 org.openecomp.sdc.be.model.cache,
39                 org.openecomp.sdc.be.dao.janusgraph,
40                 org.openecomp.sdc.be.user,
41                 org.openecomp.sdc.be.impl,
42                 org.openecomp.sdc.be.auditing.impl,
43                 org.openecomp.sdc.be.components.impl,
44                 org.openecomp.sdc.be.components.attribute,
45                 org.openecomp.sdc.be.components.merge,
46                 org.openecomp.sdc.be.components.property,
47                 org.openecomp.sdc.be.components.distribution.engine,
48                 org.openecomp.sdc.be.facade.operations,
49                 org.openecomp.sdc.be.distribution,
50                 org.openecomp.sdc.be.components.validation,
51                 org.openecomp.sdc.be.switchover.detector,
52                 org.openecomp.sdc.be.tosca,
53                 org.openecomp.sdc.be.client,
54                 org.openecomp.sdc.be.model.operations.impl,
55                 org.openecomp.sdc.be.model.jsonjanusgraph.operations,
56                 org.openecomp.sdc.be.model.jsonjanusgraph.utils,
57                 org.openecomp.sdc.be.model.jsonjanusgraph.config,
58                 org.openecomp.sdc.be.components.csar,
59                 org.openecomp.sdc.be.datamodel.utils,
60                 org.openecomp.sdc.be.model.utils,
61                 org.openecomp.sdc.be.dao.jsongraph">
62
63     </context:component-scan>
64     <bean id="tosca-operation-facade"
65         class="org.openecomp.sdc.be.components.path.beans.ForwardingPathToscaOperationFacade"/>
66     <bean id="janusgraph-client"
67         class="org.openecomp.sdc.be.components.path.beans.InMemoryJanusGraphClient"/>
68     <bean id="lifecycleBusinessLogic"
69         class="org.openecomp.sdc.be.components.lifecycle.LifecycleBusinessLogic"/>
70     <bean id="userBusinessLogicExt" class="org.openecomp.sdc.be.user.UserBusinessLogicExt"/>
71     <bean id="asset-metadata-utils"
72         class="org.openecomp.sdc.be.ecomp.converters.AssetMetadataConverter"/>
73     <bean class="org.openecomp.sdc.be.dao.config.DAOSpringConfig"/>
74     <bean id="cassandra-client"
75         class="org.openecomp.sdc.be.components.path.beans.CassandraClientMock"/>
76     <bean id="audit-cassandra-dao"
77         class="org.openecomp.sdc.be.components.path.beans.AuditCassandraDaoMock"/>
78     <bean id="artifact-cassandra-dao"
79         class="org.openecomp.sdc.be.components.path.beans.ArtifactCassandraDaoMock"/>
80     <bean id="operational-environment-dao"
81         class="org.openecomp.sdc.be.components.path.beans.EnvironmentCassandraDaoMock"/>
82     <bean id="sdc-schema-files-cassandra-dao"
83         class="org.openecomp.sdc.be.components.path.beans.SdcSchemaFilesCassandraDaoMock"/>
84     <bean id="distributionEngine"
85         class="org.openecomp.sdc.be.components.path.beans.DistributionEngineMock"/>
86     <bean id="forwardingPathValidator"
87         class="org.openecomp.sdc.be.components.path.beans.ForwardingPathValidatorMock"/>
88     <bean id="dataTypeValidatorConverter"
89         class="org.openecomp.sdc.be.model.tosca.validators.DataTypeValidatorConverter"/>
90     <bean id="sdcSchemaUtils" class="org.openecomp.sdc.be.dao.cassandra.schema.SdcSchemaUtils"/>
91     <bean id="dmaapProducer" class="org.openecomp.sdc.be.catalog.impl.DmaapProducer"/>
92     <bean id="catalogOperation" class="org.openecomp.sdc.be.facade.operations.CatalogOperation"/>
93     <bean id="userOperation" class="org.openecomp.sdc.be.facade.operations.UserOperation"/>
94     <bean id="dmaapProducerHealth" class="org.openecomp.sdc.be.catalog.impl.DmaapProducerHealth"/>
95     <bean id="feature_toggle_dao"
96         class="org.openecomp.sdc.be.components.path.beans.FeatureToggleDaoMock"/>
97     <bean id="tosca-model-import-cassandra-dao"
98         class="org.openecomp.sdc.be.components.path.beans.ToscaModelImportCassandraDaoMock"/>
99     <bean name="httpClient" class="org.apache.http.impl.client.HttpClients"
100         factory-method="createDefault"/>
101     <bean class="org.openecomp.sdc.be.components.attribute.AttributeDeclarationOrchestrator"/>
102     <bean
103         class="org.openecomp.sdc.be.components.attribute.ComponentInstanceOutputAttributeDeclarator"/>
104     <bean class="org.openecomp.sdc.be.components.attribute.ComponentInstanceAttributeDeclarator"/>
105
106 </beans>