blob: a507886bfda817c77fef8655b2c479628e2ca6d5 [file] [log] [blame]
toshrajbhardwaj84d73b12018-08-06 07:35:14 +00001# Copyright © 2018 Amdocs, Bell Canada, AT&T
2#
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
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
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.
14
Gurjeet Bedi274c5792018-03-27 10:22:52 -040015<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"
18 xsi:schemaLocation="
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
23 ">
24
25 <bean id="champDao" class="org.onap.crud.dao.champ.ChampDao">
BorislavGe7500682018-04-24 07:56:27 +000026 <constructor-arg name="champUrl" value="https://aai-champ.{{.Release.Namespace}}:9522/services/champ-service/v1/"/>
Gurjeet Bedi274c5792018-03-27 10:22:52 -040027 <constructor-arg name="certPassword" value="OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10"/>
28 </bean>
29
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"/>
33 </bean>
34
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 -->
39 </bean>
40
41 <bean id="crudRestService" class="org.onap.crud.service.CrudRestService" init-method="startup" >
42 <constructor-arg name="graphDataService" ref="graphDataService" />
43 </bean>
44
45 <bean id="aaiResourceService" class="org.onap.crud.service.AaiResourceService" init-method="startup" >
46 <constructor-arg name="graphDataService" ref="graphDataService" />
47 </bean>
48
Daniel Silverthorn31023262018-03-28 19:18:19 +000049</beans>