summaryrefslogtreecommitdiffstats
path: root/data-router/dynamic
diff options
context:
space:
mode:
authordavesh <shwetank.dave@amdocs.com>2017-05-16 16:20:21 -0400
committerdavesh <shwetank.dave@amdocs.com>2017-05-16 16:25:32 -0400
commitffcebde0d6f0b163dec4e1ba35f4771502276f3a (patch)
treed1e941c27e114312f4e8647ab1c71b3c6bd709f2 /data-router/dynamic
parentc8154280f854daa637d56455c505d1429f8cc2fc (diff)
Initial commit of test-config
Change-Id: I2e75d4207685872e32b3fb2c6d03660e4394763e Signed-off-by: davesh <shwetank.dave@amdocs.com>
Diffstat (limited to 'data-router/dynamic')
-rwxr-xr-xdata-router/dynamic/conf/entity-event-policy.xml24
-rwxr-xr-xdata-router/dynamic/routes/entity-event.route4
2 files changed, 28 insertions, 0 deletions
diff --git a/data-router/dynamic/conf/entity-event-policy.xml b/data-router/dynamic/conf/entity-event-policy.xml
new file mode 100755
index 0000000..6c44ce3
--- /dev/null
+++ b/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.openecomp.datarouter.policy.EntityEventPolicyConfig" >
+ <property name="sourceDomain" value="default" />
+ <property name="searchBaseUrl" value="<TO_REPLACE>" />
+ <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.openecomp.datarouter.policy.EntityEventPolicy" init-method="startup" >
+ <constructor-arg ref="eepConfig"/>
+ </bean>
+</beans>
diff --git a/data-router/dynamic/routes/entity-event.route b/data-router/dynamic/routes/entity-event.route
new file mode 100755
index 0000000..7ecff79
--- /dev/null
+++ b/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=<TO_REPLACE>" />
+ <to uri="bean:entityEventPolicy?method=process"/>
+</route> \ No newline at end of file