It adds a ref to MountPointService in TransportpceProvider.java.
It also lists model-topology (org.opendaylight.controller.model) and
sal-netconf-connector (org.opendaylight.netconf) as dependencies in
impl/pom.xml.
They are required by the next NETCONF operations.
Change-Id: If0deccf36c7a8d7e51e79d92c5c4e35cf02c95e4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
<artifactId>transportpce-api</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.opendaylight.controller.model</groupId>
+ <artifactId>model-topology</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.netconf</groupId>
+ <artifactId>sal-netconf-connector</artifactId>
+ <version>1.5.0-SNAPSHOT</version>
+ </dependency>
<!-- Testing Dependencies -->
<dependency>
package org.opendaylight.transportpce.impl;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
+import org.opendaylight.controller.md.sal.binding.api.MountPointService;
+
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
private final DataBroker dataBroker;
- public TransportpceProvider(final DataBroker dataBroker) {
+ private final MountPointService mountPointService;
+
+ public TransportpceProvider(final DataBroker dataBroker, final MountPointService mountPointService) {
this.dataBroker = dataBroker;
+ this.mountPointService = mountPointService;
}
/**
public void close() {
LOG.info("TransportpceProvider Closed");
}
-}
\ No newline at end of file
+}
<reference id="dataBroker"
interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
odl:type="default" />
+ <reference id="mountPointService"
+ interface="org.opendaylight.controller.md.sal.binding.api.MountPointService" />
<bean id="provider"
class="org.opendaylight.transportpce.impl.TransportpceProvider"
init-method="init" destroy-method="close">
<argument ref="dataBroker" />
+ <argument ref="mountPointService" />
</bean>
</blueprint>