Config. allowed instances in component composition
[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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24        xmlns:context="http://www.springframework.org/schema/context"
25        xmlns:aop="http://www.springframework.org/schema/aop"
26        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
27         http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
28         http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
29
30   <context:annotation-config />
31   <aop:aspectj-autoproxy proxy-target-class="true" />
32
33   <context:component-scan
34     base-package="org.openecomp.sdc.be.dao.impl,
35                 org.openecomp.sdc.be.dao.neo4j,
36                 org.openecomp.sdc.be.model.operations.impl,
37                 org.openecomp.sdc.be.model.cache,
38                 org.openecomp.sdc.be.dao.janusgraph,
39                 org.openecomp.sdc.be.user, 
40                 org.openecomp.sdc.be.impl,
41                 org.openecomp.sdc.be.auditing.impl,
42                 org.openecomp.sdc.be.components.impl,
43                 org.openecomp.sdc.be.components.merge,
44                 org.openecomp.sdc.be.components.property,
45                 org.openecomp.sdc.be.components.distribution.engine,
46                 org.openecomp.sdc.be.facade.operations,
47                 org.openecomp.sdc.be.distribution,
48                 org.openecomp.sdc.be.components.validation,
49                 org.openecomp.sdc.be.switchover.detector,
50                 org.openecomp.sdc.be.tosca,
51                 org.openecomp.sdc.be.model.operations.impl,
52                 org.openecomp.sdc.be.model.jsonjanusgraph.operations,
53                 org.openecomp.sdc.be.model.jsonjanusgraph.utils,
54                 org.openecomp.sdc.be.model.jsonjanusgraph.config,
55                 org.openecomp.sdc.be.components.csar,
56                 org.openecomp.sdc.be.datamodel.utils,
57                 org.openecomp.sdc.be.model.utils,
58                 org.openecomp.sdc.be.dao.jsongraph">
59                 
60    </context:component-scan>
61   <bean id="tosca-operation-facade" class="org.openecomp.sdc.be.components.path.beans.ForwardingPathToscaOperationFacade" />
62   <bean id="janusgraph-client" class="org.openecomp.sdc.be.components.path.beans.InMemoryJanusGraphClient" />
63   <bean id="lifecycleBusinessLogic" class="org.openecomp.sdc.be.components.lifecycle.LifecycleBusinessLogic" />
64   <bean id="userBusinessLogicExt" class="org.openecomp.sdc.be.user.UserBusinessLogicExt" />
65   <bean id="asset-metadata-utils" class="org.openecomp.sdc.be.ecomp.converters.AssetMetadataConverter" />
66   <bean class="org.openecomp.sdc.be.dao.config.DAOSpringConfig"/>
67   <bean id="cassandra-client" class="org.openecomp.sdc.be.components.path.beans.CassandraClientMock" />
68   <bean id="audit-cassandra-dao" class="org.openecomp.sdc.be.components.path.beans.AuditCassandraDaoMock" />
69   <bean id="artifact-cassandra-dao" class="org.openecomp.sdc.be.components.path.beans.ArtifactCassandraDaoMock" />
70   <bean id="operational-environment-dao" class="org.openecomp.sdc.be.components.path.beans.EnvironmentCassandraDaoMock"/>
71   <bean id="sdc-schema-files-cassandra-dao" class="org.openecomp.sdc.be.components.path.beans.SdcSchemaFilesCassandraDaoMock" />
72   <bean id="distributionEngine" class="org.openecomp.sdc.be.components.path.beans.DistributionEngineMock"/>
73   <bean id="forwardingPathValidator" class="org.openecomp.sdc.be.components.path.beans.ForwardingPathValidatorMock" />
74   <bean id="dataTypeValidatorConverter" class="org.openecomp.sdc.be.model.tosca.validators.DataTypeValidatorConverter" />
75   <bean id="sdcSchemaUtils" class="org.openecomp.sdc.be.dao.cassandra.schema.SdcSchemaUtils" />
76   <bean id="dmaapProducer" class="org.openecomp.sdc.be.catalog.impl.DmaapProducer" />
77   <bean id="catalogOperation" class="org.openecomp.sdc.be.facade.operations.CatalogOperation" />
78   <bean id="userOperation" class="org.openecomp.sdc.be.facade.operations.UserOperation" />
79   <bean id="dmaapProducerHealth" class="org.openecomp.sdc.be.catalog.impl.DmaapProducerHealth" />
80   <bean id="feature_toggle_dao" class="org.openecomp.sdc.be.components.path.beans.FeatureToggleDaoMock" />
81   <bean name="httpClient" class="org.apache.http.impl.client.HttpClients" factory-method="createDefault" >
82   </bean>
83
84 </beans>