Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 1 | <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 -->
|
biniek | 5c788af | 2018-03-20 16:41:13 +0100 | [diff] [blame] | 7 | <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 Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 16 |
|
biniek | 402e5e2 | 2018-04-10 10:48:54 +0200 | [diff] [blame] | 17 | <bean id="informDmaapClient" class="org.openecomp.mso.bpmn.infrastructure.pnf.delegate.InformDmaapClient">
|
biniek | 12e339c | 2018-04-16 16:14:32 +0200 | [diff] [blame^] | 18 | <property name="dmaapClient" ref="pnfEventReadyConsumer"/>
|
biniek | 402e5e2 | 2018-04-10 10:48:54 +0200 | [diff] [blame] | 19 | </bean>
|
| 20 |
|
Lukasz Muszkieta | b196509 | 2018-04-12 18:24:12 +0200 | [diff] [blame] | 21 | <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 Muszkieta | 8e3ee2e | 2018-04-06 14:50:21 +0200 | [diff] [blame] | 27 | <property name="dmaapTopicName" value="${eventReadyTopicName}"/>
|
Lukasz Muszkieta | b196509 | 2018-04-12 18:24:12 +0200 | [diff] [blame] | 28 | <property name="consumerGroup" value="${consumerGroup}"/>
|
Lukasz Muszkieta | 8e3ee2e | 2018-04-06 14:50:21 +0200 | [diff] [blame] | 29 | <property name="consumerId" value="${consumerId}"/>
|
Lukasz Muszkieta | b196509 | 2018-04-12 18:24:12 +0200 | [diff] [blame] | 30 | <property name="dmaapClientInitialDelayInSeconds" value="${clientThreadInitialDelayInSeconds}"/>
|
| 31 | <property name="dmaapClientDelayInSeconds" value="${clientThreadDelayInSeconds}"/>
|
Lukasz Muszkieta | 8e3ee2e | 2018-04-06 14:50:21 +0200 | [diff] [blame] | 32 | </bean>
|
| 33 |
|
| 34 | <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
| 35 | <property name="locations" value="classpath:dmaap.properties"/>
|
| 36 | </bean>
|
| 37 |
|
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 38 | </beans>
|