Albumen Kevin
3609ddb225
Disable RedisMetadataReportTest on Windows
2024-05-24 11:11:44 +08:00
Albumen Kevin
65215ed8a0
Try fix redis server in windows env
2024-05-24 10:34:55 +08:00
stellar
a6c61175c5
fix:embedded-redis need update version to run on macos Sonoma ( #14072 ) ( #14074 ) ( #14227 )
2024-05-23 11:03:18 +08:00
TomlongTK
dfd135eb95
Fix the problem of multiple namespaces in MetadataReport ( #13971 )
...
* Fix the problem of multiple namespaces in MetadataReport
* refine
* Remove registry config setting
* Add some unit tests
* Revert getId
* Fix cache key
2024-05-08 14:09:08 +08:00
zrlw
8863604619
trim application name of old mapping content ( #14133 )
...
* trim application name of old mapping content
* trim and filter out empty name at ServiceNameMapping#getAppNames
* remove unused import
2024-05-08 11:59:26 +08:00
heliang666s
3e4fda20bb
Update the comment content in pom.xml to be consistent ( #14039 )
2024-04-08 16:34:36 +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
hyhnet
d50adb7c83
fix typos ( #13858 )
...
Co-authored-by: Cyrus <yecity@gmail.com>
2024-03-10 11:22:59 +08:00
dependabot[bot]
44c7f7967f
Bump com.alibaba.nacos:nacos-client from 2.2.4 to 2.3.1 ( #13821 )
...
* Bump com.alibaba.nacos:nacos-client from 2.2.4 to 2.3.1
Bumps [com.alibaba.nacos:nacos-client](https://github.com/alibaba/nacos ) from 2.2.4 to 2.3.1.
- [Release notes](https://github.com/alibaba/nacos/releases )
- [Changelog](https://github.com/alibaba/nacos/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/alibaba/nacos/compare/2.2.4...2.3.1 )
---
updated-dependencies:
- dependency-name: com.alibaba.nacos:nacos-client
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix compile
* Fix format
---------
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>
2024-03-06 11:03:02 +08:00
huazhongming
f7a32be429
Remove unused dependency ( #13554 )
...
Signed-off-by: crazyhzm <crazyhzm@gmail.com>
2023-12-22 10:25:53 +08:00
suncairong163
6e9f337098
Feature/20231114 dubbo 3.2 rest proxy double service method ( #13357 )
...
* for proxy service method repeat check
* for proxy service method repeat check
* fix code format
* fix code format
* fix code format
* fix code format
* fix code format
* fix code format
* fix code format
* fix code format
* fix code format
---------
Co-authored-by: huazhongming <crazyhzm@gmail.com>
2023-12-01 15:28:05 +08:00
namelessssssssssss
6dfddbfb2b
Fix issue of metadata only registred to one nacos namespace (3.2.x) ( #13439 )
...
* Fix nacos metadata namespace
* Fix code style
---------
Co-authored-by: nameless <x1544669126@gmail.com>
2023-11-30 19:19:29 +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
aofall
ef7217abf9
Modify suitable log level for the cache operate ( #13263 )
2023-10-27 13:38:55 +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
suncairong163
f613d72bd2
jboss @Form support ( #13201 )
2023-10-19 10:20:52 +08:00
Albumen Kevin
66eaadd63c
Enhance AbstractMetadataReportTest test case ( #13126 )
...
* Enhance AbstractMetadataReportTest test case
* Enhance AbstractMetadataReportTest test case
2023-09-26 11:25:57 +08:00
suncairong163
6b617a1ce9
Feature/dubbo 3.2 rest fix http method pathmatcher ( #12890 )
...
* fix rest service deployer serializable error
* fix rest http method judge
2023-08-17 16:56:51 +08:00
TomlongTK
8fe122b08a
Add toString ( #12872 )
2023-08-11 10:41:38 +08:00
suncairong163
36b2ec267d
Feature/dubbo3.2 rest remove first match break ( #12837 )
...
* support reExport
* add rest method annotation support judge
---------
Co-authored-by: suncr <suncairong@moresec.cn>
2023-08-03 20:43:07 +08:00
suncairong163
1e18b359e2
Feature/dubbo3.2 add rest method annotation support judge ( #12835 )
...
* support reExport
* add rest method annotation support judge
---------
Co-authored-by: suncr <suncairong@moresec.cn>
2023-08-03 13:05:09 +08:00
TomlongTK
25547158d2
ProtobufTypeBuilder extension load on protobuf dependency ( #12799 )
2023-07-29 20:28:22 +08:00
suncairong163
2932f09b28
add generic reflect type for collection,map,array json ( #12732 )
2023-07-17 13:28:59 +08:00
Albumen Kevin
d8a314ff33
Wait executor terminated & Remove some usage of default model ( #12713 )
2023-07-12 14:36:49 +08:00
Albumen Kevin
35149ba694
Enhance protobuf builder logs ( #12710 )
2023-07-11 14:02:08 +08:00
wxbty
2c82cf7dfc
Use serviceKey when to metadata ServiceSubscribeEvent ( #12586 )
2023-06-24 17:02:15 +08:00
Ken Liu
dd94c1561a
fix router match condition ( #12491 )
...
* fix router match condition
* fix ut compilation
* add null check
2023-06-12 20:48:03 +08:00
suncairong163
51f60139f0
Feature/dubbo3.2 export path matcher&invoker to user ( #12482 )
2023-06-12 12:38:05 +08:00
goto456
da9fbbdbf8
fix #12233 redis cluster not support password bug. ( #12240 )
...
* fix #12233 redis cluster not support password bug.
* fix #12233 redis cluster not support password bug.
2023-05-08 07:32:00 +08:00
dependabot[bot]
ac3509c4f1
Bump jedis from 3.9.0 to 3.10.0 ( #12216 )
...
Bumps [jedis](https://github.com/redis/jedis ) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/redis/jedis/releases )
- [Commits](https://github.com/redis/jedis/compare/v3.9.0...v3.10.0 )
---
updated-dependencies:
- dependency-name: redis.clients:jedis
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-05-02 21:48:15 +08:00
suncairong163
f7c90572ec
fix 405 && differnt httpmethod path doubleCheck ( #12152 )
2023-04-21 10:39:00 +08:00
suncairong163
817659bd23
Feature/fix no javax validation dependency&spring controller support ( #12085 )
...
* 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
* remove unused import
* code merge
* code merge
* some fix
* code merge
* code merge
* code merge
* code merge
* Rest http server
* rest protocol do export
* code merge
* rest protocol provider
* rest protocol provider
* rest protocol response
* rest protocol netty request
* 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
* change for rest client recreate & destroy bugs
* remove recreate double check for code merge
* rest client destroy check
* add todo
* consumer merge code
* rest response
* BodyProviderParamParser bytes
* merge upstream 3.2 to 3.2_consumer_proxy_invocation_handler
* merge upstream 3.2 to feature/3.2-rest_protocol_provider
* fix rest provider ut
* path compare
* path compare
* fix provider rest ut
* fix provider rest ut
* fix provider rest ut
* testJaxrsPathPattern ut
* JAXRSServiceRestMetadataResolverTest ut
* JAXRSServiceRestMetadataResolverTest ut
* add netty http server
* add netty http server response encode
* rest netty http server codec
* rest netty http server codec
* some fix netty http server
* add spring mvc ut for netty http server
* okhttp_version to 3.14.2 to resolve dependency conflict
* Fix license
* add rest protocol exception mapper
* add TODO ExceptionMapper should be static or instance
* add TODO OKHttpRestClient implements of version >=4.0
* fix licence format
* fix ut
* fix testPathMatcher
* url context path
* format context path from url
* fix illegal logger method invocations:
* remove org.jetbrains.annotations.NotNull
* add Newly created SPI interface to dubbo-all
* some format
* merge 3.2
* merge 3.2
* merge 3.2
* Revert "merge 3.2"
This reverts commit ad19804437 .
* merge upstream 3.2
* change HttpHandler throws IOException
* deal with RPCInvocation build error
* request is present
* remove request facade unused code
* remove thirdpart web server code
* remove thirdpart web server code
* remove unused imports
* remove unused code
* rest protocol directly implement AbstractProtocol
* code style
* change method modifier
* form body java bean convert
* change header name to RestHeaderEnum
* attachment header
* http handler error info
* rest header distinguish from attachment
* some log & double path check
* remove RestMethodMetadata ServiceRestMetadata refer
* reconstruct http handler
* content-type judge
* add RestInvoker
* setTargetServiceUniqueName
* path mapper & http handler
* remove unused code
* netty thread pool
* RestHttpRequestDecoder @ChannelHandler.Sharable
* add rest client ut
* fix metadata resolver test
* fix metadata resolver test
* add some description to code
* add error test
* error message append
* add request address
* request address
* http netty server reconstruct
* http netty server TODO add SslServerTlsHandler
* replace all pair use
* pair fix
* add NumberUtils ut
* add hex number ut
* add no annotation primitive ut
* remove unsed code
* throw exception
* add ut
* rename constants & remove unused code
* add ut
* add ut
* add ut
* add ut
* remove ut
* add restClient ut
* add restClient ut
* add DataParseUtils ut
* add path matcher ut
* add request template ut
* add request template ut
* fix xml codec
* some fix
* Class to Class<?>
* media type judge fix and add codec ut
* remove print
* add header map param ut
* add header map param null ut
* MediaTypeUtil ut
* add param & header & multimap ut
* remove unused import
* fix error log format
* test header param
* test header number param
* add MediaType ut
* add MediaType & metadata resolve ut
* imports
* add netty request facade ut
* some format
* add ExceptionMapperTest
* add hasExceptionMapper pre judge
* fix exception mapper throws
* change static ExceptionMapper to instance
* resolve Java_Zulu_jdk/17.0.6-10/x64 param is not throwable , exception
mapper ut
* fix reflects util some detail
* remove unused code
* add null arg ut
* rest invoker response future complete Exceptionally
* fix http netty server executor
* set rpc context request & response
* add rest token attachment
* add http method ut
* remove unused code
* some fix
* remove keep-alive header
* remove unused code
* close channel
* add response connection:close head
* fix no content-type
* fix no content-type form
* spring @RequestMapping or @RestController
* add exception mapper type judge
* remove content-length of OKHttpRestClient
GET request
* remove unused import
* fix ConstraintViolationException not exist error
* fix handleConstraintViolationException
* AbstractServiceRestMetadataResolver support spring controller service
* service type null judge
* spring controller support
* add todo
* ConstraintViolationException dependency pre judge
---------
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
Co-authored-by: suncr <suncairong@moresec.cn>
2023-04-20 15:12:51 +08:00
KamTo Hung
f05662a66d
optimize JsonUtils ( #12057 )
2023-04-11 11:24:55 +08:00
suncairong163
308aea12ec
Feature/dubbo rest 3.2 spring annotaion fix ( #12043 )
2023-04-10 19:12:01 +08:00
suncairong163
5cd5b32b8b
Feature/3.2 beta7 rest formdata fix ( #12040 )
...
* 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
* remove unused import
* code merge
* code merge
* some fix
* code merge
* code merge
* code merge
* code merge
* Rest http server
* rest protocol do export
* code merge
* rest protocol provider
* rest protocol provider
* rest protocol response
* rest protocol netty request
* 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
* change for rest client recreate & destroy bugs
* remove recreate double check for code merge
* rest client destroy check
* add todo
* consumer merge code
* rest response
* BodyProviderParamParser bytes
* merge upstream 3.2 to 3.2_consumer_proxy_invocation_handler
* merge upstream 3.2 to feature/3.2-rest_protocol_provider
* fix rest provider ut
* path compare
* path compare
* fix provider rest ut
* fix provider rest ut
* fix provider rest ut
* testJaxrsPathPattern ut
* JAXRSServiceRestMetadataResolverTest ut
* JAXRSServiceRestMetadataResolverTest ut
* add netty http server
* add netty http server response encode
* rest netty http server codec
* rest netty http server codec
* some fix netty http server
* add spring mvc ut for netty http server
* okhttp_version to 3.14.2 to resolve dependency conflict
* Fix license
* add rest protocol exception mapper
* add TODO ExceptionMapper should be static or instance
* add TODO OKHttpRestClient implements of version >=4.0
* fix licence format
* fix ut
* fix testPathMatcher
* url context path
* format context path from url
* fix illegal logger method invocations:
* remove org.jetbrains.annotations.NotNull
* add Newly created SPI interface to dubbo-all
* some format
* merge 3.2
* merge 3.2
* merge 3.2
* Revert "merge 3.2"
This reverts commit ad19804437 .
* merge upstream 3.2
* change HttpHandler throws IOException
* deal with RPCInvocation build error
* request is present
* remove request facade unused code
* remove thirdpart web server code
* remove thirdpart web server code
* remove unused imports
* remove unused code
* rest protocol directly implement AbstractProtocol
* code style
* change method modifier
* form body java bean convert
* change header name to RestHeaderEnum
* attachment header
* http handler error info
* rest header distinguish from attachment
* some log & double path check
* remove RestMethodMetadata ServiceRestMetadata refer
* reconstruct http handler
* content-type judge
* add RestInvoker
* setTargetServiceUniqueName
* path mapper & http handler
* remove unused code
* netty thread pool
* RestHttpRequestDecoder @ChannelHandler.Sharable
* add rest client ut
* fix metadata resolver test
* fix metadata resolver test
* add some description to code
* add error test
* error message append
* add request address
* request address
* http netty server reconstruct
* http netty server TODO add SslServerTlsHandler
* replace all pair use
* pair fix
* add NumberUtils ut
* add hex number ut
* add no annotation primitive ut
* remove unsed code
* throw exception
* add ut
* rename constants & remove unused code
* add ut
* add ut
* add ut
* add ut
* remove ut
* add restClient ut
* add restClient ut
* add DataParseUtils ut
* add path matcher ut
* add request template ut
* add request template ut
* fix xml codec
* some fix
* Class to Class<?>
* media type judge fix and add codec ut
* remove print
* add header map param ut
* add header map param null ut
* MediaTypeUtil ut
* add param & header & multimap ut
* remove unused import
* fix error log format
* test header param
* test header number param
* add MediaType ut
* add MediaType & metadata resolve ut
* imports
* add netty request facade ut
* some format
* add ExceptionMapperTest
* add hasExceptionMapper pre judge
* fix exception mapper throws
* change static ExceptionMapper to instance
* resolve Java_Zulu_jdk/17.0.6-10/x64 param is not throwable , exception
mapper ut
* fix reflects util some detail
* remove unused code
* add null arg ut
* rest invoker response future complete Exceptionally
* fix http netty server executor
* set rpc context request & response
* add rest token attachment
* add http method ut
* remove unused code
* some fix
* remove keep-alive header
* remove unused code
* close channel
* add response connection:close head
* fix no content-type
* fix no content-type form
---------
Co-authored-by: Albumen Kevin <jhq0812@gmail.com>
Co-authored-by: suncr <suncairong@moresec.cn>
2023-04-10 07:34:02 +08:00
wxbty
60799ec3d9
metadata listener refactor ( #12016 )
...
Co-authored-by: x-shadow-man <1494445739@qq.com>
2023-04-06 09:38:56 +08:00
suncairong163
912deb69a8
Feature/3.2 rest protocol provider ( #11640 )
2023-04-05 14:10:53 +08:00
wxbty
1435c23e92
Simplify event publishing ( #11863 )
2023-03-28 16:11:14 +08:00
Wu
bc383544e2
Observability task: add metadata buried points at the provider responder interface level ( #11798 )
...
* feat: add metadata buried points listener
* feat: add test unit
* feat: add buried in store provider meta
* fix: remove unuse import
* fix: restore demo
* fix: remove * import
* fix: test time window
* fix: test unit error
* fix: fix metadata report unit error
* fix: remove unuse import
* fix: remove * import
* fix: use getOrDefaultApplication to compatible with test unit
* fix: resolve conflict
* fix: change test comment
* fix: update collector
* fix: update test unit
* fix: update buried points function
* fix: update buried points function
* fix: remove * import
* fix: fix test unit
* fix: fix error rename
* fix: update type to application-type
2023-03-21 17:52:31 +08:00
Mengyang Tang
a293e7e7c8
Implement service-level payload ( #11517 )
2023-03-02 20:14:01 +08:00
尔等同学
7e51047cb0
delete never thrown exception ( #11674 )
2023-02-27 20:09:15 +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
Albumen Kevin
7a774d21a6
Fix conflict
2023-02-16 11:24:20 +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
dependabot[bot]
10030010a6
Bump jedis from 3.6.0 to 3.9.0 ( #11379 )
...
Bumps [jedis](https://github.com/redis/jedis ) from 3.6.0 to 3.9.0.
- [Release notes](https://github.com/redis/jedis/releases )
- [Commits](https://github.com/redis/jedis/compare/jedis-3.6.0...v3.9.0 )
---
updated-dependencies:
- dependency-name: redis.clients:jedis
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:26:23 +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
a9fce6fa94
Merge branch 'apache-3.1' into apache-3.2
...
# Conflicts:
# dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/util/NacosNamingServiceUtils.java
2023-01-16 11:20:44 +08:00
Albumen Kevin
486b39f28d
Add Nacos sub try test ( #11307 )
2023-01-16 11:07:20 +08:00