summaryrefslogtreecommitdiffstats
path: root/kubernetes/pomba/components/pomba-data-router/resources/dynamic/conf/audit-bean.xml
blob: 3f22a8b70152631273b13da5140d549b96663643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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>