Commit Graph

6556 Commits

Author SHA1 Message Date
dependabot[bot] ce9991e699
Bump flatten-maven-plugin from 1.1.0 to 1.4.1 (#11994)
Bumps [flatten-maven-plugin](https://github.com/mojohaus/flatten-maven-plugin) from 1.1.0 to 1.4.1.
- [Release notes](https://github.com/mojohaus/flatten-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/flatten-maven-plugin/compare/flatten-maven-plugin-1.1.0...1.4.1)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:flatten-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 17:13:16 +08:00
dependabot[bot] f8fe85ab0c
Bump spring-context-support from 1.0.8 to 1.0.11 (#11995)
Bumps [spring-context-support](https://github.com/alibaba/spring-context-support) from 1.0.8 to 1.0.11.
- [Release notes](https://github.com/alibaba/spring-context-support/releases)
- [Commits](https://github.com/alibaba/spring-context-support/commits/1.0.11)

---
updated-dependencies:
- dependency-name: com.alibaba.spring:spring-context-support
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 17:12:59 +08:00
dependabot[bot] 694de26950
Bump gson from 2.8.9 to 2.10.1 (#11993)
Bumps [gson](https://github.com/google/gson) from 2.8.9 to 2.10.1.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.9...gson-parent-2.10.1)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 17:12:51 +08:00
Albumen Kevin c2b809adac
Update pom.xml 2023-04-04 15:22:37 +08:00
wxbty c5938d4873
Metrics Event/Listener refactor (#11982)
* Refactor Listener

* remove unuse

* add licence

* add default event available

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-04-04 09:48:04 +08:00
尔等同学 f5d1724a65
Add new unitTest (#11709)
* add new unitTest

* fix import
2023-04-03 16:37:26 +08:00
Albumen Kevin f32da50a3b
Fix URLParam decode default value (#11983)
* Fix URLParam decode default value

* Add test cases
2023-04-02 20:11:50 +08:00
wxbty 77cbbcee3f
fix (#11985) 2023-04-02 20:11:10 +08:00
Albumen Kevin 17887768d0
Add onInitialize Support (#11962)
* Add onInitialize Support

* Fix compile
2023-04-02 14:03:30 +08:00
aamingaa 5e87fee2aa
feat: lowwer version (#11944) 2023-04-02 11:35:52 +08:00
MieAh aeb2bec1d7
Opt ScopeClusterInvoker docs and uts (#11971)
* Add detailed docs and reconstruct code order.

* Optimize comments and exception information

* Improve unit testing to achieve 100% coverage.
2023-03-31 15:48:35 +08:00
Owen.Cai 960f6523f9
pojoutil support generic (#11914)
* pojoutil support generic

* add test

* generic pojo

---------

Co-authored-by: caizhenqiu <caizhenqiu@visioninsight.com>
2023-03-30 20:41:12 +08:00
earthchen 741b7854af
Revert "feat: change default mode (#11653)" (#11973)
This reverts commit feaa530589.
2023-03-30 19:20:08 +08:00
conghuhu 8fc267ba9b
feat: add tracing config (#11959)
* feat: add TracingConfig

* fix: fix conflict

* fix: fix enum nested error

* fix: fix unit test
2023-03-30 10:23:23 +08:00
songxiaosheng 547678e684
🍱 try change application metrics to counter (#11956)
* 🍱 try change application metrics to counter

* 🍱 try change application metrics to counter

* 🍱 try change application metrics to counter
2023-03-30 10:16:51 +08:00
fenglky 245f83bfa6
fix:dubbo新版本中dubbo-dependencies-zookeeper-curator5使用高版本JDK,例如JDK17,启动报错,升级版本兼容 (#11967) 2023-03-30 09:33:23 +08:00
wxbty 0d430985a3
Metrics collection is enabled by default (#11955)
* default enable

* fix ci

* add Prometheus judge

* fix

* revert default

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-03-29 20:33:46 +08:00
Albumen Kevin 0e57b84b6e
Disable some test cases (#11961) 2023-03-29 16:58:09 +08:00
Albumen Kevin 8c10572967
Bump snakeyaml from 1.32 to 2.0 (#11950)
* Bump snakeyaml from 1.32 to 2.0

* Update pom.xml
2023-03-29 13:58:45 +08:00
Albumen Kevin 2d211d790f Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	.github/workflows/build-and-test-scheduled-3.2.yml
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/metadata/ConfigurableMetadataServiceExporter.java
2023-03-29 10:28:59 +08:00
robin977 a804501d26
add switch configuration for thread pool indicator burying point) (#11788) (#11923)
* adding the reject task indicator for thread pool burying point(#11706)

* adding the reject task indicator for thread pool burying point(#11706)

* dd switch configuration for thread pool indicator burying point (#11788)

* revert code (add switch configuration for thread pool indicator burying point) (#11788)

* Revert "revert code (add switch configuration for thread pool indicator burying point) (#11788)"

This reverts commit 3370acc63f.

* add switch configuration for thread pool indicator burying point (#11788)

* add switch configuration for thread pool indicator burying point (#11788)

* add switch configuration for thread pool indicator burying point (#11788)

* add metrics on by default (#11788)

---------

Co-authored-by: robin <pengrobin607@gmail.com>
2023-03-29 10:14:43 +08:00
conghuhu 17f4b33368
fix: fix ObservationSenderFilter and MetricsClusterFilter spi config (#11952) 2023-03-29 10:13:52 +08:00
dependabot[bot] 2af3b6750b
Bump bytebuddy.version from 1.14.2 to 1.14.3 (#11949)
Bumps `bytebuddy.version` from 1.14.2 to 1.14.3.

Updates `byte-buddy` from 1.14.2 to 1.14.3
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.2...byte-buddy-1.14.3)

Updates `byte-buddy-agent` from 1.14.2 to 1.14.3
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.2...byte-buddy-1.14.3)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-agent
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 16:51:54 +08:00
Mengyang Tang e54494024a
Provider side payload checking (#11885)
* Provider side payload checking

* Optimize judgment conditions and reduce useless calculations

* bugfix
2023-03-28 16:43:13 +08:00
dependabot[bot] fe22d8723a
Bump byte-buddy from 1.14.2 to 1.14.3 (#11948)
Bumps [byte-buddy](https://github.com/raphw/byte-buddy) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.2...byte-buddy-1.14.3)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 16:41:34 +08:00
wxbty 1435c23e92
Simplify event publishing (#11863) 2023-03-28 16:11:14 +08:00
songxiaosheng 20a713faf5
🐛 if it has exception processing request need end too. (#11881) 2023-03-28 15:57:21 +08:00
Andy Cheung a0f4c6dc33
[3.2] Remove deprecated method invocation in tests (Common Module). (#11925)
* Remove deprecated method invocation in EagerThreadPoolExecutorTest and ModuleServiceRepositoryTest.

* Reformat ExtensionLoaderTest.

* Optimize ApplicationModel, EnvironmentTest, JsonUtilsTest, JsonUtils.

* Optimize ReflectUtils.

* Remove test only methods in FileCacheStore, FileCacheStoreFactory.

* Optimize tests in common module.

* Optimize tests in common module (2).

* Optimize tests in common module (3).

* Remove setJson() method.

* Remove blank test.

* Revert "Remove setJson() method."

* Revert "Remove test only methods in FileCacheStore, FileCacheStoreFactory.".

* Revert "Remove blank test."

* Revert the commit to original JsonUtils.
2023-03-28 15:36:06 +08:00
eye-gu b967d3c1f8
binary search weights Fixes 11776 (#11886)
Co-authored-by: eye <eye.gu@aloudata.com>
2023-03-28 15:34:45 +08:00
ZhaoGZzzzzzzz f57dbcfae3
Fix #11524 (#11524) (#11936) 2023-03-28 15:29:24 +08:00
conghuhu 16c031a68c
chore: some tracing-related optimizations (#11924)
* chore: some tracing-related optimizations

* fix: fix conflict

* fix: fix observability-starter miss dubbo-common
2023-03-28 14:10:41 +08:00
icodening 88853e0177
fix BatchExecutorQueue bug (#11927)
Co-authored-by: earthchen <earthchen1996@gmail.com>
2023-03-28 11:05:25 +08:00
fan 89e271408d
[ISSUE #10020] test efficiency of MemorySafeLinkedBlockingQueue (#11841) 2023-03-27 19:14:20 +08:00
Albumen Kevin 5a2114d140
Fix if isolated service not implemented (#11938)
* Fix if isolated service not implemented

* Add uts

* Fix  license
2023-03-27 17:22:10 +08:00
huazhongming 26e59adea9
fix native ci (#11933)
Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2023-03-27 12:24:24 +08:00
huazhongming 58d97e5b73
fix native ci for scheduled (#11932)
Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2023-03-27 12:23:53 +08:00
Mengyang Tang 35751cbfae
Remove logic to simplify ConstraintViolationException to ValidationException. (#11883) 2023-03-27 10:04:14 +08:00
dependabot[bot] 5d21a06e97
Bump spring-boot-dependencies from 2.7.9 to 2.7.10 (#11904)
Bumps [spring-boot-dependencies](https://github.com/spring-projects/spring-boot) from 2.7.9 to 2.7.10.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.9...v2.7.10)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 10:03:04 +08:00
dependabot[bot] 7bf867eff5
Bump spring-boot.version from 2.7.9 to 2.7.10 (#11905)
Bumps `spring-boot.version` from 2.7.9 to 2.7.10.

Updates `spring-boot-starter` from 2.7.9 to 2.7.10
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.9...v2.7.10)

Updates `spring-boot-autoconfigure` from 2.7.9 to 2.7.10
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.9...v2.7.10)

Updates `spring-boot-starter-logging` from 2.7.9 to 2.7.10
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.9...v2.7.10)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework.boot:spring-boot-autoconfigure
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework.boot:spring-boot-starter-logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 09:51:24 +08:00
dependabot[bot] a0524215e5
Bump spring-boot-starter-test from 2.7.9 to 2.7.10 (#11906)
Bumps [spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.9 to 2.7.10.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.9...v2.7.10)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 09:51:15 +08:00
dependabot[bot] 28440f8dc5
Bump commons-compress from 1.22 to 1.23.0 (#11907)
Bumps commons-compress from 1.22 to 1.23.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 09:51:03 +08:00
dependabot[bot] 0e57e806a4
Bump spring-boot-maven-plugin from 2.7.9 to 2.7.10 (#11908)
Bumps [spring-boot-maven-plugin](https://github.com/spring-projects/spring-boot) from 2.7.9 to 2.7.10.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.9...v2.7.10)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 09:50:53 +08:00
wxbty e7d3cf8ce6
dubbo-starter import metrics dep (#11921)
* add stater

* fix starter path

* opt obserable dep

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-03-27 09:50:18 +08:00
gsralex 6faf548e24
Add histogram (#11632) 2023-03-27 09:49:09 +08:00
fomeiherz c91affe875
Add metrics for configcenter (#11602)
* Add ConfigCenter metrics.

* Modifying the obtaining mode for ConfigCenterMetricsCollector.

* Modify method name.

* Add metrics when configCenter initialized.

* Add UnitTest

* Add License.

* bugfix: config test not pass.

* 1.delete author
2.unuse imported

* fix configcenter metrics zk factory

* Get 'dubbo.metrics.configcenter.enable' config from property, get config before startup.

* resolve conflict

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-03-27 09:48:38 +08:00
songxiaosheng 4a3172b80a
Fix/dependency cycle (#11919)
* change dependencies

* add license

* Ut change

* Ut remove unused code

* cluster dependency

* formatName method be delete

---------

Co-authored-by: jojocodeX <571943037@qq.com>
2023-03-27 09:46:32 +08:00
wxbty fd61fc3822
bugfix && add testcase (#11918)
* bugfix && add testcase

* fix tag

* collector default enable

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-03-25 15:43:26 +08:00
robin977 12febcfbf5
adding the reject task indicator for thread pool burying point(#11706) (#11916)
* adding the reject task indicator for thread pool burying point(#11706)

* adding the reject task indicator for thread pool burying point(#11706)

* dd switch configuration for thread pool indicator burying point (#11788)

* revert code (add switch configuration for thread pool indicator burying point) (#11788)

---------

Co-authored-by: robin <pengrobin607@gmail.com>
2023-03-25 15:42:33 +08:00
earthchen 7b9e65ed06
Revert "optimize performance. decode in user thread (#11879)" (#11917)
This reverts commit 95865b0461.
2023-03-24 23:35:13 +08:00
Albumen Kevin 27f18c5c53 Merge branch 'apache-3.1' into apache-3.2 2023-03-24 20:23:37 +08:00