1 # Copyright © 2018 Amdocs, Bell Canada, AT&T
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 <beans xmlns="http://www.springframework.org/schema/beans"
16 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17 xmlns:util="http://www.springframework.org/schema/util"
19 http://www.springframework.org/schema/beans
20 http://www.springframework.org/schema/beans/spring-beans.xsd
21 http://www.springframework.org/schema/util
22 http://www.springframework.org/schema/util/spring-util.xsd
25 <bean id="champDao" class="org.onap.crud.dao.champ.ChampDao">
26 <constructor-arg name="champUrl" value="https://aai-champ.{{.Release.Namespace}}:9522/services/champ-service/v1/"/>
27 <constructor-arg name="certPassword" value="OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10"/>
30 <bean id="dataRouterDAO" class="org.onap.crud.dao.DataRouterDAO">
31 <constructor-arg name="url" value="https://data-router.{{.Release.Namespace}}:9502/services/champ-service/v1/"/>
32 <constructor-arg name="certPassword" value="OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10"/>
35 <!-- Synchronous Mode -->
36 <bean id="graphDataService" class="org.onap.crud.service.CrudGraphDataService" >
37 <constructor-arg name="dao" ref="champDao" />
38 <constructor-arg name="daoForGet" ref="champDao" /> <!-- Using champ for both types of API for now -->
41 <bean id="crudRestService" class="org.onap.crud.service.CrudRestService" init-method="startup" >
42 <constructor-arg name="graphDataService" ref="graphDataService" />
45 <bean id="aaiResourceService" class="org.onap.crud.service.AaiResourceService" init-method="startup" >
46 <constructor-arg name="graphDataService" ref="graphDataService" />