-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2017 Pantheon technologies s.r.o. and others. All rights reserved.
-
- This program and the accompanying materials are made available under the
- terms of the Eclipse Public License v1.0 which accompanies this distribution,
- and is available at http://www.eclipse.org/legal/epl-v10.html
--->
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
- xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0">
- <!-- Restconf providers -->
- <cm:property-placeholder persistent-id="org.opendaylight.restconf.nb.rfc8040">
- <cm:default-properties>
- <cm:property name="maximum-fragment-length" value="0"/>
- <cm:property name="heartbeat-interval" value="10000"/>
- <cm:property name="idle-timeout" value="30000"/>
- <cm:property name="ping-executor-name-prefix" value="ping-executor"/>
- <cm:property name="max-thread-count" value="1"/>
- <cm:property name="use-sse" value="true"/>
- </cm:default-properties>
- </cm:property-placeholder>
-
- <reference id="databindProvider" interface="org.opendaylight.restconf.nb.rfc8040.databind.DatabindProvider"/>
- <reference id="customFilterAdapterConfiguration" interface="org.opendaylight.aaa.filterchain.configuration.CustomFilterAdapterConfiguration"/>
- <reference id="webContextSecurer" interface="org.opendaylight.aaa.web.WebContextSecurer"/>
- <reference id="webServer" interface="org.opendaylight.aaa.web.WebServer"/>
- <reference id="servletSupport" interface="org.opendaylight.aaa.web.servlet.ServletSupport"/>
- <reference id="dOMActionService" interface="org.opendaylight.mdsal.dom.api.DOMActionService"/>
- <reference id="dOMDataBroker" interface="org.opendaylight.mdsal.dom.api.DOMDataBroker"/>
- <reference id="dOMMountPointService" interface="org.opendaylight.mdsal.dom.api.DOMMountPointService"/>
- <reference id="dOMNotificationService" interface="org.opendaylight.mdsal.dom.api.DOMNotificationService"/>
- <reference id="dOMRpcService" interface="org.opendaylight.mdsal.dom.api.DOMRpcService"/>
- <reference id="dOMSchemaService" interface="org.opendaylight.mdsal.dom.api.DOMSchemaService"/>
-
- <bean id="restconfNorthbound" class="org.opendaylight.restconf.nb.rfc8040.JaxRsNorthbound" destroy-method="close">
- <argument ref="webServer"/>
- <argument ref="webContextSecurer"/>
- <argument ref="servletSupport"/>
- <argument ref="customFilterAdapterConfiguration"/>
- <argument ref="dOMActionService"/>
- <argument ref="dOMDataBroker"/>
- <argument ref="dOMMountPointService"/>
- <argument ref="dOMNotificationService"/>
- <argument ref="dOMRpcService"/>
- <argument ref="dOMSchemaService"/>
- <argument ref="databindProvider"/>
- <argument value="${ping-executor-name-prefix}"/>
- <argument value="${max-thread-count}"/>
- <argument value="${maximum-fragment-length}"/>
- <argument value="${heartbeat-interval}"/>
- <argument value="${idle-timeout}"/>
- <argument value="${use-sse}"/>
- </bean>
-</blueprint>