summaryrefslogtreecommitdiffstats
path: root/kubernetes/pomba/charts/pomba-data-router/resources/dynamic/conf/audit-bean.xml
diff options
context:
space:
mode:
authorJennie Jia <Jennie.Jia@amdocs.com>2018-08-16 15:50:33 +0000
committerMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-08-29 22:15:13 +0000
commit20bb5cdd606bbc65ef4bf13defef674d9f6934cf (patch)
treea288a024837b6e969293195dd2f66657fb06795e /kubernetes/pomba/charts/pomba-data-router/resources/dynamic/conf/audit-bean.xml
parentb9d3a955ecf11a76d9e3ae3ce528bc4816dac674 (diff)
Add Pomba Data Router to OOM
Issue-ID: LOG-589 Change-Id: I0ce093983997379bb94c21bb0361b5d23ec2f994 Signed-off-by: Jennie Jia <Jennie.Jia@amdocs.com>
Diffstat (limited to 'kubernetes/pomba/charts/pomba-data-router/resources/dynamic/conf/audit-bean.xml')
-rw-r--r--kubernetes/pomba/charts/pomba-data-router/resources/dynamic/conf/audit-bean.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/kubernetes/pomba/charts/pomba-data-router/resources/dynamic/conf/audit-bean.xml b/kubernetes/pomba/charts/pomba-data-router/resources/dynamic/conf/audit-bean.xml
new file mode 100644
index 0000000000..3f22a8b701
--- /dev/null
+++ b/kubernetes/pomba/charts/pomba-data-router/resources/dynamic/conf/audit-bean.xml
@@ -0,0 +1,23 @@
+<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="eventPublisher" class="org.onap.aai.event.client.DMaaPEventPublisher" >
+ <constructor-arg name="host" value="message-router.{{.Release.Namespace}}:3904" />
+ <constructor-arg name="topic" value="POA-AUDIT-INIT" />
+ <constructor-arg name="username" value="" />
+ <constructor-arg name="password" value="" />
+ <constructor-arg name="maxBatchSize" value="100" />
+ <constructor-arg name="maxAgeMs" value="250" />
+ <constructor-arg name="delayBetweenBatchesMs" value="50" />
+ <constructor-arg name="transportType" value="HTTPAUTH" />
+ </bean>
+
+ <bean id="auditService" class="org.onap.aai.datarouter.service.AuditService" >
+ <constructor-arg ref="eventPublisher" />
+ </bean>
+
+</beans>