Add tests for autonomous service rerouting
[transportpce.git] / nbinotifications / src / main / resources / OSGI-INF / blueprint / nobinotifications-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!-- Copyright © 2020 Orange and others. All rights reserved. This program and the accompanying materials
4     are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution,
5     and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
7 xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
8     odl:use-default-for-reference-types="true">
9     <cm:property-placeholder persistent-id="org.opendaylight.transportpce.nbinotifications" update-strategy="reload">
10         <cm:default-properties>
11             <cm:property name="suscriber.server" value="" />
12             <cm:property name="publisher.server" value="" />
13         </cm:default-properties>
14     </cm:property-placeholder>
15     <reference id="rpcService" interface="org.opendaylight.mdsal.binding.api.RpcProviderService"/>
16     <reference id="notificationService" interface="org.opendaylight.mdsal.binding.api.NotificationService"/>
17     <reference id="bindingDOMCodecServices" interface="org.opendaylight.mdsal.binding.dom.codec.spi.BindingDOMCodecServices" />
18     <bean id="provider"
19         class="org.opendaylight.transportpce.nbinotifications.impl.NbiNotificationsProvider"
20         init-method="init" destroy-method="close">
21         <argument>
22             <list value-type="java.lang.String">
23                 <value>PceListener</value>
24                 <value>ServiceHandlerOperations</value>
25                 <value>ServiceHandler</value>
26                 <value>RendererListener</value>
27             </list>
28         </argument>
29         <argument>
30             <list value-type="java.lang.String">
31                 <value>ServiceListener</value>
32             </list>
33         </argument>
34         <argument value="${suscriber.server}"/>
35         <argument value="${publisher.server}"/>
36         <argument ref="rpcService" />
37         <argument ref="notificationService" />
38         <argument ref="bindingDOMCodecServices" />
39     </bean>
40 </blueprint>