destroyInstance() WebSocketServer in two tests
[netconf.git] / netconf / callhome-provider / src / main / resources / OSGI-INF / blueprint / callhome-topology.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2016 Brocade Communication Systems and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
10            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
11            odl:use-default-for-reference-types="true">
12
13     <reference id="keepAliveExecutor"
14                interface="org.opendaylight.controller.config.threadpool.ScheduledThreadPool"
15                odl:type="global-netconf-ssh-scheduled-executor"/>
16     <reference id="processingExecutor"
17                interface="org.opendaylight.controller.config.threadpool.ThreadPool"
18                odl:type="global-netconf-processing-executor"/>
19     <reference id="eventExecutor"
20                interface="io.netty.util.concurrent.EventExecutor"
21                odl:type="global-event-executor"/>
22     <reference id="dataBroker"
23                interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
24     <reference id="domMountPointService"
25                interface="org.opendaylight.mdsal.dom.api.DOMMountPointService"/>
26     <reference id="encryptionService"
27                interface="org.opendaylight.aaa.encrypt.AAAEncryptionService" />
28
29     <bean id="schemaRepository" class="org.opendaylight.netconf.callhome.mount.SchemaRepositoryProviderImpl">
30         <argument value="shared-schema-repository-impl"/>
31     </bean>
32
33     <bean id="callhomeProvider" class="org.opendaylight.netconf.callhome.mount.IetfZeroTouchCallHomeServerProvider"
34           init-method="init"
35           destroy-method="close" >
36         <argument ref="dataBroker" />
37         <argument ref="callhomeDispatcher" />
38         <property name="port" value="6666" />
39     </bean>
40
41     <bean id="callhomeDispatcher" class="org.opendaylight.netconf.callhome.mount.CallHomeMountDispatcher">
42         <argument value="topology-netconf"/>
43         <argument ref="eventExecutor"/>
44         <argument ref="keepAliveExecutor"/>
45         <argument ref="processingExecutor"/>
46         <argument ref="schemaRepository"/>
47         <argument ref="dataBroker"/>
48         <argument ref="domMountPointService"/>
49         <argument ref="encryptionService"/>
50     </bean>
51 </blueprint>