summaryrefslogtreecommitdiffstats
path: root/charts/aai-data-router/resources/dynamic/conf
diff options
context:
space:
mode:
authorfpaquett <francis.paquette@amdocs.com>2018-10-10 08:51:06 -0400
committerfpaquett <francis.paquette@amdocs.com>2018-10-10 08:51:22 -0400
commitaf49e066ba6caf91889d263474c3a93755473eee (patch)
tree1ea00854b4cb1c78704c6e0c3ce662e3a8964c0c /charts/aai-data-router/resources/dynamic/conf
parent4c62b4408e7c7a8525aaba05ee8cce385147b70b (diff)
fixed config so data-router start
Fixed 3 issues: - Needed to add another mount point for logs as the event-client-library expects logs in /opt/app/data-router/logs - Added the configuration regarding the use of aai-schema-ingest 1.3.0 - Fixed configuration parameters regaring the move to https to connect to dmaap. Issue-ID: AAI-1699 Change-Id: Ia92cd44c142433d0d0b308cc77f1f10e95acad60 Signed-off-by: fpaquett <francis.paquette@amdocs.com>
Diffstat (limited to 'charts/aai-data-router/resources/dynamic/conf')
-rw-r--r--charts/aai-data-router/resources/dynamic/conf/data-router-oxm.xml22
-rw-r--r--charts/aai-data-router/resources/dynamic/conf/entity-event-policy.xml4
2 files changed, 25 insertions, 1 deletions
diff --git a/charts/aai-data-router/resources/dynamic/conf/data-router-oxm.xml b/charts/aai-data-router/resources/dynamic/conf/data-router-oxm.xml
new file mode 100644
index 0000000..c945c39
--- /dev/null
+++ b/charts/aai-data-router/resources/dynamic/conf/data-router-oxm.xml
@@ -0,0 +1,22 @@
+<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context"
+ xmlns:task="http://www.springframework.org/schema/task"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.2.xsd
+ http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd">
+
+ <context:property-placeholder
+ location="file:${CONFIG_HOME}/schemaIngest.properties"
+ ignore-unresolvable="true" />
+
+ <bean id="schemaLocationsBean" class="org.onap.aai.setup.SchemaLocationsBean">
+ <!-- When running with AJSC these properties must be injected directly.
+ The reason for this is unknown. -->
+ <property name="nodeDirectory" value="${nodeDir}" />
+ <property name="edgeDirectory" value="${edgeDir}" />
+ </bean>
+
+ <bean id="schemaVersions" class="org.onap.aai.setup.SchemaVersions"/>
+
+</beans>
+
diff --git a/charts/aai-data-router/resources/dynamic/conf/entity-event-policy.xml b/charts/aai-data-router/resources/dynamic/conf/entity-event-policy.xml
index 60e71ec..b5e4129 100644
--- a/charts/aai-data-router/resources/dynamic/conf/entity-event-policy.xml
+++ b/charts/aai-data-router/resources/dynamic/conf/entity-event-policy.xml
@@ -32,6 +32,8 @@
<property name="searchCertName" value="client-cert-onap.p12" />
<property name="searchKeystorePwd" value="OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10" />
<property name="searchKeystore" value="tomcat_keystore" />
+ <property name="schemaVersions" ref="schemaVersions" />
+ <property name="schemaLocationsBean" ref="schemaLocationsBean" />
</bean>
<bean id="consumerBeanEntityEvent" class="org.onap.aai.event.client.DMaaPEventConsumer" >
@@ -45,7 +47,7 @@
<constructor-arg name="messageLimit" value="100" />
<constructor-arg name="transportType" value="HTTPAUTH" />
<constructor-arg name="protocol" value="{{.Values.event.protocol}}" />
- <constructor-arg name="contentType" value="application/json" />
+ <constructor-arg name="filter"><null /></constructor-arg>
</bean>
<bean id="entityEventPolicy" class="org.onap.aai.datarouter.policy.EntityEventPolicy" init-method="startup" >