improve logstash parsing
[oom.git] / kubernetes / aai / charts / aai-sparky-be / resources / config / spring-beans / sparky-core-apigw.xml
1 <!--
2
3 # Copyright © 2018 Amdocs, Bell Canada, AT&T
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 -->
17
18 <beans xmlns="http://www.springframework.org/schema/beans"
19         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20         xsi:schemaLocation="
21                http://www.springframework.org/schema/beans
22                http://www.springframework.org/schema/beans/spring-beans.xsd">
23
24         <bean id="synapseRestEndpointConfig" class="org.onap.aai.sparky.dal.rest.config.RestEndpointConfig">
25                 <property name="endpointIpAddress" value="aai.synapse.simpledemo.openecomp.org" />
26                 <property name="endpointServerPort" value="9502" />
27                 <property name="numRequestRetries" value="5" />
28                 <property name="restAuthenticationMode" value="SSL_CERT" />
29                 <property name="connectTimeoutInMs" value="60000" />
30                 <property name="readTimeoutInMs" value="30000" />
31                 <property name="certFileName" value="/auth/client-cert-onap.p12" />
32                 <property name="certPassword" value="OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10" />
33                 <property name="truststoreFileName" value="/auth/inventory-ui-keystore" />
34                 <property name="validateServerCertChain" value="false" />
35                 <property name="validateServerHostname" value="false" />
36                 <property name="resourceLoader" ref="sparkyResourceLoader" />
37                 
38         </bean>
39
40         <bean id="aaiuiProxyProcessor"
41                 class="org.onap.aai.sparky.dal.proxy.processor.AaiUiProxyProcessor">
42                 <constructor-arg ref="synapseRestEndpointConfig" />
43                 <constructor-arg name="apiGatewayEndpoint" value="ui-request" />
44         </bean>
45
46 </beans>
47
48