Merge "Upload ONAP TOSCA Issue-ID: OOM-1400"
[oom.git] / kubernetes / aai / charts / aai-data-router / resources / dynamic / conf / entity-event-policy.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="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" />
35   </bean>
36   
37   <bean id="consumerBeanEntityEvent" class="org.onap.aai.event.client.DMaaPEventConsumer " >
38     <constructor-arg name="host" value="message-router.{{.Release.Namespace}}:3904" />
39     <constructor-arg name="topic" value="AAI-EVENT" />
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   </bean>
48
49   <bean id="entityEventPolicy" class="org.onap.aai.datarouter.policy.EntityEventPolicy" init-method="startup" >
50     <constructor-arg ref="eepConfig"/>
51   </bean>
52 </beans>