Upgrade APPC to use common mariadb galera charts
[oom.git] / kubernetes / aai / charts / aai-sparky-be / resources / config / spring-beans / sparky-core-gizmo.xml
1 <!--
2 # 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.
15 -->
16
17 <beans xmlns="http://www.springframework.org/schema/beans"
18         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19         xsi:schemaLocation="
20                http://www.springframework.org/schema/beans
21                http://www.springframework.org/schema/beans/spring-beans.xsd">
22
23         <bean id="gizmoRestEndpointConfig" class="org.onap.aai.sparky.dal.rest.config.RestEndpointConfig">
24                 <property name="endpointIpAddress" value="{{.Values.global.gizmo.serviceName}}.{{.Release.Namespace}}" />
25                 <property name="endpointServerPort" value="9520" />
26                 <property name="numRequestRetries" value="5" />
27                 <property name="restAuthenticationMode" value="SSL_CERT" />
28                 <property name="connectTimeoutInMs" value="60000" />
29                 <property name="readTimeoutInMs" value="30000" />
30                 <property name="certFileName" value="/auth/client-cert-onap.p12" />
31                 <property name="certPassword" value="OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10" />
32                 <property name="truststoreFileName" value="/auth/inventory-ui-keystore" />
33                 <property name="validateServerCertChain" value="false" />
34                 <property name="validateServerHostname" value="false" />
35                 <property name="resourceLoader" ref="sparkyResourceLoader" />
36         </bean>
37
38         <bean id="gizmoAdapter" class="org.onap.aai.sparky.dal.GizmoAdapter">
39                 <constructor-arg ref="oxmModelLoader" />
40                 <constructor-arg ref="gizmoRestEndpointConfig" />
41                 <property name="relationshipsBasePath" value="/services/inventory/relationships/v13/" />
42                 <property name="inventoryBasePath" value="/services/inventory/v13/" />
43         </bean>
44
45 </beans>