diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-11-26 09:58:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-11-26 09:58:16 +0000 |
commit | ee07bc6c45cb623c8302d1374ca2a4648452a05b (patch) | |
tree | c4b26b809174af38d166a619a7b08c84c9fc965d /kubernetes/pomba/components/pomba-data-router/resources/dynamic/conf/audit-bean.xml | |
parent | c95cb6667263e48daed36613565fb6466bce0553 (diff) | |
parent | 93ed075394f96106433fec580fabb6a066ed10dd (diff) |
Merge "[POMBA] Uses new tpls for repos / images"
Diffstat (limited to 'kubernetes/pomba/components/pomba-data-router/resources/dynamic/conf/audit-bean.xml')
-rw-r--r-- | kubernetes/pomba/components/pomba-data-router/resources/dynamic/conf/audit-bean.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/kubernetes/pomba/components/pomba-data-router/resources/dynamic/conf/audit-bean.xml b/kubernetes/pomba/components/pomba-data-router/resources/dynamic/conf/audit-bean.xml new file mode 100644 index 0000000000..3f22a8b701 --- /dev/null +++ b/kubernetes/pomba/components/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>
|