Commit Graph

211 Commits

Author SHA1 Message Date
dependabot[bot] b76e0597f5
Bump spring_version from 5.3.36 to 5.3.37 (#14330)
Bumps `spring_version` from 5.3.36 to 5.3.37.

Updates `org.springframework:spring-test` from 5.3.36 to 5.3.37
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.3.36...v5.3.37)

Updates `org.springframework:spring-framework-bom` from 5.3.36 to 5.3.37
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.3.36...v5.3.37)

---
updated-dependencies:
- dependency-name: org.springframework:spring-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework:spring-framework-bom
  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>
2024-06-18 09:50:59 +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
dependabot[bot] 61bfa07a49
Bump org.apache.commons:commons-compress from 1.26.1 to 1.26.2 (#14243)
Bumps org.apache.commons:commons-compress from 1.26.1 to 1.26.2.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  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>
2024-05-28 10:52:56 +08:00
dependabot[bot] d1969ff18b
Bump spring_version from 5.3.35 to 5.3.36 (#14242)
Bumps `spring_version` from 5.3.35 to 5.3.36.

Updates `org.springframework:spring-test` from 5.3.35 to 5.3.36
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.3.35...v5.3.36)

Updates `org.springframework:spring-framework-bom` from 5.3.35 to 5.3.36
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.3.35...v5.3.36)

---
updated-dependencies:
- dependency-name: org.springframework:spring-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework:spring-framework-bom
  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>
2024-05-28 10:52:43 +08:00
dependabot[bot] b867f9ebd7
Bump spring_version from 5.3.34 to 5.3.35 (#14211)
Bumps `spring_version` from 5.3.34 to 5.3.35.

Updates `org.springframework:spring-test` from 5.3.34 to 5.3.35
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.3.34...v5.3.35)

Updates `org.springframework:spring-framework-bom` from 5.3.34 to 5.3.35
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.3.34...v5.3.35)

---
updated-dependencies:
- dependency-name: org.springframework:spring-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework:spring-framework-bom
  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>
2024-05-21 10:04:37 +08:00
dependabot[bot] 53141b152f
Bump spring_version from 5.3.33 to 5.3.34 (#14109)
Bumps `spring_version` from 5.3.33 to 5.3.34.

Updates `org.springframework:spring-test` from 5.3.33 to 5.3.34
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.3.33...v5.3.34)

Updates `org.springframework:spring-framework-bom` from 5.3.33 to 5.3.34
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.3.33...v5.3.34)

---
updated-dependencies:
- dependency-name: org.springframework:spring-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework:spring-framework-bom
  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>
2024-05-08 09:49:02 +08:00
dependabot[bot] 1689109725
Bump spring_version from 5.3.25 to 5.3.33 (#14041)
Bumps `spring_version` from 5.3.25 to 5.3.33.

Updates `org.springframework:spring-test` from 5.3.25 to 5.3.33
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.3.25...v5.3.33)

Updates `org.springframework:spring-framework-bom` from 3.2.18.RELEASE to 5.3.33
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v3.2.18.RELEASE...v5.3.33)

---
updated-dependencies:
- dependency-name: org.springframework:spring-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework:spring-framework-bom
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 16:35:19 +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
dependabot[bot] a1995ee8d2
Bump org.apache.commons:commons-compress from 1.26.0 to 1.26.1 (#13900)
Bumps org.apache.commons:commons-compress from 1.26.0 to 1.26.1.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  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>
2024-03-12 17:22:34 +08:00
dependabot[bot] faa2e9abb2
Bump org.apache.commons:commons-compress from 1.25.0 to 1.26.0 (#13765)
Bumps org.apache.commons:commons-compress from 1.25.0 to 1.26.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>
2024-02-20 14:09:11 +08:00
dependabot[bot] 9f50c97ca7
Bump org.apache.commons:commons-exec from 1.3 to 1.4.0 (#13625)
Bumps org.apache.commons:commons-exec from 1.3 to 1.4.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-exec
  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>
2024-01-08 20:36:58 +08:00
Albumen Kevin 1577a31046
Remove Kubernetes and xDS implementations (#13469)
* Remove Kubernetes and xDS implementations

* Fix transform
2023-12-12 10:24:43 +08:00
dependabot[bot] b0a36ee097
Bump org.apache.commons:commons-compress from 1.23.0 to 1.25.0 (#13485)
Bumps org.apache.commons:commons-compress from 1.23.0 to 1.25.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-12-12 10:22:35 +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
dependabot[bot] ef3b7d700f
Bump org.apache.zookeeper:zookeeper in /dubbo-test/dubbo-test-check (#13192)
Bumps org.apache.zookeeper:zookeeper from 3.4.14 to 3.7.2.

---
updated-dependencies:
- dependency-name: org.apache.zookeeper:zookeeper
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 16:54:01 +08:00
dependabot[bot] 9422e78abb
Bump org.apache.commons:commons-compress in /dubbo-test/dubbo-test-check (#13058)
Bumps org.apache.commons:commons-compress from 1.23.0 to 1.24.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-09-25 19:26:55 +08:00
Albumen Kevin ea35f7ed5c Revert "refactor: migrate tracing core from boot-start to dubbo deployer (#12453)"
This reverts commit a613cae2
2023-06-20 10:02:30 +08:00
conghuhu a613cae2f3
refactor: migrate tracing core from boot-start to dubbo deployer (#12453)
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-06-17 19:54:12 +08:00
Ken Liu 0f336d8736
fix dependency check (#12505) 2023-06-12 19:03:09 +08:00
conghuhu 76d4982e1e
feat: add dubbo-spring-boot-tracing-otel-otlp-starter (#12299)
* feat: dubbo-spring-boot-tracing-otel-otlp-starter

* style

* chore: add otel-otlp-exporter to pom

* feat: add headers cfg in otlp

* fix: add license

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
Co-authored-by: songxiaosheng <songxiaosheng@elastic.link>
2023-05-16 19:52:50 +08:00
Albumen Kevin 808bc96eda
Remove dubbo-bom self used (#12252) 2023-05-08 09:35:59 +08:00
Albumen Kevin ed6afe1ac3
Use bom mode flatten (#12239)
* Use bom mode flatten

* Use oss

* fix properties

* Fix bom

* Fix zk conflicts

* Fix zk conflicts

* Fix logger

* Fix logger
2023-05-08 07:42:49 +08:00
dependabot[bot] 868622e237
Bump junit-platform-launcher from 1.9.2 to 1.9.3 (#12215)
Bumps [junit-platform-launcher](https://github.com/junit-team/junit5) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/commits)

---
updated-dependencies:
- dependency-name: org.junit.platform:junit-platform-launcher
  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-02 21:47:33 +08:00
conghuhu 48bd823253
chore: recover dubbo-spring-boot-observability-starter to compatible … (#12124)
* chore: recover dubbo-spring-boot-observability-starter to compatible with v3.2.0

* add license

* fix: change tracing
2023-04-24 19:50:05 +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
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
suncairong163 912deb69a8
Feature/3.2 rest protocol provider (#11640) 2023-04-05 14:10:53 +08:00
dependabot[bot] 44faf75ba6
Bump junit-platform-launcher from 1.6.2 to 1.9.2 (#12011)
Bumps [junit-platform-launcher](https://github.com/junit-team/junit5) from 1.6.2 to 1.9.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/commits)

---
updated-dependencies:
- dependency-name: org.junit.platform:junit-platform-launcher
  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:15:44 +08:00
dependabot[bot] e29a8498a9
Bump async-http-client from 2.12.1 to 2.12.3 (#12009)
Bumps [async-http-client](https://github.com/AsyncHttpClient/async-http-client) from 2.12.1 to 2.12.3.
- [Release notes](https://github.com/AsyncHttpClient/async-http-client/releases)
- [Changelog](https://github.com/AsyncHttpClient/async-http-client/blob/main/CHANGES.md)
- [Commits](https://github.com/AsyncHttpClient/async-http-client/compare/async-http-client-project-2.12.1...async-http-client-project-2.12.3)

---
updated-dependencies:
- dependency-name: org.asynchttpclient:async-http-client
  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:13:30 +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
wxbty 06605365c5
splits qos-api pkg (#11853)
* init

* add licence

* fix path name

* add api for depall

* add bom pom

---------

Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-03-17 13:33:49 +08:00
Albumen Kevin 0a9b19c306
Exact to support dynamic cert (#11578) 2023-03-08 20:11:07 +08:00
ShenFeng312 34981c9606
add dubbo-spring-boot-observability-starter (#11579)
* add dubbo-spring-boot-observability-starter

* add License and fix codestyle

* Add License

* Add dubbo-spring-boot-observability-starter to dubbo-dependencies-all

* Changes following review

* Changes following review

* Polish pom

* Changes following review

* Add dubbo-metrics-default in dubbo-spring-boot-observability-starter

* Remove author tag

* Polish pom
2023-03-02 06:37:06 +08:00
huazhongming 9497802ec3
Dubbo maven plugin with native (#11540)
* ADD dubbo-maven-plugin

* add dubbo-maven-plugin module

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

* fix license and compiler error

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

* fix license and ci error

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

* fix ci error

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

* Remove proxy-config, hard code

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

* ignoredModulesInDubboAll

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

* throw exception for generated adaptive class sources

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

---------

Signed-off-by: crazyhzm <crazyhzm@gmail.com>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-02-26 15:14:11 +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
suncairong163 02a59e2f40
3.2 consumer proxy invocation handler (#11108)
* add dubbo mvc feign client to support mvc remote call

* add dubbo mvc dispatcher servlet

* add dubbo mvc dispatcher servlet

* add   MvcDispatcherServlet  unit test

* add dubbo mvc feign client to support mvc remote call

* add dubbo mvc dispatcher servlet

* add Dubbo mvc Provider RPCInvocation create

* mvc remove unused code

* remove mvc unused test code

* remove unused code

* BodyProviderParamParser param type modify

* modify pom dependency version

* add  dubbo-metadata-api  dependency

* 新增依赖Jakarta支持 tomcat10

* ApplicationModel load  ParamParser

* ParamParser header & param map convert

* ParamParser header & param map convert

* 1 增加mvc协议
2 删除多余的resource包

* 1 增加mvc协议
2 增加netter server for http

* 重构 NettyHttpClient NettyHttpServer

* add path parse util & requestTemplate

* add mvc consumer http-connection

* mvc change  HttpConnectionPreBuildIntercept name and add SerializeBodyIntercept extend

* 1. 迁移mvc代码到rest下,合并http统一解析逻辑
2. 删除多余新增的remoting 调用模块

* 解决报错

* 1 抽象http 调用
2 改造rest调用风格

* 修改方法命名

* 修改方法名

* 删除多余的clients

* 还原restprotocol,逻辑迁移至新分支  3.2_refactor_rest_protocol

* add provider  PathMatcher

* add   ServiceRestMetadata  PathMatcher

* add   ServiceRestMetadata  PathMatcher

* add jax_rs and mvc annotation class constants

* refactor PathMatcher name

* add annotation class

* maintain rest metadata

* maintain  jax_rs and mvc annotation

* maintain  jax_rs and mvc annotation

* remove mvc module

* remove rest mvc code to code review

* add springmvc & rest annotation api module

* add springmvc & rest annotation api module

* add pathMatcher equal  test

* remove mvc module

* rest provider RPCInvocation build

* RPCInvocation build add dubbo-metadata-api dependency

* RestMethodMetadata add method to consumer service map

* RestMethodMetadata add method to consumer service map

* rest consumer HttpInvokeInvocationHandler

* rest consumer HttpInvokeInvocationHandler

* add dubbo-metadata-api dependency

* dubbo-rpc pom fix

* 移动模块

* 删除模块引用

* consumer metadata  resolve

* RestProtocol consumer

* RestProtocol consumer

* requestConvert adaptive

* JSON serializeObject to outputStream

* JsonUtilsTest  serialize & unSerialize

* ok http client

* http client reconstruct

* rest protocol BaseConvert

* rest protocol  ParamParser reconstruct

* rest protocol  addKeepAliveHeader

* requestTemplate isBodyEmpty()

* remove unused code

* create ConsumerParseContext

* body default byte[0]

* rest http message decode

* writeTextContent &  writeJsonContent & writeFormContent

* remove mvc & rest annotation module

* remove provider code

* fix some pr advice

* Add ASF license header for  newly created files

* move RestClientFactory  code  to dubbo-remoting-http

* exact  request convert code to a factory class

* modify  request convert code

* modify dubbo-dependencies-bom

* modify dubbo-remoting-http pom

* refactor spi  resource file  name

* dubbo-metadata-api remove
dubbo-configcenter-zookeeper dependency for
 cyclic reference

* newly create file add ASF

* fix compile error

* Enhance Code

* add rest protocol ConsumerParamParser

* some fix

* rest json content-type test

* RestProtocol merge doRefer code to protocolBindingRefer

* remove restInvoker

* rest protocol add JsonFactory to support custom

* rest protocol add JsonFactory to support custom

* jaxrs rest ParamNoAnnotatedProcessor  support fix

* add rest http message encode

* add rest http message encode

* rest okHttpClient requestBody fix

* rest jaxrs form content-type support

* RestProtocol protocolBindingRefer reconstruct

* RestProtocol protocolBindingRefer reconstruct  object to invoker & Invocation

* move RequestTemplate to remoting-http

* rest unit test

* add httpclient  & url connection rest client

* Enhance invocation

* enhance

* add ParameterTypesComparator  for metadataMap

* add ASF for new file

* Fix conflict

* Fix header

* fix import

* fix import

* fix import

* fix import

* fix import

* Fix json

* revert some change

* Remove jsonfactory

* Remove jsonfactory

* Simplify rest client

* Fix protocol

* fix codec

* tmp disable test

* rest metadata resolver add  interface judge

* add rest metadata  resolve unit test & fix  AbstractServiceRestMetadataResolver

* org.apache.dubbo.metadata.rest.ParamType null exclude & add default accept header

* RestProtocolTest

refer add context path
unit test

* some fix

* ADD TODO

* RESOLVE HTTP client java.net.SocketException: socket closed

* RESOLVE HTTP client java.net.SocketException: socket closed

* add spring mvc rest protocol unit test

* rest protocol http response code deal

* rest protocol http response message

* fix some review advice

* fix some review advice

* add rest metadata  resolve unit test & fix  AbstractServiceRestMetadataResolver

* org.apache.dubbo.metadata.rest.ParamType null exclude & add default accept header

* RestProtocolTest

refer add context path
unit test

* some fix

* fix some review advice

* add spring mvc rest protocol unit test

* rest protocol http response code deal

* rest protocol http response message

* URLConnectionRestClient getMessage

* remove unused import

* import fix

* code merge

* code merge

* code merge

* code merge

* code merge

* Fix conflicts

* change  restResult InputStream to bytes protect from  fd leak

* merge code

* Fix import

* Fix import

* Fix uts

* Remove unused code

* Fix logger

* Update okhttp version

* Update okhttp version

* rest protocol  add AnotherUserRestService service ut

* rest protocol  add String & byteArray codec

* Fix version

* Fix uts

* rest protocol  add XMLCodec

* stream release

* ServiceRestMetadata port change int to Integer

* service RestMetadata service map init

* xml codec change  for xxe

* Fix import

* code style

* code style

* Fix shade

---------

Co-authored-by: suncr <suncairong@moresec.cn>
Co-authored-by: Liujunjie <42363259+LiujunjieALiling@users.noreply.github.com>
Co-authored-by: junjie3.liu <junjie3.liu@ximalaya.com>
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-02-22 14:02:16 +08:00
earthchen 502b4c86df
Tri grpc compatibility (#11544) 2023-02-13 21:16:52 +08:00
jojocodeX a11e639949
Add Spring Security Plugin (#11418)
* Add Spring Security Plugin

* Add license

* Checkstyle

* refactor

* refactor

* refactor

* refactor

* refactor

* checkStyle

* refactor

* refactor

* refactor

* refactor

* Activate Add onClass

* Activate Add onClass

* fix NP

* fix sonarcloud check

* add comment

* refactor

* format

* refactor

* refactor

* Revert "refactor"

This reverts commit 07d6ffee13.

* refactor

* config key rename

* ci test

* ci test

* ci test

* rename

* Empty commit

---------

Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
2023-02-08 18:20:20 +08:00
dependabot[bot] f2e6ec9c21
Bump commons-compress from 1.21 to 1.22 (#11475)
Bumps commons-compress from 1.21 to 1.22.

---
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-02-06 17:26:23 +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] af5670be99
Bump slf4j-log4j12 from 1.7.25 to 1.7.33 (#11400)
Bumps [slf4j-log4j12](https://github.com/qos-ch/slf4j) from 1.7.25 to 1.7.33.
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.25...v_1.7.33)

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-log4j12
  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-01-30 17:30:12 +08:00
dependabot[bot] 04d0a900ab
Bump dom4j from 2.1.3 to 2.1.4 (#11405)
Bumps [dom4j](https://github.com/dom4j/dom4j) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/dom4j/dom4j/releases)
- [Commits](https://github.com/dom4j/dom4j/compare/version-2.1.3...version-2.1.4)

---
updated-dependencies:
- dependency-name: org.dom4j:dom4j
  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-01-30 17:27:53 +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 0df34a1a20
Remove ExtensionLoader getExtension usage (#10971) 2022-12-22 10:02:22 +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 7aaba188e1 Revert "Disable FileTest on Win"
This reverts commit b11c1e63ea.
2022-11-28 15:00:44 +08:00