aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/resources/config/data-router/dynamic
diff options
context:
space:
mode:
authormayankg2703 <mayank.gupta@amdocs.com>2018-02-05 11:00:25 +0000
committermayankg2703 <mayank.gupta@amdocs.com>2018-02-05 11:05:19 +0000
commit955077ebc3a783b57ae099843e9414a69537a3e1 (patch)
treefca13aa390cc57ca4d829a29b3c6d8471b88f224 /kubernetes/aai/resources/config/data-router/dynamic
parent6ef600ce9d8ab6dd7af3b64363a4d3212ca53036 (diff)
config seg aai data router
Change-Id: Ib49c01c7f602458a41c66eb354fa08a024bdea15 Issue-ID: OOM-659 Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
Diffstat (limited to 'kubernetes/aai/resources/config/data-router/dynamic')
-rw-r--r--kubernetes/aai/resources/config/data-router/dynamic/conf/entity-event-policy.xml24
-rw-r--r--kubernetes/aai/resources/config/data-router/dynamic/routes/entity-event.route4
2 files changed, 28 insertions, 0 deletions
diff --git a/kubernetes/aai/resources/config/data-router/dynamic/conf/entity-event-policy.xml b/kubernetes/aai/resources/config/data-router/dynamic/conf/entity-event-policy.xml
new file mode 100644
index 0000000000..e995053f12
--- /dev/null
+++ b/kubernetes/aai/resources/config/data-router/dynamic/conf/entity-event-policy.xml
@@ -0,0 +1,24 @@
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean id="eepConfig" class="org.onap.aai.datarouter.policy.EntityEventPolicyConfig" >
+ <property name="sourceDomain" value="default" />
+ <property name="searchBaseUrl" value="https://search-data-service:9509" />
+ <property name="searchEndpoint" value="services/search-data-service/v1/search/indexes/" />
+ <property name="searchEndpointDocuments" value = "documents" />
+ <property name="searchEntitySearchIndex" value="entity-search-index" />
+ <property name="searchTopographySearchIndex" value="topography-search-index" />
+ <property name="searchEntityAutoSuggestIndex" value="entity-autosuggest-index" />
+ <property name="searchAggregationVnfIndex" value="aggregate-vnf-index" />
+ <property name="searchCertName" value="client-cert-onap.p12" />
+ <property name="searchKeystorePwd" value="OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10" />
+ <property name="searchKeystore" value="tomcat_keystore" />
+ </bean>
+
+ <bean id="entityEventPolicy" class="org.onap.aai.datarouter.policy.EntityEventPolicy" init-method="startup" >
+ <constructor-arg ref="eepConfig"/>
+ </bean>
+</beans> \ No newline at end of file
diff --git a/kubernetes/aai/resources/config/data-router/dynamic/routes/entity-event.route b/kubernetes/aai/resources/config/data-router/dynamic/routes/entity-event.route
new file mode 100644
index 0000000000..81e1cf9877
--- /dev/null
+++ b/kubernetes/aai/resources/config/data-router/dynamic/routes/entity-event.route
@@ -0,0 +1,4 @@
+<route xmlns="http://camel.apache.org/schema/spring" trace="true">
+ <from uri="event-bus:mybus/?eventTopic=AAI-EVENT&amp;groupName=datarouter&amp;groupId=datarouter&amp;url=http://dmaap.onap-message-router:3904"/>
+ <to uri="bean:entityEventPolicy?method=process"/>
+</route>