Commit Graph

1839 Commits

Author SHA1 Message Date
Kaiyao Ke 8e2eb332a1
fixed non-idempotent unit tests (#14172) 2024-05-11 00:27:46 +08:00
Kaiyao Ke 84193247be
fix non-idempotent unit test (#14135) 2024-05-08 14:38:48 +08:00
TomlongTK dfd135eb95
Fix the problem of multiple namespaces in MetadataReport (#13971)
* Fix the problem of multiple namespaces in MetadataReport

* refine

* Remove registry config setting

* Add some unit tests

* Revert getId

* Fix cache key
2024-05-08 14:09:08 +08:00
Wang Chengming 0a1ad55bff
compatible service discovery, export noting suffix servicename, eg: ${interface}:${version} (#14096)
compatible service discovery, export noting suffix servicename, eg: {interface}:${version}

code format

compatible service discovery, export noting suffix servicename, eg: {interface}:${version}

Co-authored-by: 呈铭 <beck.wcm@antgroup.com>
2024-04-22 19:42:47 +08:00
jean pierre Lerbscher 00812ce41c
Fix Sonar issue s2293 The diamond operator ('<>') should be used (#14005) 2024-03-29 11:40:06 +08:00
Albumen Kevin 501bdfaaef
Fix memory leak in ScopeBeanFactory (#13901) 2024-03-12 11:25:14 +08:00
hyhnet d50adb7c83
fix typos (#13858)
Co-authored-by: Cyrus <yecity@gmail.com>
2024-03-10 11:22:59 +08:00
Tritone 002a6a1b3e
1.The word "shutdown" is a noun. The verb is spelled with a space. (#13855) 2024-03-08 10:11:43 +08:00
namelessssssssssss 860ad02e1e
Fix URL issue (#13807) 2024-03-01 14:20:07 +08:00
jiangyuan 428ca27a94
Fix ModuleEnvironment#getDynamicGlobalConfiguration (#13781)
* Update ModuleEnvironment#getDynamicGlobalConfiguration

* add unit test

* update
2024-02-29 15:25:22 +08:00
Albumen Kevin 17b75a7895
Refresh valid invokers after connectivity check (#13773) 2024-02-29 11:26:11 +08:00
Albumen Kevin b7cd1f933f
Fix NPE in DefaultTypeBuilder (#13732)
* Fix NPE in DefaultTypeBuilder

* Fix style
2024-02-04 09:59:20 +08:00
Aaron 05cecc55bc
Fixes #13684: delete outdated metrics port assertions (#13717)
* fix: delete outdated metrics port assertions

* chore: remove outdated port attribute in metricsType
2024-02-02 14:10:23 +08:00
Albumen Kevin 9d37c4e083
Add pond test cases (#13646) 2024-01-17 16:55:23 +08:00
kimmking 16cdc5290e
Revert "Fix URL parse pwd failed when the pwd contains '#'" (#13645) 2024-01-13 02:38:51 +08:00
huazhongming df0de49b8c
Fix URL parse pwd failed when the pwd contains '#' (#13631)
* Fix URL parse pwd failed when the pwd contains #

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

* Parse url pwd

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

* Fix npe

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

* Remove username and pwd from parameter

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

* Add ut

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

---------

Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2024-01-13 01:58:58 +08:00
CycleMaker 670f997eac
fix AbortPolicyWithReport Semaphore lock not released (#13609)
Co-authored-by: wuzihan <wuzihan@youzan.com>
2024-01-08 20:40:08 +08:00
Albumen Kevin 011d6e0a71
Exclude `UseJavaPackageAsPath` to parameters (#13595) 2024-01-02 16:47:08 +08:00
zhaoyunxing 25b73b1a13
feat:DubboService annotation support custom serialization (#13553) 2023-12-27 23:19:51 +08:00
namelessssssssssss 3aa5a775d3
Fix StubMethodDescriptor generate issue (#13582)
* Refactor StubMethodDescriptor generate

* Refactor StubMethodDescriptor generate

* Refactor StubMethodDescriptor generate

* Refactor

* Add missing ';'
2023-12-27 14:52:22 +08:00
宝宝爸师 1368e21d9b
optimize isProtobufClass method impl (#13557)
* optimize isProtobufClass method impl

* build error for unknown reason

* fix build error
2023-12-26 17:31:44 +08:00
namelessssssssssss 738f3ff69a
Fix proto `package` and ` java_package` issue (#13559)
* Fix pb package issue

* Codestyle fix

* Fix npe in test

* Fix npe in test

* Fix test

* Codestyle fix

* Simplify config

* Update ServiceConfig.java
2023-12-26 15:46:42 +08:00
TomlongTK 617dbd3fdd
Make config builder more comprehensive (#13556)
* Make config builder more comprehensive

* Format
2023-12-25 19:17:48 +08:00
huazhongming f7a32be429
Remove unused dependency (#13554)
Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2023-12-22 10:25:53 +08:00
Albumen Kevin 0d879666b4
Support exclude fastjson2 or hessian2 serialization dependencies (#13441)
* Support exclude fastjson2 or hessian2 serialization dependencies

* Fix style

* Support check

* Fix test cases

* lint

* Fix test cases

* Style
2023-12-04 21:32:50 +08:00
why技术 a1642ac07a
Update ReflectUtils.java (#13382)
Remove useless code
2023-11-20 10:51:25 +08:00
Albumen Kevin 43e78d1298
Enhance logs for none serializable (#13326) 2023-11-20 10:14:18 +08:00
SaaiVenkat 27e9877620
Fix order dependent tests in `InternalThreadLocalTest` (#13361)
* Fix order dependent tests in InternalThreadLocalTest

* Fix order dependent tests in InternalThreadLocalTest
2023-11-15 14:04:38 +08:00
huazhongming 730695a7a2
[3.2]Use spotless to format the code (#13320)
* Use spotless to format the code

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

* Support develop with JDK 21

Signed-off-by: crazyhzm <crazyhzm@gmail.com>

---------

Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2023-11-07 15:40:13 +08:00
Linchen Xu 46741b6c16
remove unused method in ScopeBeanFactory.java (#13289) 2023-11-01 20:33:53 +08:00
Albumen Kevin aa631cd362
Revert "Protobuf method not allow override (#13155)" (#13295)
This reverts commit 416374cd78.
2023-11-01 19:34:44 +08:00
JYZ 91462702f2
fix: jackson deserialization,not fail on unknown properties. (#13249)
Co-authored-by: 贾彦昭 <jiayanzhao@youzan.com>
2023-10-24 10:19:51 +08:00
Albumen Kevin 0d91d419a8
Remove direct dependency of alibaba dubbo (#13218)
* Remove direct dependency of alibaba dubbo

* disable in ExtensionLoader

* Fix license

* Fix test

* Fix case

* Fix test
2023-10-19 15:25:40 +08:00
宝宝爸师 416374cd78
Protobuf method not allow override (#13155)
* pb method not allow override

* pb method not allow override

* remove wildcard import

* if judgement split into 2 simple

* add pb method override ut&it

* modify pb method override exception msg

* update pb method override test case

* format code

* format code

* optimize import

* Optimize the isProtobufClass method

* fix sonarLint problems

* fix sonar problem

* use ProtobufUtils.class ClassLoader to load Protobuf Message

* format code

* protobufUtils add log

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
Co-authored-by: earthchen <earthchen1996@gmail.com>
2023-10-19 12:31:59 +08:00
namelessssssssssss f82629f7f9
Fix wrong returnTypes for StubMethodDescriptor (#13223) 2023-10-18 09:44:56 +08:00
TomlongTK c10d95b56a
Fix RejectException (#12950)
* fix RejectException null

* fix reference

* use isTerminated judge Executor

* use isShutdown judge Executor

---------

Co-authored-by: earthchen <earthchen1996@gmail.com>
2023-10-11 23:32:30 +08:00
TomlongTK 069fd5e1ce
Fix triple client stream executor (#13178)
* Fix error stream executor

* add ping pong for tri protocol (#12955)

* add ping pong for tri protocol

* add ping pong for tri protocol

* add ping pong for tri protocol

* add ping pong for tri protocol

* Revert "add ping pong for tri protocol (#12955)"

This reverts commit 5a3be17bf1.

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
Co-authored-by: icodening <cleverbn96@gmail.com>
2023-10-11 23:23:25 +08:00
Albumen Kevin 34c5bbf713
Support customize collector sync period (#13140) 2023-09-28 11:09:06 +08:00
KitwahSin 0d88f62830
fix:onnext callback method would be invalid when the provider method with triple protocol is overloaded. (#13057)
* For the same method, rpcType.BI_STREAM and rpcType.SERVER_STREAM cannot exist at the same time.

* remove unused imported item.

* add exception test.

* add licence comment.

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-09-27 15:31:25 +08:00
wien13 6981a0f847
Fix ClassPool issue when multi-classloader (#13015) 2023-09-25 19:36:39 +08:00
Albumen Kevin da801bf177
Remove identity hash code usage (#13112) 2023-09-25 18:43:04 +08:00
Albumen Kevin 767eaa8ba7
Fix code style (#13092) 2023-09-21 11:31:51 +08:00
Albumen Kevin 7a660fafd1
Test on JDK 21 (#13083)
* Test on JDK 21

* Fix 21
2023-09-20 20:29:24 +08:00
songxiaosheng 575c3392ec
Service metrics (#13033)
*  support service metric level

*  support service metric level

*  support service metric level

*  support service metric level

*  add ServiceMetricsTest

*  add ServiceMetricsTest

*  add ServiceMetricsTest

*  servicelevel config init opt

*  servicelevel config init opt

*  servicelevel config init opt

*  servicelevel config init opt

*  servicelevel config init opt

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-09-19 10:22:58 +08:00
GiraffeTree d9db031469
fix: AbortPolicyWithReport concurrency issues https://github.com/apache/dubbo/issues/13042 (#13043) 2023-09-13 09:54:48 +08:00
Andy Cheung 248449ada0
Add Javadoc of ErrorTypeAwareLogger. (#13032) 2023-09-11 16:00:55 +08:00
Albumen Kevin 4c4bcb7a25
Support disable metrics init and sync (#13025) 2023-09-10 17:18:22 +08:00
suncairong163 168b657807
fix SerializationException (#13000) 2023-09-04 12:19:49 +08:00
Albumen Kevin af566233db
Support ignore refresh config (#12998) 2023-09-03 10:36:26 +08:00
R d61f491287
serialize.allowlist is not include SingletonMap (#12962) 2023-08-27 22:52:06 +08:00