[AAI] Reintegrate AAI OOM charts in main repo
[oom.git] / kubernetes / aai / components / 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     <property name="schemaVersions" ref="schemaVersions" />
36     <property name="schemaLocationsBean" ref="schemaLocationsBean" />
37   </bean>
38   
39   <bean id="consumerBeanEntityEvent" class="org.onap.aai.event.client.DMaaPEventConsumer" >
40     <constructor-arg name="host" value="message-router.{{.Release.Namespace}}:{{.Values.event.port.dmaap}}" />
41     <constructor-arg name="topic" value="{{.Values.event.consumer.topic}}" />
42     <constructor-arg name="username" value="" />
43     <constructor-arg name="password" value="" />
44     <constructor-arg name="consumerGroup" value="datarouter" />
45     <constructor-arg name="consumerId" value="datarouter" />
46     <constructor-arg name="timeoutMs" value="1000" />
47     <constructor-arg name="messageLimit" value="100" />
48     <constructor-arg name="transportType" value="HTTPAUTH" />
49     <constructor-arg name="protocol" value="{{.Values.event.protocol}}" />
50     <constructor-arg name="filter"><null /></constructor-arg>
51   </bean>
52
53   <bean id="entityEventPolicy" class="org.onap.aai.datarouter.policy.EntityEventPolicy" init-method="startup" >
54     <constructor-arg ref="eepConfig"/>
55   </bean>
56 </beans>