Change code to use dmaap microservice
[appc.git] / appc-dg / appc-dg-shared / appc-dg-common / src / main / resources / OSGI-INF / blueprint / blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP : APPC
5   ================================================================================
6   Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
7   ================================================================================
8   Copyright (C) 2017 Amdocs
9   =============================================================================
10   Licensed under the Apache License, Version 2.0 (the "License");
11   you may not use this file except in compliance with the License.
12   You may obtain a copy of the License at
13   
14        http://www.apache.org/licenses/LICENSE-2.0
15   
16   Unless required by applicable law or agreed to in writing, software
17   distributed under the License is distributed on an "AS IS" BASIS,
18   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19   See the License for the specific language governing permissions and
20   limitations under the License.
21   
22   ============LICENSE_END=========================================================
23   -->
24
25 <!--
26     Starter Blueprint Camel Definition appc-aai-adapter-blueprint
27 -->
28 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
29            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
30            xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
31
32     <bean id="JsonDgUtilBean" class="org.onap.appc.dg.common.impl.JsonDgUtilImpl"/>
33     <service id="JsonDgUtil" interface="org.onap.appc.dg.common.JsonDgUtil" ref="JsonDgUtilBean"/>
34
35     <reference id="eventSenderReference" availability="mandatory" activation="eager"
36                interface="org.onap.appc.srvcomm.messaging.event.EventSender"/>
37
38     <bean id="DCAEReporterPluginBean" class="org.onap.appc.dg.common.impl.DCAEReporterPluginImpl"
39           scope="singleton">
40         <property name="eventSender" ref="eventSenderReference"/>
41     </bean>
42
43     <service id="DCAEReporterPlugin" interface="org.onap.appc.dg.common.DCAEReporterPlugin" 
44              ref="DCAEReporterPluginBean"/>
45
46     <bean id="OutputMessagePluginBean" class="org.onap.appc.dg.common.impl.OutputMessagePluginImpl" 
47           scope="singleton"/>
48     <service id="OutputMessagePlugin" interface="org.onap.appc.dg.common.OutputMessagePlugin" 
49              ref="OutputMessagePluginBean"/>
50
51     <bean id="legacyUtilBean" class="org.onap.appc.dg.common.impl.LegacyUtilImpl" scope="singleton"/>
52     <service id="legacyUtil" interface="org.onap.appc.dg.common.LegacyUtil" ref="legacyUtilBean"/>
53
54     <bean id="DgResolverPluginBean" class="org.onap.appc.dg.common.impl.DgResolverPluginImpl" scope="singleton"/>
55
56     <service id="DgResolverPlugin" interface="org.onap.appc.dg.common.DgResolverPlugin" 
57              ref="DgResolverPluginBean"/>
58
59     <bean id="vnfExecutionFlowBean" class="org.onap.appc.dg.common.impl.VnfExecutionFlowImpl" scope="singleton"/>
60     <service id="vnfExecutionFlowService" interface="org.onap.appc.dg.common.VnfExecutionFlow" 
61              ref="vnfExecutionFlowBean"/>
62
63     <bean id="VNFCDgResolverPluginBean" class="org.onap.appc.dg.common.impl.VNFCDgResolverPluginImpl" 
64           scope="singleton"/>
65
66     <service id="VNFCDgResolverPlugin" interface="org.onap.appc.dg.common.VNFCDgResolverPlugin" 
67              ref="VNFCDgResolverPluginBean"/>
68
69     <bean id="vnfConfiguratorBean" class="org.onap.appc.dg.common.impl.VNFConfiguratorImpl" scope="singleton"/>
70
71     <service id="vnfConfigurationService" interface="org.onap.appc.dg.common.VNFConfigurator" 
72              ref="vnfConfiguratorBean"/>
73
74     <bean id="interimMessageSender" class="org.onap.appc.dg.common.impl.IntermediateMessageSenderImpl" 
75           init-method="init" scope="singleton"/>
76     <service id="interimMessageSenderService" ref="interimMessageSender" 
77              interface="org.onap.appc.dg.common.IntermediateMessageSender"/>
78
79 </blueprint>