2 # Copyright © 2018 Amdocs, Bell Canada, AT&T
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 <beans xmlns="http://www.springframework.org/schema/beans"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 http://www.springframework.org/schema/beans
21 http://www.springframework.org/schema/beans/spring-beans.xsd">
23 <bean id="eepConfig" class="org.onap.aai.datarouter.policy.EntityEventPolicyConfig" >
24 <property name="sourceDomain" value="dev" />
25 <property name="searchBaseUrl" value="https://{{.Values.global.searchData.serviceName}}.{{.Release.Namespace}}:9509" />
26 <property name="searchEndpoint" value="services/search-data-service/v1/search/indexes/" />
27 <property name="searchEndpointDocuments" value = "documents" />
28 <property name="searchEntitySearchIndex" value="entity-search-index" />
29 <property name="searchTopographySearchIndex" value="topography-search-index" />
30 <property name="searchEntityAutoSuggestIndex" value="entityautosuggestindex" />
31 <property name="searchAggregationVnfIndex" value="aggregate_generic-vnf_index" />
32 <property name="searchCertName" value="client-cert-onap.p12" />
33 <property name="searchKeystorePwd" value="OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10" />
34 <property name="searchKeystore" value="tomcat_keystore" />
37 <bean id="consumerBeanEntityEvent" class="org.onap.aai.event.client.DMaaPEventConsumer" >
38 <constructor-arg name="host" value="message-router.{{.Release.Namespace}}:{{.Values.event.port.dmaap}}" />
39 <constructor-arg name="topic" value="{{.Values.event.consumer.topic}}" />
40 <constructor-arg name="username" value="" />
41 <constructor-arg name="password" value="" />
42 <constructor-arg name="consumerGroup" value="datarouter" />
43 <constructor-arg name="consumerId" value="datarouter" />
44 <constructor-arg name="timeoutMs" value="1000" />
45 <constructor-arg name="messageLimit" value="100" />
46 <constructor-arg name="transportType" value="HTTPAUTH" />
47 <constructor-arg name="protocol" value="{{.Values.event.protocol}}" />
48 <constructor-arg name="contentType" value="application/json" />
51 <bean id="entityEventPolicy" class="org.onap.aai.datarouter.policy.EntityEventPolicy" init-method="startup" >
52 <constructor-arg ref="eepConfig"/>