Skip to content

[Dubbo-3764]Merge dubbo rpc xmlrpc (#3764) - #3775

Merged
ralf0131 merged 27 commits into
apache:masterfrom
danielamorais:feature/merge-dubbo-rpc-xmlrpc
May 14, 2019
Merged

ralf0131 merged 27 commits into
apache:masterfrom
danielamorais:feature/merge-dubbo-rpc-xmlrpc

Conversation

@danielamorais

@danielamorais danielamorais commented Mar 29, 2019 •

Copy link
Copy Markdown

What is the purpose of the change

Merge dubbo-rpc-xmlrpc into incubator-dubbo (#3764)

Brief changelog

XXXXX

Verifying this change

XXXXX

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
  • Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
  • If this contribution is large, please follow the Software Donation Guide.

@danielamorais danielamorais changed the title [Dubbo-3764]Merge dubbo rpc xmlrpc [Dubbo-3764][WIP]Merge dubbo rpc xmlrpc Mar 29, 2019
@danielamorais danielamorais changed the title [Dubbo-3764][WIP]Merge dubbo rpc xmlrpc [Dubbo-3764]Merge dubbo rpc xmlrpc Mar 29, 2019
@ralf0131

ralf0131 commented Apr 2, 2019

Copy link
Copy Markdown
Contributor

Hi, could you please check the UT failure first?

@danielamorais danielamorais changed the title [Dubbo-3764]Merge dubbo rpc xmlrpc [Dubbo-3764][WIP]Merge dubbo rpc xmlrpc Apr 2, 2019
@codecov-io

codecov-io commented Apr 2, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #3775 into master will decrease coverage by 0.02%.
The diff coverage is 57.14%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master   #3775      +/-   ##
===========================================
- Coverage     63.42%   63.4%   -0.03%     
+ Complexity      564     544      -20     
===========================================
  Files           755     757       +2     
  Lines         32425   32530     +105     
  Branches       5145    5158      +13     
===========================================
+ Hits          20567   20626      +59     
- Misses         9496    9539      +43     
- Partials       2362    2365       +3
Impacted Files Coverage Δ Complexity Δ
.../dubbo/xml/rpc/protocol/xmlrpc/XmlRpcProtocol.java 53.84% <53.84%> (ø) 5 <5> (?)
...ml/rpc/protocol/xmlrpc/XmlRpcProxyFactoryBean.java 66.66% <66.66%> (ø) 5 <5> (?)
.../remoting/transport/netty4/NettyServerHandler.java 61.9% <0%> (-9.53%) 0% <0%> (ø)
...ng/transport/dispatcher/all/AllChannelHandler.java 51.42% <0%> (-5.72%) 0% <0%> (ø)
...mmon/threadpool/support/AbortPolicyWithReport.java 83.33% <0%> (-5.56%) 0% <0%> (ø)
.../org/apache/dubbo/remoting/ExecutionException.java 15.78% <0%> (-5.27%) 0% <0%> (ø)
...exchange/support/header/HeaderExchangeHandler.java 59.84% <0%> (-2.37%) 0% <0%> (ø)
...dubbo/remoting/exchange/support/DefaultFuture.java 73.46% <0%> (-1.37%) 0% <0%> (ø)
.../java/org/apache/dubbo/config/ReferenceConfig.java 59.48% <0%> (-0.37%) 0% <0%> (ø)
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6a1dd65...14d77b7. Read the comment docs.

@danielamorais danielamorais changed the title [Dubbo-3764][WIP]Merge dubbo rpc xmlrpc [Dubbo-3764]Merge dubbo rpc xmlrpc Apr 2, 2019
Comment thread dubbo-rpc/dubbo-rpc-xml/NOTICE Resolved
Comment thread dubbo-rpc/dubbo-rpc-xml/LICENSE Resolved
Comment thread dubbo-all/pom.xml Resolved
@danielamorais

danielamorais commented Apr 3, 2019 •

Copy link
Copy Markdown
Author

Thank you for your help @lovepoem

Comment thread dubbo-rpc/dubbo-rpc-xml/pom.xml Resolved

@ralf0131 ralf0131 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please also add this dependency to dubbo-bom/pom.xml

Comment thread dubbo-rpc/dubbo-rpc-xml/README.md Resolved
Comment thread dubbo-rpc/dubbo-rpc-xml/README.md Resolved
Comment thread dubbo-rpc/dubbo-rpc-xml/README.md Resolved
Comment thread dubbo-rpc/dubbo-rpc-xml/pom.xml Resolved
Comment thread dubbo-rpc/dubbo-rpc-xml/pom.xml Resolved
Comment thread dubbo-rpc/dubbo-rpc-xml/pom.xml Resolved
Comment thread dubbo-rpc/dubbo-rpc-xml/pom.xml Resolved

@ralf0131 ralf0131 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is the LICENSE of your dependencies? Could you please list them?

Comment thread dubbo-rpc/dubbo-rpc-xml/pom.xml Resolved
@danielamorais

Copy link
Copy Markdown
Author

List of dependencies and the LICENSE:

@ralf0131

ralf0131 commented Apr 6, 2019

Copy link
Copy Markdown
Contributor

List of dependencies and the LICENSE:

Yes, I think the license are fine. If a dependency is dual/multi-license, we can choose the most permissive one.

@chickenlj

Copy link
Copy Markdown
Contributor

Please also add the following dependency to dubbo-bom.xml

<dependency>
            <groupId>org.apache.dubbo</groupId>
            <artifactId>dubbo-rpc-xml</artifactId>
            <version>${project.version}</version>
            <scope>compile</scope>
            <optional>true</optional>
        </dependency>

@ralf0131

ralf0131 commented May 9, 2019

Copy link
Copy Markdown
Contributor

@danielamorais The pull request is almost ready to be merged, there are still some issues pending to be resolved, would you please take a loot at it?

@danielamorais

Copy link
Copy Markdown
Author

@ralf0131 I'm sorry about delayed. Is there any issue on Travis CI with oraclejdk 11? The build is failing just in oraclejdk 11

[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.027 s <<< FAILURE! - in org.apache.dubbo.remoting.transport.netty.ClientReconnectTest
[ERROR] testReconnect Time elapsed: 0.026 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: but was:
at org.apache.dubbo.remoting.transport.netty.ClientReconnectTest.testReconnect(ClientReconnectTest.java:48)

@CrazyHZM

Copy link
Copy Markdown
Member

@ralf0131 I'm sorry about delayed. Is there any issue on Travis CI with oraclejdk 11? The build is failing just in oraclejdk 11

[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.027 s <<< FAILURE! - in org.apache.dubbo.remoting.transport.netty.ClientReconnectTest
[ERROR] testReconnect Time elapsed: 0.026 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: but was:
at org.apache.dubbo.remoting.transport.netty.ClientReconnectTest.testReconnect(ClientReconnectTest.java:48)

I have already started the ci build for you again.

@danielamorais

Copy link
Copy Markdown
Author

@CrazyHZM Worked it! Was a bug? Thank u

@danielamorais danielamorais changed the title [Dubbo-3764]Merge dubbo rpc xmlrpc [Dubbo-3764]Merge dubbo rpc xmlrpc (#3764) May 12, 2019
@ralf0131

Copy link
Copy Markdown
Contributor

@chickenlj What's your opinion?

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.

6 participants