summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOInfrastructureBPMN/src/main/webapp/WEB-INF/applicationContext.xml
blob: 1273b30f0a973091346d3e8774f681f5c3aec751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<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">

  <!-- Spring bean to be invoked through the ApplicationContextElResolver -->
  <bean id="aaiConnection" class="org.openecomp.mso.bpmn.infrastructure.pnf.aai.AaiConnectionImpl"/>

  <bean id="checkAaiForCorrelationIdDelegate" class="org.openecomp.mso.bpmn.infrastructure.pnf.delegate.CheckAaiForCorrelationIdDelegate">
    <property name="aaiConnection" ref="aaiConnection"/>
  </bean>

  <bean id="createAaiEntryWithPnfIdDelegate" class="org.openecomp.mso.bpmn.infrastructure.pnf.delegate.CreateAaiEntryWithPnfIdDelegate">
    <property name="aaiConnection" ref="aaiConnection"/>
  </bean>

  <bean id="informDmaapClient" class="org.openecomp.mso.bpmn.infrastructure.pnf.delegate.InformDmaapClient">
    <property name="dmaapClient" ref="pnfEventReadyDmaapClient"/>
  </bean>

  <bean id="cancelDmaapSubscription" class="org.openecomp.mso.bpmn.infrastructure.pnf.delegate.CancelDmaapSubscription">
    <property name="dmaapClient" ref="pnfEventReadyDmaapClient"/>
  </bean>

  <bean id="pnfEventReadyDmaapClient" class="org.openecomp.mso.bpmn.infrastructure.pnf.dmaap.PnfEventReadyDmaapClient"
    init-method="init">
    <property name="dmaapHost" value="${host}"/>
    <property name="dmaapPort" value="${port}"/>
    <property name="dmaapProtocol" value="${protocol}"/>
    <property name="dmaapUriPathPrefix" value="${uriPathPrefix}"/>
    <property name="dmaapTopicName" value="${eventReadyTopicName}"/>
    <property name="consumerGroup" value="${consumerGroup}"/>
    <property name="consumerId" value="${consumerId}"/>
    <property name="dmaapClientDelayInSeconds" value="${clientThreadDelayInSeconds}"/>
  </bean>

  <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="locations" value="classpath:dmaap.properties"/>
  </bean>

  <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="locations" value="classpath:pnf.properties"/>
  </bean>

  <bean id="pnfCheckInputs" class="org.openecomp.mso.bpmn.infrastructure.pnf.delegate.PnfCheckInputs">
    <property name="defaultTimeout" value="${defaultTimeout}"/>
  </bean>

</beans>