toshrajbhardwaj | 84d73b1 | 2018-08-06 07:35:14 +0000 | [diff] [blame^] | 1 | # 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 Bedi | 274c579 | 2018-03-27 10:22:52 -0400 | [diff] [blame] | 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" |
| 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"> |
BorislavG | e750068 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 26 | <constructor-arg name="champUrl" value="https://aai-champ.{{.Release.Namespace}}:9522/services/champ-service/v1/"/> |
Gurjeet Bedi | 274c579 | 2018-03-27 10:22:52 -0400 | [diff] [blame] | 27 | <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 Silverthorn | 3102326 | 2018-03-28 19:18:19 +0000 | [diff] [blame] | 49 | </beans> |