Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation/2935#dubbo rpc api #2967

Merged
merged 36 commits into from
Dec 17, 2018

Conversation

khanimteyaz
Copy link
Contributor

What is the purpose of the change

Added javadoc and documentation for dubbo-rpc-api filter package.

Brief changelog

Added documentation for java classes for developer, to provide high level idea what this current class suppose to do.

Verifying this change

Run build locally.

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

  • Make sure there is a 2935 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.

@codecov-io
Copy link

codecov-io commented Dec 14, 2018

Codecov Report

Merging #2967 into master will decrease coverage by 0.15%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2967      +/-   ##
==========================================
- Coverage   64.09%   63.93%   -0.16%     
==========================================
  Files         584      584              
  Lines       26059    26059              
  Branches     4562     4562              
==========================================
- Hits        16702    16662      -40     
- Misses       7184     7215      +31     
- Partials     2173     2182       +9
Impacted Files Coverage Δ
...va/org/apache/dubbo/rpc/filter/TpsLimitFilter.java 100% <ø> (ø) ⬆️
...n/java/org/apache/dubbo/rpc/filter/EchoFilter.java 75% <ø> (ø) ⬆️
...org/apache/dubbo/rpc/filter/ActiveLimitFilter.java 78.12% <ø> (ø) ⬆️
.../org/apache/dubbo/rpc/filter/CompatibleFilter.java 83.33% <ø> (ø) ⬆️
.../org/apache/dubbo/rpc/filter/DeprecatedFilter.java 76.19% <ø> (ø) ⬆️
...org/apache/dubbo/rpc/filter/ClassLoaderFilter.java 100% <ø> (ø) ⬆️
...rg/apache/dubbo/rpc/filter/ExecuteLimitFilter.java 87.5% <ø> (ø) ⬆️
...apache/dubbo/rpc/filter/tps/DefaultTPSLimiter.java 66.66% <ø> (ø) ⬆️
...ava/org/apache/dubbo/rpc/filter/ContextFilter.java 92.59% <ø> (ø) ⬆️
...apache/dubbo/rpc/filter/ConsumerContextFilter.java 100% <ø> (ø) ⬆️
... and 15 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 31de870...75da9e5. Read the comment docs.

@carryxyh
Copy link
Member

Hi, @khanimteyaz
Very nice work, I'd like take a look.
Another thing, would u pls clear your commits? Seems like your pr has four commits.

OrDTesters and others added 22 commits December 17, 2018 11:55
apache#2826)

* Simplify the code logic of the method AbstractClusterInvoker#reselect.

* Minor modification for code style.
* create AbstractRouter

* router default method

* router default method

* router default method

* mockinvoker
…ache#2931)

* optimize findConfigedPorts method of ServiceConfig to log only one time when userandom port

* move the log to method putRandomPort
* Improve UT grammer, fix compiler warnings.

* Remove unnecessary braces.
* fix testCustomExecutor

* fix ci
…r#isMatch (apache#2941)

* enhance isMatch

* remove useless imports
kexianjun and others added 10 commits December 17, 2018 11:55
* add getter and setter for ServiceConfig's interfaceName property#2353

* add interfaceName to ignoreAttributeNames and change the unit test

* delete the demo source code and update the unit test

* unchange ServiceConfig

* update unit test

* update unit test

* fix apache#2798 and enhance invoke command
* Replace anonymous class with method reference

* Revert changes as per @beiwei30 code review
* Abstract retry task

* Task for retry.

* Fix sth.

* Finish Optimize. fix ci failed.

* Optimize retry for FailbackRegistry.
The retry operation splits into specific operations, such as subscriptions and registrations. This approach allows for very precise retry control.

* Optimize retry for FailbackRegistry.
The retry operation splits into specific operations, such as subscriptions and registrations. This approach allows for very precise retry control.

* Optimize logger warn's msg.

* Optimize FailedNotifiedTask's run method.
Optimize addXXXTask, directly return if we already have a retry task.

* Optimize notify logic, just notify when the urls is not empty.

* Optimize notify logic, just notify when the urls is not empty.

* Optimize timer that use daemon thread.
@khanimteyaz
Copy link
Contributor Author

khanimteyaz commented Dec 17, 2018 via email

@beiwei30
Copy link
Member

nice job :)

@beiwei30 beiwei30 merged commit b3d44a6 into apache:master Dec 17, 2018
@khanimteyaz
Copy link
Contributor Author

Thanks @beiwei30 and @carryxyh.

@khanimteyaz khanimteyaz deleted the documentation/2935#dubbo-rpc-api branch December 17, 2018 08:29
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.