Commit Graph

4651 Commits

Author SHA1 Message Date
Albumen Kevin 236a45694e Add Istio LICENSE 2021-06-13 14:40:09 +08:00
Albumen Kevin 6683f58488 upgrade to 3.0.0 release 2021-06-13 14:21:14 +08:00
Wu Zhiguo f7cfe6e778
format code (#8038) 2021-06-13 14:14:15 +08:00
Wu Zhiguo 3163790d01
[3.0] Add support for async export/refer (#7931)
* add support for async export/refer

* move awaiting logical to another thread

* change log information

* use same executor

* fix ut

* use async as default mode

* Revert "use async as default mode"

This reverts commit ca373ffb

* add support for custom pool size for async export/refer executor

* add shutdown logic for async export/refer executor

* add shutdown logic for async export/refer executor

* getExportReferExecutor private

* move exportReferExecutor to ExecutorRepository

* delete file added unexpectedly

* fix ut

* rollback executorRepository declaration on Bootstrap

* move async to reference/service/consumer/provider

* move constants

* fix ut

* move async pool size config to provider/consumer config

* add shutdown for executor, add spring xsd config

* shutdown
2021-06-13 13:37:49 +08:00
赵延 b3c66f4e12
add zk,nacos dependent dependency at demo module. (#8035) 2021-06-11 22:20:40 +08:00
Albumen Kevin 6e9dbe9b43
Add default Dynamic Param Key (#8028)
* Add default Dynamic Param Key

* add ASF license header

* remove debug output

* Fix param being override

* skip null value

* introduce a serializable URLParam

* perfect comment

* add serialVersionUID
2021-06-11 22:19:42 +08:00
Albumen Kevin 4844effcb6
Optimize Migration Rule (#8029)
* Fix Migration Notify & Service Discovery Migration Invoker force Service Discovery

* add destroy notify
2021-06-11 18:00:32 +08:00
huazhongming 8841634831
[3.0]Registry configuration is not required (#8032)
* registry config should not be a must-have config.

* registry configuration is not required

* fix unit test
2021-06-11 17:20:22 +08:00
Wu Zhiguo bdb2d31838
[3.0] Fix unsubscribe url == null (#8017)
fixes #8009
2021-06-11 10:55:45 +08:00
Gong Dewei f07640fc74
Support service annotation work with java config bean (#8011) 2021-06-11 00:07:12 +08:00
Albumen Kevin c1e3a01d8c
add editorconfig (#8027) 2021-06-10 23:05:28 +08:00
Albumen Kevin 0e66de1c61
[3.0] Code reformat (#8019)
* convert files, add checker

* rename id

* tab to space

* change git attributes auto convert

* fix end new line

* fix end new line

* fix end new line

* ignore generated files

* override tomcat-embed-core version

* add ignore for codestyle/checkstyle.xml

* add ignore for codestyle/checkstyle.xml

* add rat ignore

* add suppression

* force update

* disable zk dynamic configurator
2021-06-10 20:13:39 +08:00
赵延 724ec8b554
[3.0] Service Name Mapping Refactor And Nacos model some support. (#7824) 2021-06-10 17:18:49 +08:00
Wu Zhiguo db41d2a5f4
[3.0]Cleanup EventDispatcher mechanism (#7677) 2021-06-09 00:23:17 +08:00
Xiong, Pin 87bc352bc3
feat: add triple demo (#7540) 2021-06-09 00:01:58 +08:00
Wu Zhiguo 175b57ce53
fix compile error (#8008) 2021-06-08 19:03:59 +08:00
ken.lj f0ee73e76f
[3.0] Address URL fault tolerance on getParameter usage (#7864) 2021-06-08 18:04:39 +08:00
Albumen Kevin c0269b6e6d
Opt Migration Invoker (#7959) 2021-06-08 17:29:18 +08:00
huazhongming e189221708
[3.0] Support url merge processor extension (#7932) 2021-06-08 17:21:01 +08:00
Gong Dewei d0454fdbef
[3.0] Refactor dubbo config (#7891)
fixes #7574
2021-06-08 16:44:54 +08:00
Wu Zhiguo 3cb9ac6564
Add shutdown logic for Executor in ExecutorRepository (#7990) 2021-06-07 15:32:40 +08:00
wangxw666 b7b1798832
opt readinessProbe (#7982)
Co-authored-by: wangxiaowei14227 <wangxiaowei14227@autohome.com.cn>
2021-06-07 15:06:29 +08:00
passer d2dac89204
[3.0] Add test cases for dubbo-registry-zookeeper (#7975) 2021-06-07 14:51:20 +08:00
Albumen Kevin f53d8a53d7
Introduce cert signer for xDS, opt xDS Impl (#7934) 2021-06-04 16:40:40 +08:00
Albumen Kevin d75d3a0bd1
Fix get wrong path for ServiceAddressURL (#7980) 2021-06-04 15:42:19 +08:00
Albumen Kevin 0dc8612415
fix license for 3.0 (#7979) 2021-06-04 15:05:56 +08:00
张远征hd 259dff2d04
cherry pick pr7109 to 3.0 (#7950)
* cherrypick

* remove unused import

* modify comment, remove issue-id
2021-06-04 10:25:14 +08:00
赵延 d5b46c3e65
Use nodeCache to take place of treeCache (#7953) 2021-06-03 17:23:30 +08:00
Kevin_T ebedc1d95c
Refactor AbstractInvoker class (#7952)
+ comments added
+ code optimization
+ make process clearer
2021-06-03 17:21:22 +08:00
xiaoheng1 ee4d90910a
[dubbo3.0] fix Use @SPI's wrapper method to report a null pointer exception bug for dubbo3.0 (#7938)
* fix #7936 Use @SPI's wrapper method to report a null pointer exception bug for dubbo3.0

* add extension wrapper test case.

* bugfix

* bugfix
2021-06-01 23:20:09 +08:00
Albumen Kevin 8bc9257f4e
Migrate master bugfix (#7927) 2021-06-01 14:14:35 +08:00
ken.lj 4ea0a09846
fix, check empty version (#7933) 2021-06-01 14:05:23 +08:00
passer e4a8ca1c34
[3.0] Fix dubbo-bom (#7914)
* [3.0] Fix dubbo-bom (#7913)

* Fix (#7913)
2021-05-31 10:18:17 +08:00
passer 67e2cf7bd5
add unit test for TraceTelnetHandler (#7909) 2021-05-29 17:14:56 +08:00
passer ca2e351660
Add unit test for TraceFilter (#7898)
* Add unit test for TraceFilter (#7876)

* println actual message (#7876)

* Fix TraceFilterTest#testInvoke (#7876)
2021-05-28 17:47:10 +08:00
passer 537755bf1b
[3.0] Add unit test for CountTelnetHandler (#7845)
* [3.0] Add unit test for CountTelnetHandler (#7842)

* Optimize CountTelnetHandlerTest (#7842)
2021-05-28 09:32:02 +08:00
Gong Dewei 0fa05b8982
improve monitor creating, handle errors (#7866) 2021-05-26 23:36:11 +08:00
ken.lj 04f10d3dd3 Avoid logger being set multiple times. 2021-05-26 17:46:42 +08:00
Albumen Kevin dc54172eb8
Move URL usage to ServiceConfigURL & Make Monitor Work (#7852) 2021-05-25 14:17:17 +08:00
Albumen Kevin 7dd5524733
Fix Integration Test (#7853)
* fix group key fetch

* enhance LRUCache (#7461)

* enhance LRUCache

* enhance LRUCache

(cherry picked from commit d3a400daca)

* add dependency pass

Co-authored-by: gcx <18716558336@163.com>
2021-05-24 20:48:14 +08:00
Albumen Kevin a7fb614c13
[Github-Actions] Improve Test cases (#7849)
* Improve Test cases for Dubbo 3.0, from #7592 #7829

* Fix compile error

* move static field recover to final block

* Move application config set to ApplicationModel in ReferenceConfigTest
2021-05-24 16:35:36 +08:00
panxiaojun233 845003f500
Fix semaphore usage error when calculating address. (#7850)
* fix addr cache bug

* fix router chain loop err
2021-05-24 11:54:12 +08:00
passer 3a8f44eb38
Optimize InvokeTelnetHandler code format (#7839) 2021-05-23 21:15:31 +08:00
passer 30b311a0c3
Fix ReferenceCountManagedChannel#incrementAndGetCount return type (#7838) 2021-05-23 21:14:04 +08:00
passer 5977a2d455
Fix URLBuilder#addParametersIfAbsent (#7837) 2021-05-23 21:11:07 +08:00
passer 48ba293ef3
[3.0] ServiceAnnotationBeanPostProcessor should be changed to ServiceClassPostProcessor (#7836) 2021-05-23 21:10:10 +08:00
panxiaojun233 97aec3671e
fix addr cache bug (#7833) 2021-05-23 16:23:24 +08:00
Wu Zhiguo 5eedd4970a
[3.0]Fix security problem (#7779) 2021-05-22 13:56:33 +08:00
赵延 63d319b60e
make method and methodName first set. (#7786) 2021-05-19 22:11:49 +08:00
ken.lj 4bfeeb2b47
Continue to notify address on metadata failure (#7796) 2021-05-19 10:43:11 +08:00