Skip to content

[SCB-1139] update vertx version from 3.5.3 to 3.6.2#1084

Merged
wujimin merged 5 commits intoapache:masterfrom
jeho0815:Branch_master_SCB-1139
Feb 18, 2019
Merged

[SCB-1139] update vertx version from 3.5.3 to 3.6.2#1084
wujimin merged 5 commits intoapache:masterfrom
jeho0815:Branch_master_SCB-1139

Conversation

@jeho0815
Copy link
Contributor

@jeho0815 jeho0815 commented Feb 1, 2019

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:

  • Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

@jeho0815 jeho0815 force-pushed the Branch_master_SCB-1139 branch from 61a682c to 23d0fda Compare February 1, 2019 02:14
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
@jeho0815 jeho0815 force-pushed the Branch_master_SCB-1139 branch from 23d0fda to f7f0db0 Compare February 1, 2019 02:36
@jeho0815 jeho0815 closed this Feb 1, 2019
@jeho0815 jeho0815 reopened this Feb 1, 2019
Copy link
Contributor

@wujimin wujimin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are many errors in log, so CI failed

@@ -0,0 +1,398 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

must use vertx LICENSE
and why copy this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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")
Copy link
Contributor

@liubao68 liubao68 Feb 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use deprecad api if possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@jeho0815 jeho0815 force-pushed the Branch_master_SCB-1139 branch from 729ac37 to 44dedb1 Compare February 12, 2019 06:25
@jeho0815 jeho0815 force-pushed the Branch_master_SCB-1139 branch from 44dedb1 to 2dc7539 Compare February 12, 2019 08:31
@coveralls
Copy link

coveralls commented Feb 12, 2019

Coverage Status

Coverage decreased (-0.5%) to 85.465% when pulling 54e4cec on jeho0815:Branch_master_SCB-1139 into 9040ec3 on apache:master.

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to declare ConnectionBase.java any more

@wujimin wujimin merged commit 8225fde into apache:master Feb 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants