rolling back to netty 4.1.8

Change-Id: I6dd305780eda38bb1ad6edb32de4d9aeca3d96ea
This commit is contained in:
Yuta HIGUCHI 2017-11-08 20:43:27 -08:00 committed by Yuta HIGUCHI
parent bf7d39bd75
commit dc86de726a
6 changed files with 50 additions and 63 deletions

View File

@ -14,7 +14,6 @@ osgi_feature (
'//lib:netty-transport', '//lib:netty-transport',
'//lib:netty-handler', '//lib:netty-handler',
'//lib:netty-codec', '//lib:netty-codec',
'//lib:netty-transport-native-unix-common',
'//lib:netty-transport-native-epoll', '//lib:netty-transport-native-epoll',
'//lib:netty-resolver', '//lib:netty-resolver',
'//lib:commons-pool', '//lib:commons-pool',

View File

@ -1,4 +1,4 @@
# ***** This file was auto-generated at Tue, 7 Nov 2017 01:42:57 GMT. Do not edit this file manually. ***** # ***** This file was auto-generated at Thu, 9 Nov 2017 04:08:17 GMT. Do not edit this file manually. *****
# ***** Use onos-lib-gen ***** # ***** Use onos-lib-gen *****
pass_thru_pom( pass_thru_pom(
@ -105,7 +105,6 @@ osgi_feature_group(
exported_deps = [ exported_deps = [
':netty-buffer', ':netty-buffer',
':netty-common', ':netty-common',
':netty-transport-native-unix-common',
], ],
) )
@ -829,91 +828,82 @@ remote_jar (
remote_jar ( remote_jar (
name = 'netty-buffer', name = 'netty-buffer',
out = 'netty-buffer-4.1.16.Final.jar', out = 'netty-buffer-4.1.8.Final.jar',
url = 'mvn:io.netty:netty-buffer:jar:4.1.16.Final', url = 'mvn:io.netty:netty-buffer:jar:4.1.8.Final',
sha1 = '63b5fa95c74785e16f2c30ce268bc222e35c8cb5', sha1 = '43292c2622e340a0d07178c341ca3bdf3d662034',
maven_coords = 'io.netty:netty-buffer:4.1.16.Final', maven_coords = 'io.netty:netty-buffer:4.1.8.Final',
visibility = [ 'PUBLIC' ], visibility = [ 'PUBLIC' ],
) )
remote_jar ( remote_jar (
name = 'netty-codec', name = 'netty-codec',
out = 'netty-codec-4.1.16.Final.jar', out = 'netty-codec-4.1.8.Final.jar',
url = 'mvn:io.netty:netty-codec:jar:4.1.16.Final', url = 'mvn:io.netty:netty-codec:jar:4.1.8.Final',
sha1 = 'd84a1f21768b7309c2954521cf5a1f46c2309eb1', sha1 = '1bd0a2d032e5c7fc3f42c1b483d0f4c57eb516a3',
maven_coords = 'io.netty:netty-codec:4.1.16.Final', maven_coords = 'io.netty:netty-codec:4.1.8.Final',
visibility = [ 'PUBLIC' ], visibility = [ 'PUBLIC' ],
) )
remote_jar ( remote_jar (
name = 'netty-common', name = 'netty-common',
out = 'netty-common-4.1.16.Final.jar', out = 'netty-common-4.1.8.Final.jar',
url = 'mvn:io.netty:netty-common:jar:4.1.16.Final', url = 'mvn:io.netty:netty-common:jar:4.1.8.Final',
sha1 = '177a6b30cca92f6f5f9873c9befd681377a4c328', sha1 = 'ee62c80318413d2375d145e51e48d7d35c901324',
maven_coords = 'io.netty:netty-common:4.1.16.Final', maven_coords = 'io.netty:netty-common:4.1.8.Final',
visibility = [ 'PUBLIC' ], visibility = [ 'PUBLIC' ],
) )
remote_jar ( remote_jar (
name = 'netty-handler', name = 'netty-handler',
out = 'netty-handler-4.1.16.Final.jar', out = 'netty-handler-4.1.8.Final.jar',
url = 'mvn:io.netty:netty-handler:jar:4.1.16.Final', url = 'mvn:io.netty:netty-handler:jar:4.1.8.Final',
sha1 = 'fec0e63e7dd7f4eeef7ea8dc47a1ff32dfc7ebc2', sha1 = 'db01139bfb11afd009a695eef55b43bbf22c4ef5',
maven_coords = 'io.netty:netty-handler:4.1.16.Final', maven_coords = 'io.netty:netty-handler:4.1.8.Final',
visibility = [ 'PUBLIC' ], visibility = [ 'PUBLIC' ],
) )
remote_jar ( remote_jar (
name = 'netty-transport', name = 'netty-transport',
out = 'netty-transport-4.1.16.Final.jar', out = 'netty-transport-4.1.8.Final.jar',
url = 'mvn:io.netty:netty-transport:jar:4.1.16.Final', url = 'mvn:io.netty:netty-transport:jar:4.1.8.Final',
sha1 = '3c8ee2c4d4a1cbb947a5c184c7aeb2204260958b', sha1 = '905b5dadce881c9824b3039c0df36dabbb7b6a07',
maven_coords = 'io.netty:netty-transport:4.1.16.Final', maven_coords = 'io.netty:netty-transport:4.1.8.Final',
visibility = [ 'PUBLIC' ],
)
remote_jar (
name = 'netty-transport-native-unix-common',
out = 'netty-transport-native-unix-common-4.1.16.Final.jar',
url = 'mvn:io.netty:netty-transport-native-unix-common:jar:4.1.16.Final',
sha1 = '8acbda23f39f60478bb73ea7c86e9fe121c13f7b',
maven_coords = 'io.netty:netty-transport-native-unix-common:4.1.16.Final',
visibility = [ 'PUBLIC' ], visibility = [ 'PUBLIC' ],
) )
remote_jar ( remote_jar (
name = 'netty-transport-native-epoll', name = 'netty-transport-native-epoll',
out = 'netty-transport-native-epoll-4.1.16.Final.jar', out = 'netty-transport-native-epoll-4.1.8.Final.jar',
url = 'mvn:io.netty:netty-transport-native-epoll:jar:4.1.16.Final', url = 'mvn:io.netty:netty-transport-native-epoll:jar:4.1.8.Final',
sha1 = 'd3d29837ecb6dc549cc37f9daf6b14bc6cd6c898', sha1 = 'de9052874d9ff9b411bfc465869f620cab643d8d',
maven_coords = 'io.netty:netty-transport-native-epoll:4.1.16.Final', maven_coords = 'io.netty:netty-transport-native-epoll:4.1.8.Final',
visibility = [ 'PUBLIC' ], visibility = [ 'PUBLIC' ],
) )
remote_jar ( remote_jar (
name = 'netty-resolver', name = 'netty-resolver',
out = 'netty-resolver-4.1.16.Final.jar', out = 'netty-resolver-4.1.8.Final.jar',
url = 'mvn:io.netty:netty-resolver:jar:4.1.16.Final', url = 'mvn:io.netty:netty-resolver:jar:4.1.8.Final',
sha1 = 'f6eb553b53fb3a90a8ac1170697093fed82eae28', sha1 = '2e116cdd5edc01b2305072b1dbbd17c0595dbfef',
maven_coords = 'io.netty:netty-resolver:4.1.16.Final', maven_coords = 'io.netty:netty-resolver:4.1.8.Final',
visibility = [ 'PUBLIC' ], visibility = [ 'PUBLIC' ],
) )
remote_jar ( remote_jar (
name = 'netty-codec-http2', name = 'netty-codec-http2',
out = 'netty-codec-http2-4.1.16.Final.jar', out = 'netty-codec-http2-4.1.8.Final.jar',
url = 'mvn:io.netty:netty-codec-http2:jar:4.1.16.Final', url = 'mvn:io.netty:netty-codec-http2:jar:4.1.8.Final',
sha1 = '45c27cddac120a4fcda8f699659e59389f7b9736', sha1 = '105a99ee5767463370ccc3d2e16800bd99f5648e',
maven_coords = 'io.netty:netty-codec-http2:4.1.16.Final', maven_coords = 'io.netty:netty-codec-http2:4.1.8.Final',
visibility = [ 'PUBLIC' ], visibility = [ 'PUBLIC' ],
) )
remote_jar ( remote_jar (
name = 'netty-codec-http', name = 'netty-codec-http',
out = 'netty-codec-http-4.1.16.Final.jar', out = 'netty-codec-http-4.1.8.Final.jar',
url = 'mvn:io.netty:netty-codec-http:jar:4.1.16.Final', url = 'mvn:io.netty:netty-codec-http:jar:4.1.8.Final',
sha1 = 'd64312378b438dfdad84267c599a053327c6f02a', sha1 = '1e88617c4a6c88da7e86fdbbd9494d22a250c879',
maven_coords = 'io.netty:netty-codec-http:4.1.16.Final', maven_coords = 'io.netty:netty-codec-http:4.1.8.Final',
visibility = [ 'PUBLIC' ], visibility = [ 'PUBLIC' ],
) )

View File

@ -68,8 +68,7 @@
], ],
"NETTY": [ "NETTY": [
"netty-buffer", "netty-buffer",
"netty-common", "netty-common"
"netty-transport-native-unix-common"
], ],
"GRPC_1.3": [ "GRPC_1.3": [
// "grpc-core-1.3.0", // "grpc-core-1.3.0",
@ -187,16 +186,15 @@
"minimal-json": "mvn:com.eclipsesource.minimal-json:minimal-json:0.9.4", "minimal-json": "mvn:com.eclipsesource.minimal-json:minimal-json:0.9.4",
"minlog": "mvn:com.esotericsoftware:minlog:1.3.0", "minlog": "mvn:com.esotericsoftware:minlog:1.3.0",
"netty": "mvn:io.netty:netty:3.10.5.Final", "netty": "mvn:io.netty:netty:3.10.5.Final",
"netty-buffer": "mvn:io.netty:netty-buffer:4.1.16.Final", "netty-buffer": "mvn:io.netty:netty-buffer:4.1.8.Final",
"netty-codec": "mvn:io.netty:netty-codec:4.1.16.Final", "netty-codec": "mvn:io.netty:netty-codec:4.1.8.Final",
"netty-common": "mvn:io.netty:netty-common:4.1.16.Final", "netty-common": "mvn:io.netty:netty-common:4.1.8.Final",
"netty-handler": "mvn:io.netty:netty-handler:4.1.16.Final", "netty-handler": "mvn:io.netty:netty-handler:4.1.8.Final",
"netty-transport": "mvn:io.netty:netty-transport:4.1.16.Final", "netty-transport": "mvn:io.netty:netty-transport:4.1.8.Final",
"netty-transport-native-unix-common": "mvn:io.netty:netty-transport-native-unix-common:4.1.16.Final", "netty-transport-native-epoll": "mvn:io.netty:netty-transport-native-epoll:4.1.8.Final",
"netty-transport-native-epoll": "mvn:io.netty:netty-transport-native-epoll:4.1.16.Final", "netty-resolver": "mvn:io.netty:netty-resolver:4.1.8.Final",
"netty-resolver": "mvn:io.netty:netty-resolver:4.1.16.Final", "netty-codec-http2": "mvn:io.netty:netty-codec-http2:4.1.8.Final",
"netty-codec-http2": "mvn:io.netty:netty-codec-http2:4.1.16.Final", "netty-codec-http": "mvn:io.netty:netty-codec-http:4.1.8.Final",
"netty-codec-http": "mvn:io.netty:netty-codec-http:4.1.16.Final",
"objenesis": "mvn:org.objenesis:objenesis:2.6", "objenesis": "mvn:org.objenesis:objenesis:2.6",
"openflowj": "mvn:org.onosproject:openflowj:3.2.0.onos", "openflowj": "mvn:org.onosproject:openflowj:3.2.0.onos",
"org.apache.felix.framework.security": "mvn:org.onosproject:org.apache.felix.framework.security:jar:2.2.0.onos", "org.apache.felix.framework.security": "mvn:org.onosproject:org.apache.felix.framework.security:jar:2.2.0.onos",

View File

@ -37,7 +37,7 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<onos-build-conf.version>1.12.0-SNAPSHOT</onos-build-conf.version> <onos-build-conf.version>1.12.0-SNAPSHOT</onos-build-conf.version>
<netty4.version>4.1.16.Final</netty4.version> <netty4.version>4.1.8.Final</netty4.version>
<openflowj.version>3.2.0.onos</openflowj.version> <openflowj.version>3.2.0.onos</openflowj.version>
<onos-maven-plugin.version>1.10</onos-maven-plugin.version> <onos-maven-plugin.version>1.10</onos-maven-plugin.version>
<onos-yang-tools.version>2.3.0-b3</onos-yang-tools.version> <onos-yang-tools.version>2.3.0-b3</onos-yang-tools.version>

View File

@ -221,7 +221,7 @@ public class Controller {
*/ */
public void start() { public void start() {
log.info("Started"); log.info("Started");
if (!PlatformDependent.isWindows() && !PlatformDependent.maybeSuperUser()) { if (!PlatformDependent.isWindows() && !PlatformDependent.isRoot()) {
portNumber = BGP_PRIVILEGED_PORT; portNumber = BGP_PRIVILEGED_PORT;
} else { } else {
portNumber = BGP_PORT_NUM; portNumber = BGP_PORT_NUM;

View File

@ -115,7 +115,7 @@
</Embed-Dependency> </Embed-Dependency>
<Embed-Transitive>false</Embed-Transitive> <Embed-Transitive>false</Embed-Transitive>
<Bundle-NativeCode> <Bundle-NativeCode>
META-INF/native/libnetty_transport_native_epoll_x86_64.so;osname=linux;processor=x86_64, META-INF/native/libnetty-transport-native-epoll.so;osname=linux;processor=x86_64,
* *
</Bundle-NativeCode> </Bundle-NativeCode>
<Import-Package> <Import-Package>