Commit Graph

1161 Commits

Author SHA1 Message Date
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
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
Albumen Kevin d75d3a0bd1
Fix get wrong path for ServiceAddressURL (#7980) 2021-06-04 15:42:19 +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
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
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
passer 5977a2d455
Fix URLBuilder#addParametersIfAbsent (#7837) 2021-05-23 21:11:07 +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
panxiaojun233 3531a7d681
[3.0] Feature/state router (#6844)
* state router

* fix router chain

* fix router chain

* fix comment

* fix comment

* format files

* deal dependecy

* fix comment

* fix comment

* fix

* fix ut

* fix ut

* fix

* fix comment

* add code comments

* add code comments

* add code comments

* add code comments
2021-05-18 17:13:50 +08:00
Albumen Kevin 7c8b658e40
Use String Intern to reduce memory allocation (#7671) 2021-05-14 13:12:08 +08:00
ken.lj a08aabf69a
Support caching of dynamic property (#7760) 2021-05-14 12:50:07 +08:00
Albumen Kevin 152455e99e
Reduce case convert, reduce iterator creation, add attribute to MethodDescriptor (#7750) 2021-05-14 10:31:31 +08:00
ken.lj ea0506aa65
Collecting registration and consumption status inside process (#7714) 2021-05-10 13:56:04 +08:00
Gong Dewei 3a3d0ef50e
3.0 improve reference bean register (#7497) 2021-04-30 20:25:24 +08:00
xiaoheng1 5f52fab4fd
Add a new storage structure for zookeeper serviceNameMapping (#7629)
* fix #7628 Add a new storage structure for zookeeper serviceNameMapping

* add publishConfigCas test case.
2021-04-29 19:22:22 +08:00
ken.lj bff9daa77c check if path is null 2021-04-27 20:32:40 +08:00
Albumen Kevin 18eb598dd3
[3.0] Optimization about memory performance (#7625)
Introduce init size for StringBuilder in BaseServiceMetadata
Make timeout smaller in CacheableFailbackRegistry
Simplify log
Introduce DynamicParamSource to add constant param
Reduce unnecessary boxing
Reduce unnecessary iterator node creation of HashMap and HashSet
Cache activateGroup and activateValue in ExtensionLoader
Make URLParam support method parameters natively, reduce unnecessary map creation
2021-04-27 15:33:49 +08:00
ken.lj 1da8c5cfa6
3.0 serviceinfo equals (#7539) 2021-04-27 15:13:35 +08:00
Albumen Kevin b9bca6a089
[3.0-URL] Refactor URLParam with static reference (#7353)
* refact URLParam

* impl unsupported method

* fix NPE

* performance tuning

* add ut

* introduce constant

* remove unnecessary new

* change value to array

* add comment
fix default value not changed

* fix array outbound

* add empty constructor for URLParam to adapt hessian deserialize
2021-04-25 15:59:22 +08:00
xiaoheng1 ea933320e1
ServiceNameMapping storage structure modification (#7548)
* ServiceNameMapping storage structure modification

* ServiceNameMapping storage structure modification

* ServiceNameMapping storage structure modification

* ServiceNameMapping storage structure modification

* modify name

* modify md5

* modify md5
2021-04-25 00:08:32 +08:00
panxiaojun233 1a267528a0
remove protobuf dependency from dubbo common (#7613)
* fix protobuf dependency

* fix npe

* fix npe
2021-04-24 22:58:54 +08:00
panxiaojun233 78ffad2cdb
[WIP] Stream base3.0 (#7423)
* import stream

* import stream

* fix

* fix

* fix

* fix

* fix

* fix comment

* suport client

* fix

* fix

* fix

* import client stream

* Add copyright

* add lisence

* fix lisence

* fix comment

* fix client decode

* fix stream client

* Reactor stream

* Add transport observer

* Update stream interface

* Update stream interface

* Add server stream support

* Temp backup

* Init client stream

* support stream client

* format files

* support wrapper

* fix commont

* Add empty handler

* Add handler comment

* Remove unused methods

* Reacdtor client stream logic

* Add test

* add client callback executor

* Support method overwrite for wrapper

* Support client error

* Format code

* Interop Bugfix

* Interop Bugfix

* Add single thread callback executor for client

* Fix format

* Update copyright

Co-authored-by: guohao <guohaoice@gmail.com>
2021-04-23 17:24:17 +08:00
ken.lj 0a5a709c68
[3.0] unify register mode options with one single property (#7594) 2021-04-20 14:52:32 +08:00
xiaoheng1 8e5eac1acf
fix cache Class avoid PermGen space OOM in dubbo3.0 (#7386)
* fix #6742 cache Class avoid PermGen space OOM

* optimization cache Class avoid PermGen space OOM

* optimization cache Class avoid PermGen space OOM

* Optimize Proxy WeakReference to SoftReference
2021-04-12 23:31:56 -07:00
赵延 057189e231
[ISSUE-#7449] Script protocol also handle as config. (#7447) 2021-03-26 14:00:52 +08:00
Gong Dewei 954e20f74f Refactor dubbo reference processing (#7383) 2021-03-24 15:24:36 +08:00
ken.lj 70a9245715 [3.0] fix service discovery implementation and introduce ClusterFiIlter (#7388) 2021-03-24 15:24:36 +08:00
ken.lj 552112ed01 Revert "3.0 enhancement, do not merge (#7381)" (#7387)
This reverts commit d6c9bf69e0.
2021-03-24 15:24:36 +08:00
ken.lj d541548d15 3.0 enhancement, do not merge (#7381) 2021-03-24 15:24:36 +08:00
Albumen Kevin bb1a400352
Fix it in Dubbo 3.0 (#7294) 2021-03-01 16:34:24 +08:00
ken.lj 0a8747a678 enhance customized classloader path 2021-02-26 16:46:03 +08:00
Albumen Kevin cb18339a7d
Add provided-by paramater for DubboReference (#7190) 2021-02-19 15:33:01 +08:00
Wu Zhiguo 42cff01906
Add publishInstance config in ApplicationConfig (#7162) 2021-02-09 14:06:47 +08:00
Wu Zhiguo cf78a56962
fix memory leak for stringAddress cache (#7144) 2021-01-28 22:47:34 +08:00
Albumen Kevin affbd638e6
Fix NopDynamicConfiguration cause NPE (#7134) 2021-01-27 19:01:52 +08:00
ken.lj 6f45173906 remove error assertion 2021-01-26 17:28:40 +08:00
panxiaojun233 1ab487e487
Triple support (#7087) 2021-01-26 17:25:11 +08:00
ken.lj 33e39a1379 fix service discovery registry url check logic during offline/online 2021-01-21 16:10:49 +08:00
ken.lj 97ac972019 Merge remote-tracking branch 'origin/3.0' into 3.0 2021-01-21 15:37:32 +08:00