blob: cbb8266bf70914c433e66d53c1cec4921b77da25 [file] [log] [blame]
Arthur Martella62cd6aa2017-09-08 13:27:46 -04001<beans xmlns="http://www.springframework.org/schema/beans"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://www.springframework.org/schema/beans
4 http://www.springframework.org/schema/beans/spring-beans.xsd">
5
6 <!-- Spring bean to be invoked through the ApplicationContextElResolver -->
biniek5c788af2018-03-20 16:41:13 +01007 <bean id="aaiConnection" class="org.openecomp.mso.bpmn.infrastructure.pnf.aai.AaiConnectionImpl"/>
8
9 <bean id="checkAaiForCorrelationIdDelegate" class="org.openecomp.mso.bpmn.infrastructure.pnf.delegate.CheckAaiForCorrelationIdDelegate">
10 <property name="aaiConnection" ref="aaiConnection"/>
11 </bean>
12
13 <bean id="createAaiEntryWithPnfIdDelegate" class="org.openecomp.mso.bpmn.infrastructure.pnf.delegate.CreateAaiEntryWithPnfIdDelegate">
14 <property name="aaiConnection" ref="aaiConnection"/>
15 </bean>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040016
biniek402e5e22018-04-10 10:48:54 +020017 <bean id="informDmaapClient" class="org.openecomp.mso.bpmn.infrastructure.pnf.delegate.InformDmaapClient">
biniek12e339c2018-04-16 16:14:32 +020018 <property name="dmaapClient" ref="pnfEventReadyConsumer"/>
biniek402e5e22018-04-10 10:48:54 +020019 </bean>
20
Lukasz Muszkietab1965092018-04-12 18:24:12 +020021 <bean id="pnfEventReadyConsumer" class="org.openecomp.mso.bpmn.infrastructure.pnf.dmaap.PnfEventReadyConsumer"
22 init-method="init">
23 <property name="dmaapHost" value="${host}"/>
24 <property name="dmaapPort" value="${port}"/>
25 <property name="dmaapProtocol" value="${protocol}"/>
26 <property name="dmaapUriPathPrefix" value="${uriPathPrefix}"/>
Lukasz Muszkieta8e3ee2e2018-04-06 14:50:21 +020027 <property name="dmaapTopicName" value="${eventReadyTopicName}"/>
Lukasz Muszkietab1965092018-04-12 18:24:12 +020028 <property name="consumerGroup" value="${consumerGroup}"/>
Lukasz Muszkieta8e3ee2e2018-04-06 14:50:21 +020029 <property name="consumerId" value="${consumerId}"/>
Lukasz Muszkietab1965092018-04-12 18:24:12 +020030 <property name="dmaapClientInitialDelayInSeconds" value="${clientThreadInitialDelayInSeconds}"/>
31 <property name="dmaapClientDelayInSeconds" value="${clientThreadDelayInSeconds}"/>
Lukasz Muszkieta8e3ee2e2018-04-06 14:50:21 +020032 </bean>
33
34 <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
35 <property name="locations" value="classpath:dmaap.properties"/>
36 </bean>
37
Arthur Martella62cd6aa2017-09-08 13:27:46 -040038</beans>