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