From c0aefbe270a37756cf5eb4987626fee572584562 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Thu, 22 Mar 2018 13:17:51 +0100 Subject: [PATCH] Add missing DOMDataTreeService method DOMDataTreeService is an extensible service, hence we need to report our supported (none) extensions. Change-Id: I209dee750f3bef822c15dd472f1097b64c585e96 Signed-off-by: Robert Varga --- .../cluster/sharding/DistributedShardedDOMDataTree.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardedDOMDataTree.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardedDOMDataTree.java index 1b2d993883..53d0270312 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardedDOMDataTree.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/DistributedShardedDOMDataTree.java @@ -22,6 +22,7 @@ import com.google.common.base.Optional; import com.google.common.base.Preconditions; import com.google.common.base.Throwables; import com.google.common.collect.ForwardingObject; +import com.google.common.collect.ImmutableMap; import com.google.common.util.concurrent.FutureCallback; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.ListenableFuture; @@ -74,6 +75,7 @@ import org.opendaylight.mdsal.dom.api.DOMDataTreeLoopException; import org.opendaylight.mdsal.dom.api.DOMDataTreeProducer; import org.opendaylight.mdsal.dom.api.DOMDataTreeProducerException; import org.opendaylight.mdsal.dom.api.DOMDataTreeService; +import org.opendaylight.mdsal.dom.api.DOMDataTreeServiceExtension; import org.opendaylight.mdsal.dom.api.DOMDataTreeShard; import org.opendaylight.mdsal.dom.api.DOMDataTreeShardingConflictException; import org.opendaylight.mdsal.dom.api.DOMDataTreeShardingService; @@ -285,6 +287,11 @@ public class DistributedShardedDOMDataTree implements DOMDataTreeService, DOMDat return shardedDOMDataTree.registerListener(listener, subtrees, allowRxMerges, producers); } + @Override + public Map, DOMDataTreeServiceExtension> getSupportedExtensions() { + return ImmutableMap.of(); + } + @Nonnull @Override public DOMDataTreeProducer createProducer(@Nonnull final Collection subtrees) { -- 2.36.6