diff --git a/core/store/dist/BUCK b/core/store/dist/BUCK index b5db3b8e20..0e4731eee1 100644 --- a/core/store/dist/BUCK +++ b/core/store/dist/BUCK @@ -8,6 +8,7 @@ COMPILE_DEPS = [ '//lib:netty-buffer', '//lib:netty-handler', '//lib:netty-transport-native-epoll', + '//lib:netty-resolver', '//lib:commons-math3', '//incubator/api:onos-incubator-api', ] diff --git a/core/store/dist/pom.xml b/core/store/dist/pom.xml index 8cff6adc1b..64ad934482 100644 --- a/core/store/dist/pom.xml +++ b/core/store/dist/pom.xml @@ -100,20 +100,28 @@ io.netty netty-transport + ${netty4.version} io.netty netty-codec + ${netty4.version} io.netty netty-handler + ${netty4.version} io.netty netty-transport-native-epoll ${netty4.version} + + io.netty + netty-resolver + ${netty4.version} + diff --git a/core/store/primitives/BUCK b/core/store/primitives/BUCK index 6fa96309d8..0758c3ea35 100644 --- a/core/store/primitives/BUCK +++ b/core/store/primitives/BUCK @@ -14,6 +14,7 @@ TEST_DEPS = [ '//lib:netty-handler', '//lib:netty-buffer', '//lib:netty-codec', + '//lib:netty-resolver', ] diff --git a/core/store/primitives/pom.xml b/core/store/primitives/pom.xml index 0c60c4cc7a..6ae0cf6b1b 100644 --- a/core/store/primitives/pom.xml +++ b/core/store/primitives/pom.xml @@ -70,18 +70,18 @@ io.atomix atomix - 1.0.0-rc9 + 1.0.0 io.atomix.catalyst catalyst-netty - 1.1.1 + 1.1.2 io.atomix.catalyst catalyst-transport - 1.1.1 + 1.1.2 org.onosproject diff --git a/features/BUCK b/features/BUCK index d249509ed1..48e64dee3b 100644 --- a/features/BUCK +++ b/features/BUCK @@ -15,6 +15,7 @@ osgi_feature ( '//lib:netty-handler', '//lib:netty-codec', '//lib:netty-transport-native-epoll', + '//lib:netty-resolver', '//lib:commons-pool', '//lib:commons-math3', '//lib:joda-time', diff --git a/features/features.xml b/features/features.xml index d570e01d1e..5e32db7f49 100644 --- a/features/features.xml +++ b/features/features.xml @@ -25,12 +25,13 @@ mvn:commons-configuration/commons-configuration/1.10 mvn:com.google.guava/guava/19.0 mvn:io.netty/netty/3.10.5.Final - mvn:io.netty/netty-common/4.0.40.Final - mvn:io.netty/netty-buffer/4.0.40.Final - mvn:io.netty/netty-transport/4.0.40.Final - mvn:io.netty/netty-handler/4.0.40.Final - mvn:io.netty/netty-codec/4.0.40.Final - mvn:io.netty/netty-transport-native-epoll/4.0.40.Final + mvn:io.netty/netty-common/4.1.5.Final + mvn:io.netty/netty-buffer/4.1.5.Final + mvn:io.netty/netty-transport/4.1.5.Final + mvn:io.netty/netty-handler/4.1.5.Final + mvn:io.netty/netty-codec/4.1.5.Final + mvn:io.netty/netty-transport-native-epoll/4.1.5.Final + mvn:io.netty/netty-resolver/4.1.5.Final mvn:commons-pool/commons-pool/1.6 mvn:org.apache.commons/commons-math3/3.6.1 @@ -56,7 +57,7 @@ mvn:com.typesafe/config/1.2.1 mvn:com.googlecode.concurrent-trees/concurrent-trees/2.6.0 mvn:commons-io/commons-io/2.4 - mvn:io.atomix/atomix-all/1.0.0-rc9 + mvn:io.atomix/atomix-all/1.0.0 mvn:org.glassfish.jersey.core/jersey-client/2.25 diff --git a/lib/BUCK b/lib/BUCK index f77228403d..f54426dc7c 100644 --- a/lib/BUCK +++ b/lib/BUCK @@ -1,4 +1,4 @@ -# ***** This file was auto-generated at Wed Jan 18 10:15:14 PST 2017. Do not edit this file manually. ***** +# ***** This file was auto-generated at Fri Jan 20 11:48:05 PST 2017. Do not edit this file manually. ***** osgi_feature_group( name = 'COMPILE', visibility = ['PUBLIC'], @@ -137,10 +137,10 @@ remote_jar ( remote_jar ( name = 'atomix', - out = 'atomix-all-1.0.0-rc9.jar', - url = 'mvn:io.atomix:atomix-all:jar:1.0.0-rc9', - sha1 = '05a5ff76bba888856416b3132e1c45626f0fcaaf', - maven_coords = 'io.atomix:atomix-all:1.0.0-rc9', + out = 'atomix-all-1.0.0.jar', + url = 'mvn:io.atomix:atomix-all:jar:1.0.0', + sha1 = '1a1074eeb84b416a8ef032dabfe2f6a201978630', + maven_coords = 'io.atomix:atomix-all:1.0.0', visibility = [ 'PUBLIC' ], ) @@ -740,82 +740,91 @@ remote_jar ( remote_jar ( name = 'netty-buffer', - out = 'netty-buffer-4.0.40.Final.jar', - url = 'mvn:io.netty:netty-buffer:jar:4.0.40.Final', - sha1 = '9ccf9a1130dbb4a4142febd5d6f68c735a7a059b', - maven_coords = 'io.netty:netty-buffer:4.0.40.Final', + out = 'netty-buffer-4.1.5.Final.jar', + url = 'mvn:io.netty:netty-buffer:jar:4.1.5.Final', + sha1 = 'b5fb6bccda4d63d4a74c9faccdf32f77ab66abc1', + maven_coords = 'io.netty:netty-buffer:4.1.5.Final', visibility = [ 'PUBLIC' ], ) remote_jar ( name = 'netty-codec', - out = 'netty-codec-4.0.40.Final.jar', - url = 'mvn:io.netty:netty-codec:jar:4.0.40.Final', - sha1 = 'f6ad91e4884b47c3e7e5faa3732b06e317ab82e1', - maven_coords = 'io.netty:netty-codec:4.0.40.Final', + out = 'netty-codec-4.1.5.Final.jar', + url = 'mvn:io.netty:netty-codec:jar:4.1.5.Final', + sha1 = '66bbf9324fa36467d041083f89328e2a24ec4f67', + maven_coords = 'io.netty:netty-codec:4.1.5.Final', visibility = [ 'PUBLIC' ], ) remote_jar ( name = 'netty-common', - out = 'netty-common-4.0.40.Final.jar', - url = 'mvn:io.netty:netty-common:jar:4.0.40.Final', - sha1 = 'ef08d9d6fa46f6a937e7a9934030df16f38978ae', - maven_coords = 'io.netty:netty-common:4.0.40.Final', + out = 'netty-common-4.1.5.Final.jar', + url = 'mvn:io.netty:netty-common:jar:4.1.5.Final', + sha1 = '607f8433d8782445e72abe34e43a7e57e86a5e6c', + maven_coords = 'io.netty:netty-common:4.1.5.Final', visibility = [ 'PUBLIC' ], ) remote_jar ( name = 'netty-handler', - out = 'netty-handler-4.0.40.Final.jar', - url = 'mvn:io.netty:netty-handler:jar:4.0.40.Final', - sha1 = '1d283fea961c27190a520fc841148715f5569a8a', - maven_coords = 'io.netty:netty-handler:4.0.40.Final', + out = 'netty-handler-4.1.5.Final.jar', + url = 'mvn:io.netty:netty-handler:jar:4.1.5.Final', + sha1 = '6262900ee9487e62560030a136160df953b1cd6b', + maven_coords = 'io.netty:netty-handler:4.1.5.Final', visibility = [ 'PUBLIC' ], ) remote_jar ( name = 'netty-transport', - out = 'netty-transport-4.0.40.Final.jar', - url = 'mvn:io.netty:netty-transport:jar:4.0.40.Final', - sha1 = 'ad6890b272eea75185252c85c2927752e221764d', - maven_coords = 'io.netty:netty-transport:4.0.40.Final', + out = 'netty-transport-4.1.5.Final.jar', + url = 'mvn:io.netty:netty-transport:jar:4.1.5.Final', + sha1 = '37126b370722ff9631ee13c91139aacec0a71d1d', + maven_coords = 'io.netty:netty-transport:4.1.5.Final', visibility = [ 'PUBLIC' ], ) remote_jar ( name = 'netty-transport-native-epoll', - out = 'netty-transport-native-epoll-4.0.40.Final.jar', - url = 'mvn:io.netty:netty-transport-native-epoll:jar:4.0.40.Final', - sha1 = 'd9cb62e87b207ac0e9913023f404b42987671d56', - maven_coords = 'io.netty:netty-transport-native-epoll:4.0.40.Final', + out = 'netty-transport-native-epoll-4.1.5.Final.jar', + url = 'mvn:io.netty:netty-transport-native-epoll:jar:4.1.5.Final', + sha1 = 'fa367ea8a375f236f4adeef1ac769d2d91dde1d1', + maven_coords = 'io.netty:netty-transport-native-epoll:4.1.5.Final', + visibility = [ 'PUBLIC' ], +) + +remote_jar ( + name = 'netty-resolver', + out = 'netty-resolver-4.1.5.Final.jar', + url = 'mvn:io.netty:netty-resolver:jar:4.1.5.Final', + sha1 = '5f367bedcdc185a727fda3296b9a18014cdc22c4', + maven_coords = 'io.netty:netty-resolver:4.1.5.Final', visibility = [ 'PUBLIC' ], ) remote_jar ( name = 'catalyst-concurrent', - out = 'catalyst-concurrent-1.1.1.jar', - url = 'mvn:io.atomix.catalyst:catalyst-concurrent:jar:1.1.1', - sha1 = 'a7f3499b9815d83f65137abe0146238e447514c7', - maven_coords = 'io.atomix.catalyst:catalyst-concurrent:1.1.1', + out = 'catalyst-concurrent-1.1.2.jar', + url = 'mvn:io.atomix.catalyst:catalyst-concurrent:jar:1.1.2', + sha1 = 'f7323bc5a1ebfd4710574cf5485956c949eec20b', + maven_coords = 'io.atomix.catalyst:catalyst-concurrent:1.1.2', visibility = [ 'PUBLIC' ], ) remote_jar ( name = 'catalyst-netty', - out = 'catalyst-netty-1.1.1.jar', - url = 'mvn:io.atomix.catalyst:catalyst-netty:jar:1.1.1', - sha1 = '8e9e5e6d8fdf01be26aa8a8eb07f762f5f4d4eb4', - maven_coords = 'io.atomix.catalyst:catalyst-netty:1.1.1', + out = 'catalyst-netty-1.1.2.jar', + url = 'mvn:io.atomix.catalyst:catalyst-netty:jar:1.1.2', + sha1 = '3072b53b1a6c0686ceccff3d371f8ea8aa28a273', + maven_coords = 'io.atomix.catalyst:catalyst-netty:1.1.2', visibility = [ 'PUBLIC' ], ) remote_jar ( name = 'catalyst-transport', - out = 'catalyst-transport-1.1.1.jar', - url = 'mvn:io.atomix.catalyst:catalyst-transport:jar:1.1.1', - sha1 = '2b38cb9ee3b5817b017072a886006461824d00c6', - maven_coords = 'io.atomix.catalyst:catalyst-transport:1.1.1', + out = 'catalyst-transport-1.1.2.jar', + url = 'mvn:io.atomix.catalyst:catalyst-transport:jar:1.1.2', + sha1 = '4a50b74deb6601d7fdca34e873a016c83db7bebf', + maven_coords = 'io.atomix.catalyst:catalyst-transport:1.1.2', visibility = [ 'PUBLIC' ], ) diff --git a/lib/deps.json b/lib/deps.json index d44f30cae8..4f162b337d 100644 --- a/lib/deps.json +++ b/lib/deps.json @@ -90,7 +90,7 @@ "aopalliance-repackaged": "mvn:org.glassfish.hk2.external:aopalliance-repackaged:2.5.0-b30", "amqp-client": "mvn:com.rabbitmq:amqp-client:jar:3.6.1", "asm": "mvn:org.ow2.asm:asm:5.0.4", - "atomix": "mvn:io.atomix:atomix-all:1.0.0-rc9", + "atomix": "mvn:io.atomix:atomix-all:1.0.0", "commons-codec": "mvn:commons-codec:commons-codec:1.10", "commons-collections": "mvn:commons-collections:commons-collections:3.2.2", "commons-configuration": "mvn:commons-configuration:commons-configuration:1.10", @@ -157,15 +157,16 @@ "minimal-json": "mvn:com.eclipsesource.minimal-json:minimal-json:0.9.4", "minlog": "mvn:com.esotericsoftware:minlog:1.3.0", "netty": "mvn:io.netty:netty:3.10.5.Final", - "netty-buffer": "mvn:io.netty:netty-buffer:4.0.40.Final", - "netty-codec": "mvn:io.netty:netty-codec:4.0.40.Final", - "netty-common": "mvn:io.netty:netty-common:4.0.40.Final", - "netty-handler": "mvn:io.netty:netty-handler:4.0.40.Final", - "netty-transport": "mvn:io.netty:netty-transport:4.0.40.Final", - "netty-transport-native-epoll": "mvn:io.netty:netty-transport-native-epoll:4.0.40.Final", - "catalyst-concurrent": "mvn:io.atomix.catalyst:catalyst-concurrent:1.1.1", - "catalyst-netty": "mvn:io.atomix.catalyst:catalyst-netty:1.1.1", - "catalyst-transport": "mvn:io.atomix.catalyst:catalyst-transport:1.1.1", + "netty-buffer": "mvn:io.netty:netty-buffer:4.1.5.Final", + "netty-codec": "mvn:io.netty:netty-codec:4.1.5.Final", + "netty-common": "mvn:io.netty:netty-common:4.1.5.Final", + "netty-handler": "mvn:io.netty:netty-handler:4.1.5.Final", + "netty-transport": "mvn:io.netty:netty-transport:4.1.5.Final", + "netty-transport-native-epoll": "mvn:io.netty:netty-transport-native-epoll:4.1.5.Final", + "netty-resolver": "mvn:io.netty:netty-resolver:4.1.5.Final", + "catalyst-concurrent": "mvn:io.atomix.catalyst:catalyst-concurrent:1.1.2", + "catalyst-netty": "mvn:io.atomix.catalyst:catalyst-netty:1.1.2", + "catalyst-transport": "mvn:io.atomix.catalyst:catalyst-transport:1.1.2", "objenesis": "mvn:org.objenesis:objenesis:2.2", "openflowj": "mvn:org.onosproject:openflowj:0.9.7.onos", "org.apache.felix.scr": "mvn:org.apache.felix:org.apache.felix.scr:1.8.2", diff --git a/lib/pom.xml b/lib/pom.xml index 49bda357b0..c2643e370e 100644 --- a/lib/pom.xml +++ b/lib/pom.xml @@ -41,7 +41,7 @@ UTF-8 1.3 - 4.0.40.Final + 4.1.5.Final 0.9.7.onos 1.10 5.0.0 @@ -327,6 +327,12 @@ ${os.detected.classifier} + + io.netty + netty-resolver + ${netty4.version} + + joda-time joda-time diff --git a/protocols/lisp/ctl/BUCK b/protocols/lisp/ctl/BUCK index 447eeb4ac7..2888a8859c 100644 --- a/protocols/lisp/ctl/BUCK +++ b/protocols/lisp/ctl/BUCK @@ -6,7 +6,8 @@ COMPILE_DEPS = [ '//lib:netty-codec', '//lib:netty-transport', '//lib:netty-transport-native-epoll', - '//lib:netty-handler' + '//lib:netty-handler', + '//lib:netty-resolver', ] TEST_DEPS = [ diff --git a/protocols/lisp/ctl/src/test/java/org/onosproject/lisp/ctl/impl/ChannelAdapter.java b/protocols/lisp/ctl/src/test/java/org/onosproject/lisp/ctl/impl/ChannelAdapter.java index ebed4422fc..22e7efef59 100644 --- a/protocols/lisp/ctl/src/test/java/org/onosproject/lisp/ctl/impl/ChannelAdapter.java +++ b/protocols/lisp/ctl/src/test/java/org/onosproject/lisp/ctl/impl/ChannelAdapter.java @@ -19,6 +19,7 @@ import io.netty.buffer.ByteBufAllocator; import io.netty.channel.Channel; import io.netty.channel.ChannelConfig; import io.netty.channel.ChannelFuture; +import io.netty.channel.ChannelId; import io.netty.channel.ChannelPipeline; import io.netty.channel.ChannelPromise; import io.netty.channel.ChannelProgressivePromise; @@ -33,6 +34,11 @@ import java.net.SocketAddress; * Adapter for testing against a netty channel. */ public class ChannelAdapter implements Channel { + @Override + public ChannelId id() { + return null; + } + @Override public EventLoop eventLoop() { return null; @@ -88,6 +94,16 @@ public class ChannelAdapter implements Channel { return false; } + @Override + public long bytesBeforeUnwritable() { + return 0; + } + + @Override + public long bytesBeforeWritable() { + return 0; + } + @Override public Unsafe unsafe() { return null; @@ -223,6 +239,11 @@ public class ChannelAdapter implements Channel { return null; } + @Override + public boolean hasAttr(AttributeKey key) { + return false; + } + @Override public int compareTo(Channel o) { return 0; diff --git a/protocols/lisp/ctl/src/test/java/org/onosproject/lisp/ctl/impl/ChannelHandlerContextAdapter.java b/protocols/lisp/ctl/src/test/java/org/onosproject/lisp/ctl/impl/ChannelHandlerContextAdapter.java index b76c7e65df..f288b1b665 100644 --- a/protocols/lisp/ctl/src/test/java/org/onosproject/lisp/ctl/impl/ChannelHandlerContextAdapter.java +++ b/protocols/lisp/ctl/src/test/java/org/onosproject/lisp/ctl/impl/ChannelHandlerContextAdapter.java @@ -234,4 +234,9 @@ public class ChannelHandlerContextAdapter implements ChannelHandlerContext { public Attribute attr(AttributeKey attributeKey) { return null; } + + @Override + public boolean hasAttr(AttributeKey key) { + return false; + } } diff --git a/protocols/lisp/ctl/src/test/java/org/onosproject/lisp/ctl/impl/LispMessageAdapter.java b/protocols/lisp/ctl/src/test/java/org/onosproject/lisp/ctl/impl/LispMessageAdapter.java index 24a460220c..a019677056 100644 --- a/protocols/lisp/ctl/src/test/java/org/onosproject/lisp/ctl/impl/LispMessageAdapter.java +++ b/protocols/lisp/ctl/src/test/java/org/onosproject/lisp/ctl/impl/LispMessageAdapter.java @@ -45,7 +45,7 @@ public class LispMessageAdapter implements LispMessage { @Override public InetSocketAddress getSender() { - return null; + return new InetSocketAddress(1); } @Override