Merge "Replace ecomp tag with onap"
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / webapp / WEB-INF / applicationContext.xml
1 <beans xmlns="http://www.springframework.org/schema/beans"\r
2        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
3        xsi:schemaLocation="http://www.springframework.org/schema/beans\r
4                            http://www.springframework.org/schema/beans/spring-beans.xsd">\r
5 \r
6   <!-- Spring bean to be invoked through the ApplicationContextElResolver -->\r
7   <bean id="aaiConnection" class="org.openecomp.mso.bpmn.infrastructure.pnf.aai.AaiConnectionImpl"/>\r
8 \r
9   <bean id="checkAaiForCorrelationIdDelegate" class="org.openecomp.mso.bpmn.infrastructure.pnf.delegate.CheckAaiForCorrelationIdDelegate">\r
10     <property name="aaiConnection" ref="aaiConnection"/>\r
11   </bean>\r
12 \r
13   <bean id="createAaiEntryWithPnfIdDelegate" class="org.openecomp.mso.bpmn.infrastructure.pnf.delegate.CreateAaiEntryWithPnfIdDelegate">\r
14     <property name="aaiConnection" ref="aaiConnection"/>\r
15   </bean>\r
16 \r
17   <bean id="informDmaapClient" class="org.openecomp.mso.bpmn.infrastructure.pnf.delegate.InformDmaapClient">\r
18     <property name="dmaapClient" ref="pnfEventReadyConsumer"/>\r
19   </bean>\r
20 \r
21   <bean id="pnfEventReadyConsumer" class="org.openecomp.mso.bpmn.infrastructure.pnf.dmaap.PnfEventReadyConsumer"\r
22     init-method="init">\r
23     <property name="dmaapHost" value="${host}"/>\r
24     <property name="dmaapPort" value="${port}"/>\r
25     <property name="dmaapProtocol" value="${protocol}"/>\r
26     <property name="dmaapUriPathPrefix" value="${uriPathPrefix}"/>\r
27     <property name="dmaapTopicName" value="${eventReadyTopicName}"/>\r
28     <property name="consumerGroup" value="${consumerGroup}"/>\r
29     <property name="consumerId" value="${consumerId}"/>\r
30     <property name="dmaapClientDelayInSeconds" value="${clientThreadDelayInSeconds}"/>\r
31   </bean>\r
32 \r
33   <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">\r
34     <property name="locations" value="classpath:dmaap.properties"/>\r
35   </bean>\r
36 \r
37 </beans>\r