Commit Graph

1846 Commits

Author SHA1 Message Date
Albumen Kevin 7d5fa50783
Fix metrics unable to retrieve lazy inited executor status (#14348)
* Fix metrics unable to retrieve lazy inited executor status

* Enhance
2024-06-24 09:26:45 +08:00
Albumen Kevin b9825cdbd0 Update serialize blocked list 2024-06-17 09:48:29 +08:00
liaozan 523a4189b8
Move dubbo versions file from META-INF/versions to META-INF/dubbo-version (#14247)
* Move dubbo versions file from META-INF/versions to META-INF/dubbo-versions

* Make 'META-INF/dubbo-versions' as constants
2024-06-04 22:59:16 +08:00
aofall 473ea36b04
fix: Support close the Curator EnsembleTracker (#14281) 2024-06-04 12:54:44 +08:00
王聪洋 cc95b52dfb
Com.google.code.gson gson 2.11.0 (#14224)
* Bump com.google.code.gson:gson from 2.10.1 to 2.11.0

Bumps [com.google.code.gson:gson](https://github.com/google/gson) from 2.10.1 to 2.11.0.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.10.1...gson-parent-2.11.0)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix testcase

* format code

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 18:57:10 +08:00
Lee hong 189d76be5d
check child is json or not in zookeeper.it will be continue if not. (#14166)
* check child is json or not.it will be continue if not.

* try to save code format problem.

* child could be json array.so child could start with { or [.

* fix the problem of it will continue some message to make zookeeper outtime.

* try to continue the string without warn.

* format the code.

* catch the exception of JSONException.

* try to fix java.lang.NoClassDefFoundError because of JSONException.

* add isJson method and implement it in JSON.

* implement the checkJson method and use it in ZookeeperRegistry

* format the code.

* add some test case.

* format the code.

* format the code.

* format the code.

* format the code.

* format the code.

* format the code.

* format the code.

* format the code.

* format the code.

* add some information.

* format the code.

* add human friendly comment.

* format the code.

* format the code.

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
Co-authored-by: Jermaine Hua <crazyhzm@gmail.com>
2024-05-21 11:36:53 +08:00
zrlw e21244a431
check whether property name is safe based on the last fragment kebab-case comparison (#14208) 2024-05-21 10:20:51 +08:00
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