blob: 48db706b1ff0a1fabde0a9e6659f924f5cef5816 [file] [log] [blame]
Michael Arrastia53a457a2018-09-13 14:27:43 +01001<!--
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Copyright © 2018 Amdocs, Bell Canada, AT&T
3#
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
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
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.
Michael Arrastia53a457a2018-09-13 14:27:43 +010015-->
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +000016
Gurjeet Bedi3bce64b2018-03-27 10:22:52 -040017<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"
20 xsi:schemaLocation="
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
25 ">
26
27 <bean id="champDao" class="org.onap.crud.dao.champ.ChampDao">
BorislavG1ffbd992018-04-24 07:56:27 +000028 <constructor-arg name="champUrl" value="https://aai-champ.{{.Release.Namespace}}:9522/services/champ-service/v1/"/>
Gurjeet Bedi3bce64b2018-03-27 10:22:52 -040029 <constructor-arg name="certPassword" value="OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10"/>
30 </bean>
31
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"/>
35 </bean>
36
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 -->
41 </bean>
42
43 <bean id="crudRestService" class="org.onap.crud.service.CrudRestService" init-method="startup" >
44 <constructor-arg name="graphDataService" ref="graphDataService" />
45 </bean>
46
47 <bean id="aaiResourceService" class="org.onap.crud.service.AaiResourceService" init-method="startup" >
48 <constructor-arg name="graphDataService" ref="graphDataService" />
49 </bean>
50
Daniel Silverthorn82cee4d2018-03-28 19:18:19 +000051</beans>