Commit Graph

678 Commits

Author SHA1 Message Date
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
dependabot[bot] 782d9986b6
Bump org.springframework.boot:spring-boot-starter-test (#13254)
Bumps [org.springframework.boot:spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.16 to 2.7.17.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.16...v2.7.17)

---
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-10-23 16:39:11 +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
Albumen Kevin c5efc65a99
Remove sync lock for lazy target (#13220) 2023-10-18 11:52:28 +08:00
Albumen Kevin e9e08ee383
Fix zk dependency in metadata-report and config-center (#13159) 2023-10-09 09:33:22 +08:00
dependabot[bot] fd43f61ca8
Bump org.springframework.boot:spring-boot-starter-test (#13115)
Bumps [org.springframework.boot:spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.15 to 2.7.16.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.15...v2.7.16)

---
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-09-25 19:03:31 +08:00
Albumen Kevin 705d96e9f6
Fix uts on 3.2 (#13090) 2023-09-21 14:07:14 +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
Albumen Kevin 843da6db6c
Fix test cases in scheduled test (#13020) 2023-09-08 09:36:16 +08:00
Nortyr cdd7a40564
Fixes #12765 (#12981) 2023-09-05 10:50:35 +08:00
dependabot[bot] baec513773
Bump org.aspectj:aspectjweaver from 1.9.20 to 1.9.20.1 (#13006)
Bumps [org.aspectj:aspectjweaver](https://github.com/eclipse/org.aspectj) from 1.9.20 to 1.9.20.1.
- [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-09-04 17:16:23 +08:00
Albumen Kevin bfa46f59eb
Ignore start if scope model is LifeCycleManagedExternally (#12985) 2023-09-01 13:32:19 +08:00
dependabot[bot] e04e0e6c66
Bump org.springframework.boot:spring-boot-starter-test (#12971)
Bumps [org.springframework.boot:spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.14 to 2.7.15.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.14...v2.7.15)

---
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-08-29 09:43:43 +08:00
Albumen Kevin 2a5b437d58
Support check if qos server is started (#12952) 2023-08-23 19:00:07 +08:00
dependabot[bot] 631c1e0f24
Bump org.aspectj:aspectjweaver from 1.9.19 to 1.9.20 (#12930)
Bumps [org.aspectj:aspectjweaver](https://github.com/eclipse/org.aspectj) from 1.9.19 to 1.9.20.
- [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-08-21 18:33:19 +08:00
Albumen Kevin 85b03bca56
Support keep running on spring closed with properties (#12912)
* Support keep running on spring closed with properties

* name
2023-08-16 15:15:13 +08:00
Albumen Kevin 972a0814b9
Fix Spring Listener order (#12911) 2023-08-16 14:30:52 +08:00
kanghailin 45405ff340
Optimize code in DubboSpringInitializer (#12834) 2023-08-09 19:15:27 +08:00
Albumen Kevin 97227e4e8e
PutAll configs to application environment instead of override for spring properties (#12812) 2023-07-29 19:19:43 +08:00
dependabot[bot] 2e60ddfdaf
Bump org.springframework.boot:spring-boot-starter-test (#12786)
Bumps [org.springframework.boot:spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.13 to 2.7.14.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.13...v2.7.14)

---
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-07-25 21:03:04 +08:00
Albumen Kevin cec66fa263
Fix compact with spring 3.2.x (#12741) 2023-07-17 14:20:51 +08:00
Albumen Kevin e322b17301
Check if initialized for ReferenceBean (#12723)
* Check if initialized for ReferenceBean

* fix name
2023-07-14 13:52:07 +08:00
liufeiyu1002 1c5265073b
Fix deadlock when starting (#12659) 2023-07-14 09:52:11 +08:00
Albumen Kevin f2e9fb9b31
Fix reference bean has not been init if deployer is early started (#12697) 2023-07-08 15:34:12 +08:00
Albumen Kevin 563a0e472a
Enable spring bean autowired to get scope model in advance (#12608)
* Enable spring bean autowired to get scope model in advance

* Fix uts

* Fix uts
2023-06-29 10:31:36 +08:00
dependabot[bot] 150b19e84a
Bump spring-boot-starter-test from 2.7.12 to 2.7.13 (#12601)
Bumps [spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.12 to 2.7.13.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.12...v2.7.13)

---
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-06-28 19:56:35 +08:00
Albumen Kevin 3160602072
Rename getModelEnvironment to modelEnvironment (#12551) 2023-06-19 09:34:06 +08:00
Albumen Kevin 784edd7a85
Support Reference check timeout (#12506) 2023-06-12 19:28:03 +08:00
wangda 24935b1bb0
Correcting spelling mistakes (#12480)
Signed-off-by: zhangwd3 <zhangwd3@asiainfo.com>
2023-06-09 10:29:27 +08:00
Albumen Kevin f35ac09353
Publish Module deployer state event (#12477)
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-06-08 12:48:55 +08:00
Albumen Kevin a758a1e7e0
Resolve conflicts of spring bean (#12474)
* Resolve conflicts of spring bean

* Fix import

* Fix uts

* Fix uts

* Fix uts
2023-06-08 12:47:57 +08:00
TomlongTK c4702142bf
add metrics enable switch (#12389)
* add metrics enable switch

* default false

* default false

* set default true and fix unit test

* xsd set default true

* rename enabled to enableRpc

* make enableRpc default value to true

* fix camel name

* remove default value

---------

Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-06-07 18:54:20 +08:00
Albumen Kevin ba308219c6
Register services after module started (#12450) 2023-06-07 13:49:49 +08:00
Albumen Kevin f60ac914f4
Use Dubbo Proxy instead of Spring Proxy (#12439)
* Use Dubbo Proxy instead of Spring Proxy

* Fix exception
2023-06-01 18:46:29 +08:00
Albumen Kevin 3fd0a5a922
Remove some utils usage from alibaba-spring-context (#12442) 2023-06-01 16:04:00 +08:00
dependabot[bot] 7561ab45fe
Bump spring-boot-starter-test from 2.7.11 to 2.7.12 (#12369)
Bumps [spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.7.11 to 2.7.12.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.11...v2.7.12)

---
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-05-23 20:11:16 +08:00
YAGAMIL 9b9688c6a2
When PropertyValue "parameters" is [null] or [EMPTY], return to HashMap that can be modified (#12354)
* org.apache.dubbo.config.spring.util.DubboAnnotationUtils.convertParameters中put对象为空时,返回空的HashMap而不是EmptyMap以支持后续put

* getParameters 补充this

---------

Co-authored-by: 宿尘 <tablojhin.lb@alibaba-inc.com>
2023-05-21 15:53:34 +08:00
Albumen Kevin 08727e8e27
Metrics and Metadata Service Export when needed (#12346) 2023-05-19 16:18:12 +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
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
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
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
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
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
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
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