Remove the ability to inject differing DOMDataBroker
[netconf.git] / restconf / restconf-nb-bierman02 / src / main / resources / OSGI-INF / blueprint / restconf-config.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2017 Inocybe Technologies Inc. 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:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0">
11   <!-- Restconf providers -->
12   <cm:property-placeholder persistent-id="org.opendaylight.restconf" update-strategy="reload">
13     <cm:default-properties>
14       <cm:property name="websocket-address" value="0.0.0.0"/>
15       <cm:property name="websocket-port" value="8185"/>
16     </cm:default-properties>
17   </cm:property-placeholder>
18
19   <bean id="webSocketPort" class="org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber" factory-method="getDefaultInstance">
20     <argument value="${websocket-port}"/>
21   </bean>
22
23   <bean id="webSocketAddress" class="org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress">
24     <argument value="${websocket-address}"/>
25   </bean>
26
27   <bean id="restconfProviderDraft02" class="org.opendaylight.netconf.sal.restconf.impl.RestconfProviderImpl"
28           init-method="start" destroy-method="close">
29     <argument ref="statisticsRestconfServiceWrapper"/>
30     <argument ref="webSocketAddress"/>
31     <argument ref="webSocketPort"/>
32   </bean>
33 </blueprint>