Madan Jampani
Committed by Gerrit Code Review

Fix CopycatTransportClient thread check + bump up atomix version to latest rc

Change-Id: Ie66868ebaaa14ea36125e7f419ac3c3a887e9bce
......@@ -37,18 +37,17 @@ public class CopycatTransportClient implements Client {
private final String clusterName;
private final MessagingService messagingService;
private final CopycatTransport.Mode mode;
private final ThreadContext context;
private final Set<CopycatTransportConnection> connections = Sets.newConcurrentHashSet();
CopycatTransportClient(String clusterName, MessagingService messagingService, CopycatTransport.Mode mode) {
this.clusterName = checkNotNull(clusterName);
this.messagingService = checkNotNull(messagingService);
this.mode = checkNotNull(mode);
this.context = ThreadContext.currentContextOrThrow();
}
@Override
public CompletableFuture<Connection> connect(Address remoteAddress) {
ThreadContext context = ThreadContext.currentContextOrThrow();
CopycatTransportConnection connection = new CopycatTransportConnection(
nextConnectionId(),
CopycatTransport.Mode.CLIENT,
......
......@@ -78,7 +78,7 @@
<onos-build-conf.version>1.1</onos-build-conf.version>
<netty4.version>4.0.33.Final</netty4.version>
<!-- TODO: replace with final release version when it is out -->
<atomix.version>0.1.0-beta4</atomix.version>
<atomix.version>0.1.0-beta5</atomix.version>
<copycat.version>0.5.1.onos</copycat.version>
<openflowj.version>0.9.1.onos</openflowj.version>
<onos-maven-plugin.version>1.8-SNAPSHOT</onos-maven-plugin.version>
......