Commit Graph

87 Commits

Author SHA1 Message Date
dependabot[bot] d38721f3e3
Bump org.springframework.boot:spring-boot-maven-plugin (#13419)
Bumps [org.springframework.boot:spring-boot-maven-plugin](https://github.com/spring-projects/spring-boot) from 2.7.17 to 2.7.18.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.17...v2.7.18)

---
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-11-29 21:19:20 +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] 8efccfb409
Bump org.springframework.boot:spring-boot-maven-plugin (#13253)
Bumps [org.springframework.boot:spring-boot-maven-plugin](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-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-10-23 16:39:24 +08:00
dependabot[bot] b332069fa7
Bump org.springframework.boot:spring-boot-maven-plugin (#13113)
Bumps [org.springframework.boot:spring-boot-maven-plugin](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-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-09-25 19:03:18 +08:00
dependabot[bot] b09f34cf58
Bump org.springframework.boot:spring-boot-maven-plugin (#12965)
Bumps [org.springframework.boot:spring-boot-maven-plugin](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-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-08-29 09:44:43 +08:00
dependabot[bot] 1a7cdf2004
Bump org.springframework.boot:spring-boot-maven-plugin (#12790)
Bumps [org.springframework.boot:spring-boot-maven-plugin](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-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-07-25 21:09:19 +08:00
dependabot[bot] 457e899352
Bump spring-boot-maven-plugin from 2.7.12 to 2.7.13 (#12596)
Bumps [spring-boot-maven-plugin](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-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-06-28 19:55:48 +08:00
dependabot[bot] 3ade9b0876
Bump spring-boot-maven-plugin from 2.7.11 to 2.7.12 (#12371)
Bumps [spring-boot-maven-plugin](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-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-05-23 20:11:48 +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
suncairong163 4f86a3bbfc
add spring mvc rest demo (#12188)
* add spring mvc rest demo

* FIX VERSION
2023-04-26 09:56:11 +08:00
suncairong163 a1a83873d6
Feature/dubbo3.2 rest demo (#12183)
* add jaxrs rest demo

* add jaxrs rest demo
2023-04-25 14:34:21 +08:00
dependabot[bot] e13126edf6
Bump spring-boot-maven-plugin from 2.7.10 to 2.7.11 (#12180)
Bumps [spring-boot-maven-plugin](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-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-04-25 13:58: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
dependabot[bot] 516c61bc5a
Bump spring-boot-maven-plugin from 2.7.8 to 2.7.9 (#11745)
Bumps [spring-boot-maven-plugin](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-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-06 19:27:37 +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
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] 4787ec7ab1
Bump spring-boot-maven-plugin from 2.7.7 to 2.7.8 (#11370)
Bumps [spring-boot-maven-plugin](https://github.com/spring-projects/spring-boot) from 2.7.7 to 2.7.8.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.7...v2.7.8)

---
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-01-28 11:26:08 +08:00
dependabot[bot] 71b69d4b90
Bump spring-boot-maven-plugin from 2.1.4.RELEASE to 2.7.7 (#11329)
Bumps [spring-boot-maven-plugin](https://github.com/spring-projects/spring-boot) from 2.1.4.RELEASE to 2.7.7.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.1.4.RELEASE...v2.7.7)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-19 21:03:52 +08:00
pandaapo 55cb82454b
remind user to add qos dependency (#10683) 2022-10-24 11:13:25 +08:00
Albumen Kevin f1af604e7e
Fastjson2 Support (#10166) 2022-07-15 10:18:41 +08:00
ken.lj e9175a6c74
add more configuration items for control of remote metadata registration. (#9767) 2022-03-11 15:11:10 +08:00
ken.lj 7a5d04a169
[3.0] Fix concurrency issues of service discovery (#9684) 2022-02-23 10:05:51 +08:00
ken.lj b2a4f612ec
3.0 service discovery metadata refactor (#9506) 2021-12-29 10:56:05 +08:00
huazhongming 4fa0aa59b6
revert zk config for demo (#9281) 2021-11-16 15:23:13 +08:00
huazhongming 61e778f867
Clean dubbo-registry-consul and dubbo-demo-xml-provider-backend module (#9224)
* clean dubbo-registry-consul module

* remove dubbo-demo-xml-provider-backend module
2021-11-09 11:00:35 +08:00
Pin Xiong b06e5c2fdb
[Feature] Support the global registry center in unit tests (#9138) 2021-11-06 18:19:06 +08:00
huazhongming c6e4279870
fix MetadataService port conflict (#9184) 2021-11-04 16:57:19 +08:00
FUNKYE 2c5d60f214
optimize: example add Triple protocol Demo (#8643)
* optimize: tri protocol prompt

* optimize: example add Triple protocol Demo

* optimize

* optimize

* bugfix

* Revert to use applcation service discovery

Co-authored-by: guohao <guohaoice@gmail.com>
2021-09-01 17:20:27 +08:00
赵延 b3c66f4e12
add zk,nacos dependent dependency at demo module. (#8035) 2021-06-11 22:20:40 +08:00
Albumen Kevin 0e66de1c61
[3.0] Code reformat (#8019)
* convert files, add checker

* rename id

* tab to space

* change git attributes auto convert

* fix end new line

* fix end new line

* fix end new line

* ignore generated files

* override tomcat-embed-core version

* add ignore for codestyle/checkstyle.xml

* add ignore for codestyle/checkstyle.xml

* add rat ignore

* add suppression

* force update

* disable zk dynamic configurator
2021-06-10 20:13:39 +08:00
赵延 724ec8b554
[3.0] Service Name Mapping Refactor And Nacos model some support. (#7824) 2021-06-10 17:18:49 +08:00
Albumen Kevin 8bc9257f4e
Migrate master bugfix (#7927) 2021-06-01 14:14:35 +08:00
ken.lj 4bfeeb2b47
Continue to notify address on metadata failure (#7796) 2021-05-19 10:43:11 +08:00
Albumen Kevin 60c55b83bc
[3.0] Seperate RpcContext to client and server (#7556) 2021-05-10 16:10:31 +08:00
Albumen Kevin a812a7a9bf [3.0-Actions] Add rat result upload & Fix rat in Ubuntu (#7394) 2021-03-24 15:24:36 +08:00
ken.lj 70a9245715 [3.0] fix service discovery implementation and introduce ClusterFiIlter (#7388) 2021-03-24 15:24:36 +08:00
ken.lj 552112ed01 Revert "3.0 enhancement, do not merge (#7381)" (#7387)
This reverts commit d6c9bf69e0.
2021-03-24 15:24:36 +08:00
ken.lj d541548d15 3.0 enhancement, do not merge (#7381) 2021-03-24 15:24:36 +08:00
ken.lj 829c0df273
3.0 migration applications (#7102) 2021-01-15 16:04:58 +08:00
ken.lj c4815f5602
3.0 migration rule enhancment(#7086) 2021-01-07 16:39:06 +08:00
ken.lj d8fc808425
performance tuning, reduce mem allocation of address URLs on consumer side (#6911) 2020-11-16 15:12:23 +08:00
ken.lj 4808d7bff3 Fix service discovery delay subscription 2020-09-17 17:57:11 +08:00
ken.lj f6542a25d2 zookeeper metadata impl 2020-09-08 14:02:17 +08:00
ken.lj b2353107f2
refactor dependencies after sub modules moved to dubbo-spi-extensions (#6685) 2020-09-03 17:47:23 +08:00
ken.lj dbc4530359
migration optimization (#6665) 2020-08-31 11:16:32 +08:00
ken.lj 5db015ccde migrating from interface address pool to instance address pool 2020-08-04 14:49:32 +08:00
ken.lj bf34c16992 add demo 2020-08-04 14:49:28 +08:00
ken.lj c572c2cd2e Service Discovery Enhancement 2020-08-04 14:47:50 +08:00
ken.lj 193465525c service discovery demo 2020-08-04 14:47:47 +08:00
LiosWong 54b0d7e3f4
Remove duplicate dependency from [dubbo-bom] and [dubbo-demo-xml-consumer] (#5799) 2020-02-28 16:53:26 +08:00