[SCB-1139] update vertx version from 3.5.3 to 3.6.2#1084
[SCB-1139] update vertx version from 3.5.3 to 3.6.2#1084wujimin merged 5 commits intoapache:masterfrom
Conversation
61a682c to
23d0fda
Compare
1、update netty to 4.1.28 ncnative to 2.0.14.Final jackson 2.9.8 2、vertximpl and ConnectionBase(just for test) does not have an public construtor, so add the VertxImpl to resolve first, later will be removed 3、DefaultVertxMetrics does not have the vertx parameter, so add an setter method 4、delete the apache#961, jackson has fixed the promblem by FasterXML/jackson-core@b6c54cf
23d0fda to
f7f0db0
Compare
wujimin
left a comment
There was a problem hiding this comment.
there are many errors in log, so CI failed
| @@ -0,0 +1,398 @@ | |||
| /* | |||
There was a problem hiding this comment.
must use vertx LICENSE
and why copy this file?
There was a problem hiding this comment.
we mock some methods of ConnectionBase have changed to final, but mockito's the old version can't mock the final method, so copy this file.
| String configCenter = memberDiscovery.getConfigServer(); | ||
| IpPort ipPort = NetUtils.parseIpPortFromURI(configCenter); | ||
| clientMgr.findThreadBindClientPool().runOnContext(client -> { | ||
| @SuppressWarnings("deprecation") |
There was a problem hiding this comment.
Do not use deprecad api if possible.
There was a problem hiding this comment.
vertx 3.6.3 statement the interface is deprecated, but has not provider a new interface to replace, so we have to add the annotation to paas the CI buiding
729ac37 to
44dedb1
Compare
44dedb1 to
2dc7539
Compare
LICENSE
Outdated
|
|
||
| ================================================================ | ||
| For foundations/foundation-vertx/src/main/java/org/apache/servicecomb/foundation/vertx/stream/PumpImplEx.java | ||
| For transports/transport-rest/transport-rest-client/src/test/java/io/vertx/core/net/impl/ConnectionBase.java |
There was a problem hiding this comment.
no need to declare ConnectionBase.java any more
pom.xml
Outdated
| <exclude>**/target/**</exclude> | ||
| <!-- Skip the source files which are forked from vertx --> | ||
| <exclude>**/io/vertx/ext/web/impl/MimeTypesUtils.java</exclude> | ||
| <exclude>**/io/vertx/core/net/impl/ConnectionBase.java</exclude> |
There was a problem hiding this comment.
no need to declare ConnectionBase.java any more
1、update netty to 4.1.28 ncnative to 2.0.14.Final jackson 2.9.8
2、vertximpl and ConnectionBase(just for test) does not have an public construtor, so add the VertxImpl to resolve first, later will be removed
3、DefaultVertxMetrics does not have the vertx parameter, so add an setter method
Follow this checklist to help us incorporate your contribution quickly and easily:
[SCB-XXX] Fixes bug in ApproximateQuantiles, where you replaceSCB-XXXwith the appropriate JIRA issue.mvn clean installto make sure basic checks pass. A more thorough check will be performed on your pull request automatically.