Update license header in appc-dispatcher xml files
[appc.git] / appc-dispatcher / appc-request-handler / appc-request-handler-core / 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-2018 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="vnfRequestHandlerBean" class="org.onap.appc.requesthandler.impl.RequestHandlerImpl" scope="singleton" >
33         <property name="commandExecutor" ref="commandExecutorRef" />
34         <property name="requestValidator" ref="vnfRequestValidatorBean" />
35         <property name="lockManager" ref="lockManagerRef" />
36         <property name="transactionRecorder" ref="transactionRecorderRef" />
37     </bean>
38
39     <bean id="vnfRequestValidatorBean" class="org.onap.appc.requesthandler.impl.RequestValidatorImpl" scope="singleton" init-method="initialize">
40         <property name="workflowManager" ref="workflowManagerRef" />
41         <property name="lcmStateManager" ref="lcmStateManagerBean" />
42         <property name="lockManager" ref="lockManagerRef" />
43         <property name="transactionRecorder" ref="transactionRecorderRef" />
44         <property name="requestValidationPolicy" ref="requestValidationPolicyBean"/>
45     </bean>
46
47     <bean id="LocalRequestHandlerBean" class="org.onap.appc.requesthandler.impl.LocalRequestHandlerImpl" scope="singleton" >
48         <property name="requestValidator" ref="LocalRequestValidatorBean" />
49         <property name="transactionRecorder" ref="transactionRecorderRef" />
50     </bean>
51
52     <bean id="LocalRequestValidatorBean" class="org.onap.appc.requesthandler.impl.LocalRequestValidatorImpl" scope="singleton">
53         <property name="lcmStateManager" ref="lcmStateManagerBean" />
54         <property name="transactionRecorder" ref="transactionRecorderRef" />
55     </bean>
56
57     <bean id="lcmStateManagerBean" class="org.onap.appc.requesthandler.impl.LCMStateManagerImpl" scope="singleton" />
58
59     <bean id="requestValidationPolicyBean" init-method="initialize" scope="singleton" class="org.onap.appc.validationpolicy.RequestValidationPolicy">
60         <property name="dbLibService" ref="dbLibServiceRef" />
61     </bean>
62
63     <reference id="dbLibServiceRef" availability="mandatory" activation="eager" interface="org.onap.ccsdk.sli.core.dblib.DbLibService" />
64
65     <service id="LocalRequestHandlerService" interface="org.onap.appc.requesthandler.RequestHandler" ref="LocalRequestHandlerBean">
66         <service-properties>
67             <entry key="level">
68                 <value type="java.lang.String">MGMT</value>
69             </entry>
70         </service-properties>
71     </service>
72     <service id="vnfRequestHandlerService" interface="org.onap.appc.requesthandler.RequestHandler" ref="vnfRequestHandlerBean">
73         <service-properties>
74             <entry key="level">
75                 <value type="java.lang.String">VNF</value>
76             </entry>
77         </service-properties>
78     </service>
79
80     <service id="lcmStateManagerService" interface="org.onap.appc.requesthandler.LCMStateManager" ref="lcmStateManagerBean"/>
81     <reference id="workflowManagerRef" availability="mandatory" activation="eager" interface="org.onap.appc.workflow.WorkFlowManager" />
82     <reference id="commandExecutorRef" availability="optional" activation="eager" interface="org.onap.appc.executor.CommandExecutor" />
83     <reference id="lockManagerRef" availability="mandatory" activation="eager" interface="org.onap.appc.lockmanager.api.LockManager" />
84     <reference id="transactionRecorderRef" availability="mandatory" activation="eager" interface="org.onap.appc.transactionrecorder.TransactionRecorder" />
85     <reference xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0" ext:proxy-method="classes" id="aaiServiceRef" availability="mandatory" activation="eager" interface="org.onap.ccsdk.sli.adaptors.aai.AAIService" />
86
87 </blueprint>