diff options
author | Mandeep Khinda <Mandeep.Khinda@amdocs.com> | 2018-03-27 18:15:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-27 18:15:20 +0000 |
commit | 262bc57bb3be7d222fe6e521344a8fd7e918be8c (patch) | |
tree | 6edab70e7c678a5f51cf975fba29e368cde76e82 /kubernetes/aai/charts/aai-data-router/resources/dynamic | |
parent | cb047cbcd492cfac220745b6509912de29b9344c (diff) | |
parent | 9bf2731ab42d49b3ac89d07e0e1282f685151c57 (diff) |
Merge "Add standardized helm chart for aai"
Diffstat (limited to 'kubernetes/aai/charts/aai-data-router/resources/dynamic')
-rw-r--r-- | kubernetes/aai/charts/aai-data-router/resources/dynamic/conf/entity-event-policy.xml | 24 | ||||
-rw-r--r-- | kubernetes/aai/charts/aai-data-router/resources/dynamic/routes/entity-event.route | 4 |
2 files changed, 28 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-data-router/resources/dynamic/conf/entity-event-policy.xml b/kubernetes/aai/charts/aai-data-router/resources/dynamic/conf/entity-event-policy.xml new file mode 100644 index 0000000000..e995053f12 --- /dev/null +++ b/kubernetes/aai/charts/aai-data-router/resources/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/charts/aai-data-router/resources/dynamic/routes/entity-event.route b/kubernetes/aai/charts/aai-data-router/resources/dynamic/routes/entity-event.route new file mode 100644 index 0000000000..7b4e902313 --- /dev/null +++ b/kubernetes/aai/charts/aai-data-router/resources/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&groupName=datarouter&groupId=datarouter&url=http://dmaap.{{.Release.Namespace}}:3904"/> + <to uri="bean:entityEventPolicy?method=process"/> +</route> |