diff options
author | 2018-04-27 17:50:07 +0100 | |
---|---|---|
committer | 2018-04-30 16:43:50 +0100 | |
commit | e651abed417b8a173a0745042c7dc5b20c0b7036 (patch) | |
tree | 5fea87233a40181aacefc1b927c937462ade41a5 /src/test/resources/test-babel-beans.xml | |
parent | 1579afa649c2e76cbdf39dcfd5b77a800cc17249 (diff) |
Convert Babel from AJSC2 to Spring Boot 1.5.12
Change-Id: I2ea10250c3881827b6b274afadf1a8c89683f568
Issue-ID: AAI-1045
Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
Diffstat (limited to 'src/test/resources/test-babel-beans.xml')
-rw-r--r-- | src/test/resources/test-babel-beans.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/test/resources/test-babel-beans.xml b/src/test/resources/test-babel-beans.xml new file mode 100644 index 0000000..f102337 --- /dev/null +++ b/src/test/resources/test-babel-beans.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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" + xsi:schemaLocation=" + http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.2.xsd"> + + <!-- ////////////////////////////////////////////////////////////////// --> + <!-- PROPERTY AND CONFIGURATION FILES --> + <!-- ////////////////////////////////////////////////////////////////// --> + + <context:property-placeholder location="classpath:babel-auth.properties" ignore-unresolvable="true" /> + + <!-- ////////////////////////////////////////////////////////////////// --> + <!-- CONFIG BEANS --> + <!-- ////////////////////////////////////////////////////////////////// --> + + <bean id="babelAuthConfig" class="org.onap.aai.babel.config.BabelAuthConfig"> + <property name="authenticationDisable" value="${auth.authentication.disable}" /> + <property name="authPolicyFile" value="${auth.policy.file}" /> + </bean> + + <!-- ////////////////////////////////////////////////////////////////// --> + <!-- IMPLEMENTATION BEANS --> + <!-- ////////////////////////////////////////////////////////////////// --> + + <bean id="aaiMicroServiceAuth" class="org.onap.aai.auth.AAIMicroServiceAuth" > + <constructor-arg ref="babelAuthConfig" /> + </bean> + + + <bean id="generateArtifacts" class="org.onap.aai.babel.service.GenerateArtifactsServiceImpl" > + <constructor-arg ref="aaiMicroServiceAuth" /> + </bean> + +</beans> |