Gurjeet Bedi | 274c579 | 2018-03-27 10:22:52 -0400 | [diff] [blame] | 1 | <beans xmlns="http://www.springframework.org/schema/beans" |
| 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xmlns:util="http://www.springframework.org/schema/util" |
| 4 | xsi:schemaLocation=" |
| 5 | http://www.springframework.org/schema/beans |
| 6 | http://www.springframework.org/schema/beans/spring-beans.xsd |
| 7 | http://www.springframework.org/schema/util |
| 8 | http://www.springframework.org/schema/util/spring-util.xsd |
| 9 | "> |
| 10 | |
| 11 | <bean id="champDao" class="org.onap.crud.dao.champ.ChampDao"> |
Daniel Silverthorn | 3102326 | 2018-03-28 19:18:19 +0000 | [diff] [blame^] | 12 | <constructor-arg name="champUrl" value="https://{{.Release.Name}}-aai-champ.{{.Release.Namespace}}:9522/services/champ-service/v1/"/> |
Gurjeet Bedi | 274c579 | 2018-03-27 10:22:52 -0400 | [diff] [blame] | 13 | <constructor-arg name="certPassword" value="OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10"/> |
| 14 | </bean> |
| 15 | |
| 16 | <bean id="dataRouterDAO" class="org.onap.crud.dao.DataRouterDAO"> |
| 17 | <constructor-arg name="url" value="https://data-router.{{.Release.Namespace}}:9502/services/champ-service/v1/"/> |
| 18 | <constructor-arg name="certPassword" value="OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10"/> |
| 19 | </bean> |
| 20 | |
| 21 | <!-- Synchronous Mode --> |
| 22 | <bean id="graphDataService" class="org.onap.crud.service.CrudGraphDataService" > |
| 23 | <constructor-arg name="dao" ref="champDao" /> |
| 24 | <constructor-arg name="daoForGet" ref="champDao" /> <!-- Using champ for both types of API for now --> |
| 25 | </bean> |
| 26 | |
| 27 | <bean id="crudRestService" class="org.onap.crud.service.CrudRestService" init-method="startup" > |
| 28 | <constructor-arg name="graphDataService" ref="graphDataService" /> |
| 29 | </bean> |
| 30 | |
| 31 | <bean id="aaiResourceService" class="org.onap.crud.service.AaiResourceService" init-method="startup" > |
| 32 | <constructor-arg name="graphDataService" ref="graphDataService" /> |
| 33 | </bean> |
| 34 | |
Daniel Silverthorn | 3102326 | 2018-03-28 19:18:19 +0000 | [diff] [blame^] | 35 | </beans> |