Commit Graph

1638 Commits

Author SHA1 Message Date
Albumen Kevin 7b595b19bf
Enhance shutdown hook logs (#12336) 2023-05-17 14:51:15 +08:00
dependabot[bot] 978c857092
Bump testcontainers from 1.18.0 to 1.18.1 (#12309)
Bumps [testcontainers](https://github.com/testcontainers/testcontainers-java) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.18.0...1.18.1)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers
  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-05-16 12:53:11 +08:00
Albumen Kevin cbc2040133
Update zk version (#12319)
* Update zk version

* tmp disable

* Update build-and-test-pr.yml
2023-05-16 10:50:05 +08:00
songxiaosheng 75abb01bb4
🔥 remove unuse metrics config (#12266)
* degist-concurrency-bugfix

* stytle opt

* fix i++

* revert demo

* fix sonar

* remove apache licence

* add licence

* add testcase&& fix notice

* add notice

* add notice

* add notice

* add notice

* fix ci timeout

* fix ci timeout

* remove testcase because of timeout

* remove testcase because of timeout

* remove testcase because of timeout

* fix ci

* fix sonar

* 🔥 remove metricsPort config

* 🔥 remove metricsPath config

---------

Co-authored-by: wxbty <wxb_101@163.com>
Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-05-10 14:10:18 +08:00
conghuhu 796e9ec9b6
fix: fix mutiple tracing config (#12247) 2023-05-08 07:41:48 +08:00
icodening c5f8ce6478
auto detect proxy type (#12232)
* auto detect proxy type

* auto detect proxy type
2023-05-05 16:18:31 +08:00
suncairong163 ab85403d47
rest provider interface judge modify (#12163)
* rest impl class support by changing  service config  interface judge

* add test System.exit(1)

* remove  test System.exit(1)

* add Override annotation

* add comment to containsRestProtocol

* refacor method name
2023-05-02 21:42:07 +08:00
KamTo Hung a59a378de5
Fix consumer startup failure (#12204)
* fix #12099

* fix #12099

* add UT

* fix #12099
2023-05-02 21:41:04 +08:00
Albumen Kevin 25a08a2b40
Support offline notify (#12211)
* Support offline notify

* Add log
2023-05-02 21:25:11 +08:00
Albumen Kevin 3552347d44
Support Shutdown Gracefully (#12118) 2023-04-28 14:21:47 +08:00
ShenFeng312 9687e48949
Polish comments and logs (#12169) 2023-04-25 14:16:56 +08:00
dependabot[bot] d37f440528
Bump spring-boot-starter-test from 2.7.10 to 2.7.11 (#12181)
Bumps [spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.10 to 2.7.11.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.10...v2.7.11)

---
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-04-25 13:58:28 +08:00
wxbty d6f9d8d38f
Configuration center metrics separate module (#12096)
* init config module

* remove old

* add pom

* add pom

* add in artifact

* use consts

* add comment

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-04-19 18:33:13 +08:00
Albumen Kevin 1b838281a4
QoS Support anonymous command allow list (#12082)
* QoS Support anonymous command allow list

* Fix test
2023-04-19 10:13:09 +08:00
conghuhu 559b13ae2e
feat: add tracing starters && add zipkin auto configuration (#12013)
* fix: fix observ-starter some bugs

* faet: add zipkin auto configuration

* fix: remove zipkin endpoint default value

* feat: add prometheus client bom to observability starter

* feat: add observability starters

* fix: add license

* feat: add observability-brave-zipkin-starter to dubbo-distribution

* fix: add moudles to dubbo-bom

* stylelint

* chore: change observ starter name

* fix
2023-04-15 11:47:12 +08:00
robin977 ff4c1e8672
Fixed the observable collection thread pool indicator (#12087)
Co-authored-by: robin <pengrobin607@gmail.com>
2023-04-13 14:00:31 +08:00
Albumen Kevin 94a50e5d4e
Set isolated executor for internal services (#12067) 2023-04-11 21:29:30 +08:00
Albumen Kevin bc85a3f29a
Performance Optimization (#11975) 2023-04-11 16:10:06 +08:00
Albumen Kevin 412471a98f
Enhance inconsistent version check (#12038)
* Enhance inconsistent version check

* Fix seperate

* Fix load

* Fix load

* Fix test

* Update pom.xml

* Print tree

* use zip instead

* Fix test
2023-04-11 15:14:48 +08:00
aamingaa 93d146924a
feat: generic timeout (#11677)
* feat: generic timeout

* feat: generic timeout

* feat: fix ut

* feat: change to default

* feat: test verify method

* feat: test verify method

* Update dubbo-common/src/test/java/org/apache/dubbo/config/AbstractInterfaceConfigTest.java

change to assertFalse

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>

* Update dubbo-common/src/test/java/org/apache/dubbo/config/AbstractInterfaceConfigTest.java

assertFalse

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>

* feat: fix ut。。。

* feat: fix ut。。。

* feat: testVerifyMethod

* feat: testVerifyMethod

* feat: fix msg

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-04-11 14:20:48 +08:00
KamTo Hung f05662a66d
optimize JsonUtils (#12057) 2023-04-11 11:24:55 +08:00
dependabot[bot] 8efd069ded
Bump testcontainers from 1.17.6 to 1.18.0 (#12053)
Bumps [testcontainers](https://github.com/testcontainers/testcontainers-java) from 1.17.6 to 1.18.0.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.6...1.18.0)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers
  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-10 19:13:54 +08:00
wxbty 0ff44d3d75
Optimize naming, remove duplicate words (#11969)
* Optimize naming, remove duplicate words

* fix ci

* fix ci

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-04-06 09:39:09 +08:00
suncairong163 912deb69a8
Feature/3.2 rest protocol provider (#11640) 2023-04-05 14:10:53 +08:00
dependabot[bot] d974a5499e
Bump aspectjweaver from 1.9.5 to 1.9.19 (#11996)
Bumps [aspectjweaver](https://github.com/eclipse/org.aspectj) from 1.9.5 to 1.9.19.
- [Release notes](https://github.com/eclipse/org.aspectj/releases)
- [Commits](https://github.com/eclipse/org.aspectj/commits)

---
updated-dependencies:
- dependency-name: org.aspectj:aspectjweaver
  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-04-04 17:17:24 +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
Albumen Kevin 17887768d0
Add onInitialize Support (#11962)
* Add onInitialize Support

* Fix compile
2023-04-02 14:03:30 +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
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 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
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
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
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
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
aamingaa feaa530589
feat: change default mode (#11653) 2023-03-22 13:25:15 +08:00
MieAh 46aff44c2f
Support choose local invoke in runtime instead of startup (#11531) 2023-03-21 17:01:33 +08:00
wxbty 2f4944e853
Interface level registry metrics (#11786)
* fix

* remove unuse

* add serviceKey subscribe

* fix method refact

* remove unuse

* remove unuse

* fix npe

* fix npe

* fix npe

* add event validate

* fix testcase

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-03-17 13:46:04 +08:00
Mengyang Tang c76607dadc
Add spring configuration for QOS function. (#11823) 2023-03-16 09:48:03 +08:00
Mengyang Tang d061b29b39
Some code optimization (#11825)
* Code optimization

* Code optimization: modifier optimization, condition simplification, etc.

* Fix CI error

* Fix CI error
2023-03-16 09:43:57 +08:00
kanghailin e6ee6088bf
Remove redundant synchronized (#11811) 2023-03-13 20:55:41 +08:00
wxbty 9ea6094349
Reuse qos port for metrics (#11719)
* init

* init

* reuse qos port for metrics

* reuse qos port for metrics

* fix

* fix

* add logResult

* allow all&&use exist

* remove unuse

* fix testcase

* fix testcase

* public permission level

* revert permission level

* fix

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-03-13 17:05:57 +08:00
Albumen Kevin ea7af7a294 Fix ut 2023-03-11 11:16:19 +08:00
Albumen Kevin a8a8eda38f Fix uts 2023-03-10 17:13:51 +08:00
Albumen Kevin 8e3af257b1 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ReferenceConfigTest.java
2023-03-10 16:54:15 +08:00
Albumen Kevin d0a1bd0143
Fix recreate client after destroy (#11780)
* Fix recreate client after destroy

* Fix uts
2023-03-10 16:25:56 +08:00
robin977 14f2d79693
Fixed the issue where core thread metrics were in effect(#11704) (#11752)
* Fixed the issue where core thread metrics were in effect

* Fixed the issue where core thread metrics were in effect(#11704)

* fix: add core thread metrics name (#11704)

* fix: remove useless dependencies (#11704)

---------

Co-authored-by: robin <pengrobin607@gmail.com>
2023-03-10 15:21:25 +08:00
liufeiyu1002 7277c159cf fix reference bean name conflicts (#11699)
* fix reference bean name conflicts

* add ut case
2023-03-06 19:49:16 +08:00
dependabot[bot] ea6a3273d0
Bump spring-boot-starter-test from 2.7.8 to 2.7.9 (#11741)
Bumps [spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.8 to 2.7.9.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.8...v2.7.9)

---
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-06 19:21:03 +08:00
liufeiyu1002 48bc7165f7
fix reference bean name conflicts (#11699)
* fix reference bean name conflicts

* add ut case
2023-03-03 07:15:26 +08:00
尔等同学 c272af38c6
Reactor some newInstance method (#11686) 2023-03-03 06:43:37 +08:00
wxbty ef29a41e58
Optimize the code of metrics registry&metadata (#11659)
* registry&metadata opt

* add licence

* fix sonar

* fix enable failed

* fix enable failed

* add registry&metadata in spring/xsd

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-03-03 06:42:00 +08:00
Mengyang Tang a293e7e7c8
Implement service-level payload (#11517) 2023-03-02 20:14:01 +08:00
常珂洁 5483693119
fix: remove redundancy exceptions (#11676) 2023-02-28 13:32:31 +08:00
尔等同学 7e51047cb0
delete never thrown exception (#11674) 2023-02-27 20:09:15 +08:00
Albumen Kevin c4d6f94b2c
Introduce getConfig QoS Command (#11664)
* Introduce getConfig QoS Command

* Fix NPE

* Fix NPE
2023-02-27 12:33:04 +08:00
wxbty c041fa1f93
Observability task: registration center (#11493) 2023-02-25 17:22:44 +08:00
wxbty 671e0f8bb9
Observability task: metadata center (#11593)
* init metadata

* add pom

* add licence

* add licence

* remove unuse pom

* remove unuse pom

* remove unuse pom

* fix test

* fix test

* fix test

* fix pom

* use applicationModel

* remove unuse

* add test

* add push testcase

* add test case

* add test case

* add testcase

* rename

* opt

* debug

* fix testcase

* add pom

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-02-22 20:44:58 +08:00
songxiaosheng f8980fe136
Add Consumer Metrics (#11542)
* consumer Metrics filter

* consumer Metrics filter

* fix some problem

* add keyword private final

* add keyword private final

* add consumer point

* rollback some file

* add some metrics

* fix some problem

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

* ♻️ refactor consumer meter collect

---------

Co-authored-by: lcb11 <46276651+lcb11@users.noreply.github.com>
Co-authored-by: lcb11 <2990024235@qq.com>
2023-02-20 16:03:57 +08:00
Albumen Kevin 976dc25bb9 Fix compile 2023-02-16 15:37:31 +08:00
wxbty e780b3d5c1
Provides the public part of metrics data collection and export (#11522)
* init

* add licence

* update common func

* fix conflict

* add 2 new metaData

* fix testcase

* add param ignore

* revert some format

* fix refrence && remove listener spi

* opt collector spi

* opt collector spi

* opt collector spi

* fix sipi

* fix reflact-json

* fix reflact-json

* move module

* revert default collector

* add licence

* move default collector

* fix testcase

* add comment

* fix frame

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
Co-authored-by: wangxiaobin <wangxiaobin@cai-inc.com>
2023-02-16 14:56:19 +08:00
Albumen Kevin 6c062586b4 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-common/src/main/java/org/apache/dubbo/rpc/model/ApplicationModel.java
#	dubbo-common/src/main/java/org/apache/dubbo/rpc/model/ModuleModel.java
#	dubbo-common/src/test/java/org/apache/dubbo/rpc/model/ApplicationModelTest.java
2023-02-16 14:16:12 +08:00
Albumen Kevin 7a774d21a6 Fix conflict 2023-02-16 11:24:20 +08:00
Albumen Kevin 1dfd06b381
Fix concurrent issue in scope model (#11525) 2023-02-16 10:40:31 +08:00
Albumen Kevin 988768e589 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-common/src/main/java/org/apache/dubbo/config/AbstractConfig.java
#	dubbo-common/src/test/java/org/apache/dubbo/common/utils/JsonUtilsTest.java
#	dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ServiceConfigTest.java
#	dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/ServiceNameMapping.java
#	dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/ProfilerServerFilter.java
#	dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleInvoker.java
2023-02-16 10:09:10 +08:00
Albumen Kevin d874a87303
Skip mapping retry if metadata config is invalid (#11323)
* Skip mapping retry if metadata config is invalid

* Fix uts
2023-02-15 15:50:35 +08:00
Albumen Kevin 551ff4a374
Enhance service discovery update interval (#11223)
* Enhance service discovery update interval

* Update DefaultApplicationDeployer.java
2023-02-15 07:17:13 +08:00
KamTo Hung ae98de212b
Perfect some code (#11533)
* Perfect some code
1. Replace filter...findAny…isPresent to anyMatch, we can reduce some circulation
2. Reduce some new ArrayList<>()
3. Add 'final' for member variable

* Perfect some code. (#11534)

* Perfect some code. (#11534)

* Perfect some code. (#11534)

* Perfect some code. (#11534)
2023-02-15 06:54:46 +08:00
aamingaa 2b945f8ccf
feat: dubbo provided by (#11390) 2023-02-15 06:52:50 +08:00
Albumen Kevin b21baffa8c
Fix config absent when refresh (#11505) 2023-02-14 15:15:00 +08:00
KamTo Hung 6ded7b23ff
Fix hasPreparedInternalModule is always false. (#11535) (#11536)
* Fix hasPreparedInternalModule is always false. (#11535)

* Fix hasPreparedInternalModule is always false. (#11535)
2023-02-14 10:49:31 +08:00
jojocodeX bef06c8313
Metrics Count Optimization (#11529) 2023-02-14 07:33:58 +08:00
Webster cc32ebefa1
add thread pool metric (#11461)
* add thread pool metric,and run successfully

* add more thread pool metric,and run successfully

* delete comment

* avoid start import

* avoid start import and unused import

* avoid check

* ut pass

* Resolve unit test failures
The previous unit test run failed due to the introduction of thread pool metrics,
Unit tests now filter thread pool metrics

* Spin-off the applicationModel from the DefaultMetric Collector

---------

Co-authored-by: dongdong.yang <dongdong.yang@ly.com>
2023-02-12 08:57:35 +08:00
songxiaosheng 42cd91d8cd
Optimization dubbo meter pull delay and add dubbo version meter (#11457) 2023-02-08 14:43:45 +08:00
Albumen Kevin 90ae7524c0 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-dependencies-bom/pom.xml
#	dubbo-dependencies/dubbo-dependencies-zookeeper-curator5/pom.xml
#	dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml
#	pom.xml
2023-02-06 17:44:17 +08:00
Albumen Kevin 34b92b0874 Fix default 2023-02-03 22:08:07 +08:00
Albumen Kevin 6154b1de0b
Enhance check (#11450) 2023-02-03 10:57:08 +08:00
songxiaosheng e49663648d
🍱 provider collector extract to FrameworkModel scope (#11420) 2023-02-02 16:24:52 +08:00
wxbty 4a2f26cc27
move metrics from common to dubbo-metrics (#11386)
* move metrics pkg

* fix path

* revert unnecessary formatting changes

* fix export common path

* add default in all

* spi path fix

* revert merged content && simplify  metrics pkg import

* import single dep

* MetricsFilter has been migrated to the default package

* revert api pkg in bom

* close hint

* fix

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-02-01 10:30:06 +08:00
dependabot[bot] 7302d147c6
Bump spring-boot-starter-test from 2.3.1.RELEASE to 2.7.8 (#11378)
Bumps [spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.3.1.RELEASE to 2.7.8.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.3.1.RELEASE...v2.7.8)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-test
  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-01-28 11:24:39 +08:00
dependabot[bot] 7439ae40b5
Bump testcontainers from 1.15.3 to 1.17.6 (#11367)
Bumps [testcontainers](https://github.com/testcontainers/testcontainers-java) from 1.15.3 to 1.17.6.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.15.3...1.17.6)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers
  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-01-28 11:22:49 +08:00
mxsm d2eb0ef458
[ISSUE #11294] Optimize ConcurrentHashMap#computeIfAbsent have performance problem in jdk1.8 (#11326) 2023-01-19 23:07:12 +08:00
Albumen Kevin f42f21bce8 Fix test conflict 2023-01-11 15:29:41 +08:00
Albumen Kevin a278feb372 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-common/src/main/java/org/apache/dubbo/config/ApplicationConfig.java
#	dubbo-config/dubbo-config-spring/src/main/resources/META-INF/dubbo.xsd
#	dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosNamingServiceWrapper.java
#	dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosServiceDiscovery.java
#	dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/util/NacosNamingServiceUtils.java
#	dubbo-registry/dubbo-registry-nacos/src/test/java/org/apache/dubbo/registry/nacos/NacosNamingServiceWrapperTest.java
#	dubbo-registry/dubbo-registry-nacos/src/test/java/org/apache/dubbo/registry/nacos/NacosRegistryTest.java
2023-01-11 15:05:01 +08:00
Albumen Kevin fc00efd704
Fix test cases for service name mapping (#11280) 2023-01-11 14:30:19 +08:00
Albumen Kevin 84c1c35aae
Add serialization check (#11217) 2023-01-11 11:41:52 +08:00
Albumen Kevin 213363422e
Add mapping retry (#11265) 2023-01-11 10:47:37 +08:00
Albumen Kevin fbbca9d405
Fix config unable to serialize (#11267) 2023-01-10 14:12:17 +08:00
Albumen Kevin e87d896352 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-kubernetes/src/main/java/org/apache/dubbo/registry/kubernetes/KubernetesServiceDiscovery.java
#	dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ReflectionBasedServiceDiscovery.java
2023-01-05 10:26:24 +08:00
Albumen Kevin ad79c9e8fd
Fix service instance update failed (#11236) 2023-01-05 10:17:14 +08:00
Albumen Kevin b8ea46d038 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/DefaultCommandExecutor.java
#	dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/api/ConnectionHandler.java
#	dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/AbstractServer.java
2023-01-04 17:36:49 +08:00
Andy Cheung 34168e6d0e
Merge error code 3-3 to 3-8, 6-4 to 99-0. (#11225)
* Replace LoggerCodeConstants.java with 3.2 branch.

* Add hints in the constant file.

* Add hints in the constant file. (2)

* Merge 3-3 to 3-8.

* 6-4 -> 99-0.

* 6-4 -> 99-0.

* 6-4 -> 99-0.

* 6-4 -> 99-0. (4)

* 6-4 -> 99-0. (5, Compatible)

* Change AbstractH2TransportListener's error code per @EarthChen's request.
2023-01-03 15:03:55 +08:00
ShenFeng312 854d85953d
fix #11033 (#11144) 2022-12-30 16:27:16 +08:00
Albumen Kevin 3375f727e1 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	.github/workflows/build-and-test-pr.yml
#	dubbo-common/src/main/java/org/apache/dubbo/common/constants/LoggerCodeConstants.java
2022-12-30 15:53:09 +08:00
Andy Cheung 2c6a933d3a
Change some test-related error code to a separate series. (#11219)
* Revert changes in FailsafeLoggerTest.

* COMMON_FAILED_REFLECT -> COMMON_REFLECTIVE_OPERATION_FAILED. Add 81-1.

* 1-25 -> 81-2.

* 1-23 / 5-19 -> 81-3 / 81-4.
2022-12-30 15:50:42 +08:00
Albumen Kevin 0e4997b252 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-common/src/main/java/org/apache/dubbo/common/constants/LoggerCodeConstants.java
#	dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistry.java
#	dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/event/listener/ServiceInstancesChangedListener.java
#	dubbo-rpc/dubbo-rpc-api/src/main/resources/META-INF/dubbo/internal/org.apache.dubbo.rpc.Filter
2022-12-29 17:33:02 +08:00
wuwen 98c2f39090
Fix deadlocks in lazy-init situations. (#11194)
* Fix deadlocks in lazy-init situations.

* Fix deadlocks in lazy-init situations(Compatible with versions earlier than spring-4.2)
2022-12-25 21:17:20 +08:00
Albumen Kevin 2a7dd3dc29
Fix error code in 3.2 branch (#11199)
* Fix error code in 3.2 branch

* Fix error code in 3.2 branch
2022-12-25 20:33:15 +08:00
Albumen Kevin 459a0f915b Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-dependencies-bom/pom.xml
#	dubbo-dependencies/dubbo-dependencies-zookeeper-curator5/pom.xml
#	dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml
#	pom.xml
2022-12-22 15:50:23 +08:00
Albumen Kevin 873df39a79 Merge branch '3.1.4-release' into apache-3.1 2022-12-22 15:47:28 +08:00
Albumen Kevin bb05764dd3
Fix Consumer ClassLoader Change (#11179)
* Fix Consumer ClassLoader Change

* Add test cases

* Fix uts
2022-12-21 23:29:42 +08:00
Albumen Kevin eba39fd65b Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/CacheableFailbackRegistry.java
2022-12-21 23:25:53 +08:00
Albumen Kevin 4a2566d2db
Lazy init scope model in config (#11142) 2022-12-21 11:56:21 +08:00
Albumen Kevin 80a15197e6 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DecodeableRpcInvocation.java
2022-12-16 12:56:56 +08:00
Albumen Kevin 941f1b4530 Merge branch 'apache-3.1' into 3.1.4-release 2022-12-16 12:55:51 +08:00
Albumen Kevin 705b327885
Revert #10839, #11082 and #11086 (#11160) 2022-12-16 12:53:22 +08:00
Albumen Kevin 6682df3772 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/Constants.java
#	dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/ReflectionPackableMethod.java
#	dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleProtocol.java
2022-12-15 20:16:16 +08:00
Albumen Kevin b58a06443e Temporally disable MultiInstanceTest 2022-12-15 18:11:23 +08:00
Albumen Kevin b1ae0def58 Fix uts 2022-12-15 18:10:10 +08:00
Albumen Kevin 7ec01c0941 Fix testMultiProviderApplicationsStopOneByOne create new framework model 2022-12-15 17:26:17 +08:00
Albumen Kevin fc7f019a08 Disable pre check in MultiInstanceTest 2022-12-15 14:09:57 +08:00
Albumen Kevin 6cda325133
Add some check for MultiInstanceTest (#11139)
* Add some check for MultiInstanceTest

* Add some check for MultiInstanceTest

* Add some check for MultiInstanceTest
2022-12-15 12:40:36 +08:00
Albumen Kevin 1e28d53024
Try fix MultiInstanceTest Again (#11138)
* Try fix MultiInstanceTest

* Try fix MultiInstanceTest
2022-12-15 10:52:06 +08:00
Albumen Kevin e219c1f4da
Try fix MultiInstanceTest (#11132) 2022-12-14 17:11:32 +08:00
Albumen Kevin ab10b8a189 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultApplicationDeployer.java
2022-12-12 16:24:01 +08:00
Albumen Kevin 8d6c4fdedb
Fix MetadataReportConfig being valid when pre config (#11110)
* Fix MetadataReportConfig being valid when pre config

* enhance

* enhance

* fix port not work
2022-12-12 14:02:18 +08:00
Albumen Kevin 66b8487795
Read protocol config's serialization as default (#11116)
* Read protocol config's serialization as default

* Add xsd

* fix uts
2022-12-11 18:19:35 +08:00
Albumen Kevin 093fd43f7f
Read default prefer serialization from serialization first (#11024) 2022-12-11 11:08:58 +08:00
huazhongming 031016ec60
Add refresh system properties logic (#11086) 2022-12-08 17:46:06 +08:00
Albumen Kevin 5c082eaefa Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-native/src/main/java/org/apache/dubbo/remoting/api/pu/PortUnificationTransporter$Adaptive.java
#	dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DecodeableRpcInvocation.java
#	dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/call/AbstractServerCallListener.java
2022-12-08 17:44:11 +08:00
huazhongming d327fea674
Support dump thread switch and directory config (#10955)
* support dump switch config

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

* support xml config for dump directory and dump switch

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

Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2022-12-05 15:38:26 +08:00
huazhongming 1470c7ca1e
Cache jvm system parameters to prevent each call from being executed, affecting performance (#10839)
* Cache jvm system parameters to prevent each call from being executed, affecting performance

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

* fix npe

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

* optimization performance

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

* remove unused import

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

* add default config value

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

* change getProperty method

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

* change convert method

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

* change getInternalProperty by default value

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

* add overwrite cache api

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

* add clear cache api

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

* fix ut

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

* fix ut

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

* fix ut

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

* reset DubboBootstrap

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

* change serialization.security.check config to app scopemodel

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

* fix url without scopemodel

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

* fix url without scopemodel

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

Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2022-12-05 15:37:33 +08:00
Albumen Kevin 8c61f9b225 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-dependencies-bom/pom.xml
#	dubbo-dependencies/dubbo-dependencies-zookeeper-curator5/pom.xml
#	dubbo-dependencies/dubbo-dependencies-zookeeper/pom.xml
#	pom.xml
2022-11-29 20:42:33 +08:00
Albumen Kevin f670fa33ad
Enhance unit test cases (#11037) 2022-11-29 19:50:30 +08:00
Albumen Kevin 4de9672008 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	.licenserc.yaml
#	dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/AbstractAnnotationBeanPostProcessor.java
#	dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java
#	dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/stream/TripleClientStream.java
2022-11-28 14:24:34 +08:00
cnjxzhao 791918c471
Error code is managed with constants (#10771) (#11016) 2022-11-25 17:34:38 +08:00
陈精华 10082d3fa1
Fix ApplicationConfig.enableFileCache default value is not true (#10880) (#11008) 2022-11-25 14:47:05 +08:00
Albumen Kevin c6a3f94118
Fix code style for 3.2 (#11020) 2022-11-25 14:05:03 +08:00
huazhongming 5d9638dd5e
fix log (#11000) 2022-11-24 14:36:34 +08:00
XS da95c62d80
fix comments (#11005) 2022-11-24 11:35:30 +08:00
XS 2b8537f3f4
✏️ XSD file append prefer-serialization (#11004) 2022-11-23 19:50:14 +08:00
XS 0945e4e424
Revert "XSD file append prefer-serialization (#10998)" (#11003)
This reverts commit 151b4a9514.
2022-11-23 19:34:11 +08:00
XS 151b4a9514
XSD file append prefer-serialization (#10998) 2022-11-23 18:06:06 +08:00
Albumen Kevin 4451bfa29c Fix conflict of ConfigurableMetadataServiceExporter 2022-11-22 16:08:11 +08:00
Albumen Kevin 9f9b3d7cb7 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/metadata/ConfigurableMetadataServiceExporter.java
2022-11-22 16:05:58 +08:00
Albumen Kevin 64a1d13cc3
Fix try use rest protocol (#10986) 2022-11-22 15:02:33 +08:00
Albumen Kevin 1efe576197 Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-common/src/test/java/org/apache/dubbo/common/utils/JsonUtilsTest.java
#	dubbo-registry/dubbo-registry-api/src/test/java/org/apache/dubbo/registry/client/migration/model/MigrationRuleTest.java
#	dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/api/ConnectionTest.java
#	dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/api/MultiplexProtocolConnectionManagerTest.java
#	dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/api/SingleProtocolConnectionManagerTest.java
#	dubbo-remoting/dubbo-remoting-netty4/src/test/java/org/apache/dubbo/remoting/transport/netty4/NettyChannelTest.java
#	dubbo-remoting/dubbo-remoting-netty4/src/test/java/org/apache/dubbo/remoting/transport/netty4/PortUnificationExchangerTest.java
#	dubbo-rpc/dubbo-rpc-triple/src/test/java/org/apache/dubbo/rpc/protocol/tri/TripleInvokerTest.java
#	dubbo-rpc/dubbo-rpc-triple/src/test/java/org/apache/dubbo/rpc/protocol/tri/transport/WriteQueueTest.java
2022-11-22 14:23:29 +08:00
Albumen Kevin fdb4b21f9a
Refactor some test cases to remove public modifier (#10984) 2022-11-22 14:04:32 +08:00
Weix Sun 423f4ec209
Support for Spring Framework 6 and Spring Boot 3 (#10941) 2022-11-22 10:51:39 +08:00
Albumen Kevin b8664c4235
Remove public modifier in dubbo-config (#10978) 2022-11-22 10:49:25 +08:00
Albumen Kevin 9d4cb1a59d Merge branch 'apache-3.1' into apache-3.2
# Conflicts:
#	dubbo-rpc/dubbo-rpc-injvm/src/main/java/org/apache/dubbo/rpc/protocol/injvm/InjvmInvoker.java
2022-11-21 11:33:52 +08:00
Albumen Kevin ae0a371690 Merge branch 'apache-3.0' into apache-3.1 2022-11-21 11:31:37 +08:00
Albumen Kevin bfce75cf66 Revert "Revert "Local references support mergeable (#9645)" (#10707)"
This reverts commit 67d94aea58.
2022-11-21 11:31:29 +08:00
Albumen Kevin 67d94aea58 Revert "Local references support mergeable (#9645)" (#10707)
This reverts commit 72326f42ba.
2022-11-21 11:27:26 +08:00
xin gu 9dd3322255
Support plain text for xds channel (#10947) 2022-11-18 10:05:40 +08:00
Albumen Kevin 046bb88d2f Merge branch 'apache-3.1' into apache-3.2 2022-11-15 14:22:01 +08:00
huazhongming 1ab253a1b2
Port Unification is disabled by default, and the spi key implemented by Netty4 port unification is changed (#10894) 2022-11-15 10:26:35 +08:00
Albumen Kevin 82507b8856 Merge branch 'apache-3.1' into apache-3.2 2022-11-12 23:29:15 +08:00