-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add http-dubbo plugin #10703
feat: add http-dubbo plugin #10703
Conversation
Could you add test cases? |
Yes, I am learning how to write test cases. I will add them later. |
we may need docs for the plugin |
please merge the master |
...-backend-interface/src/main/java/org/apache/dubbo/backend/DubboSerializationTestService.java
Outdated
Show resolved
Hide resolved
...-backend-interface/src/main/java/org/apache/dubbo/backend/DubboSerializationTestService.java
Show resolved
Hide resolved
Hi. Ci passed. I think we can merge this PR now @monkeyDluffy6017 |
this pr needs review first, its a big one, may takes some days, @shreemaan-abhishek @zll600 @sheharyaar can u help take a look~ |
@ShenFeng312 there is still a ci error |
please add docs as well. |
OK I will |
can we add the docs after the pr merge? its a big one i think we can split it |
@ShenFeng312 , is this PR related to dubbo-proxy ?? And is it related to this issue : |
The PR is not related to dubbo-proxy. However, it addresses the requirements mentioned in issue #10848 and should help resolve that issue. |
Please make the ci pass |
@monkeyDluffy6017 it was OK |
Description
添加http-dubbo 插件 提供http 协议转dubbo 协议。并使用json作为默认的序列化方式。备注:2.xdubbo可能需要对dubbo 源码进行一定量改造。因为2.xdubbo 如果不全局使用fastjson作为序列化方式时,在对返回结果进行序列化时没有按照协议规定选择序列化方式。这是dubbo2.x的bug。
Add the http-dubbo plugin to facilitate the conversion from HTTP protocol to Dubbo protocol, utilizing JSON as the default serialization format. Note: For Dubbo 2.x, it may be necessary to make certain modifications to the Dubbo source code. This is because, in Dubbo 2.x, if fastjson is not used globally as the serialization method, there is a bug where the serialization format for returning results is not selected according to the protocol specifications during the serialization process.
-------Translated by ChatGPT.
Checklist