Incorporate the ECOMP SDC Artefact Generator code
[aai/babel.git] / src / test / resources / babel-beans.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context"
3         xsi:schemaLocation="
4                 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
5                 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.2.xsd">
6
7         <!-- ////////////////////////////////////////////////////////////////// -->
8         <!-- PROPERTY AND CONFIGURATION FILES -->
9         <!-- ////////////////////////////////////////////////////////////////// -->
10
11         <context:property-placeholder location="classpath:babel-auth.properties" ignore-unresolvable="true" />
12
13         <!-- ////////////////////////////////////////////////////////////////// -->
14         <!-- CONFIG BEANS -->
15         <!-- ////////////////////////////////////////////////////////////////// -->
16
17         <bean id="babelAuthConfig" class="org.onap.aai.babel.config.BabelAuthConfig">
18                 <property name="authenticationDisable" value="${auth.authentication.disable}" />
19                 <property name="authPolicyFile" value="${auth.policy.file}" />
20         </bean>
21
22         <!-- ////////////////////////////////////////////////////////////////// -->
23         <!-- IMPLEMENTATION BEANS -->
24         <!-- ////////////////////////////////////////////////////////////////// -->
25
26         <bean id="aaiMicroServiceAuth" class="org.onap.aai.auth.AAIMicroServiceAuth" >
27                 <constructor-arg ref="babelAuthConfig" />
28         </bean>
29
30
31         <bean id="generateArtifacts" class="org.onap.aai.babel.service.GenerateArtifactsServiceImpl" >
32                 <constructor-arg ref="aaiMicroServiceAuth" />   
33         </bean>
34
35 </beans>