refactor: switch from reactor-netty to netty, and support fetching var and body ...
authortzssangglass <tzssangglass@gmail.com>
Thu, 30 Dec 2021 07:55:27 +0000 (15:55 +0800)
committerGitHub <noreply@github.com>
Thu, 30 Dec 2021 07:55:27 +0000 (15:55 +0800)
commitf0ef4b7758188ccae3bcf35a6b95f2459180f3c9
tree1697a3b4c8ae4f07492858cb1c9f1d6ba8cf1c60
parent4e3279f3955fa5f76d73d71ca05f30159436b2e8
refactor: switch from reactor-netty to netty, and support fetching var and body (#100)
43 files changed:
.github/workflows/ci.yaml
docs/en/latest/development.md
docs/en/latest/the-internal-of-apisix-java-plugin-runner.md
pom.xml
runner-core/pom.xml
runner-core/src/main/java/org/apache/apisix/plugin/runner/codec/PluginRunnerConfiguration.java [deleted file]
runner-core/src/main/java/org/apache/apisix/plugin/runner/configuration/A6HandlerConfiguration.java [moved from runner-core/src/main/java/org/apache/apisix/plugin/runner/service/CacheConfiguration.java with 94% similarity]
runner-core/src/main/java/org/apache/apisix/plugin/runner/constants/Constants.java [moved from runner-core/src/main/java/org/apache/apisix/plugin/runner/codec/PluginRunnerDecoder.java with 74% similarity]
runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/A6HandlerConfiguration.java [deleted file]
runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/A6HttpCallHandler.java [deleted file]
runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/BinaryProtocolDecoder.java [moved from runner-core/src/main/java/org/apache/apisix/plugin/runner/codec/DelayedDecoder.java with 84% similarity]
runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/Dispatcher.java [deleted file]
runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/HTTPReqCallHandler.java [new file with mode: 0644]
runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/Handler.java [deleted file]
runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/IOHandler.java [deleted file]
runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/IOHandlerConfiguration.java [deleted file]
runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/PayloadDecoder.java [moved from runner-core/src/main/java/org/apache/apisix/plugin/runner/codec/impl/FlatBuffersDecoder.java with 72% similarity]
runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/PayloadEncoder.java [moved from runner-core/src/main/java/org/apache/apisix/plugin/runner/codec/impl/FlatBuffersEncoder.java with 71% similarity]
runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/PrepareConfHandler.java [moved from runner-core/src/main/java/org/apache/apisix/plugin/runner/handler/A6ConfigHandler.java with 80% similarity]
runner-core/src/main/java/org/apache/apisix/plugin/runner/server/ApplicationRunner.java
runner-core/src/main/java/org/apache/apisix/plugin/runner/server/config/TcpServerConfiguration.java [deleted file]
runner-core/src/main/java/org/apache/apisix/plugin/runner/server/config/TcpServerCustomizer.java [deleted file]
runner-core/src/main/resources/application.properties [new file with mode: 0644]
runner-core/src/test/java/org/apache/apisix/plugin/runner/codec/impl/PayloadDecoderTest.java [moved from runner-core/src/test/java/org/apache/apisix/plugin/runner/codec/impl/FlatBuffersDecoderTest.java with 89% similarity]
runner-core/src/test/java/org/apache/apisix/plugin/runner/codec/impl/PayloadEncoderTest.java [moved from runner-core/src/test/java/org/apache/apisix/plugin/runner/codec/impl/FlatBuffersEncoderTest.java with 91% similarity]
runner-core/src/test/java/org/apache/apisix/plugin/runner/handler/A6ConfigHandlerTest.java
runner-core/src/test/java/org/apache/apisix/plugin/runner/handler/A6HttpCallHandlerTest.java
runner-core/src/test/java/org/apache/apisix/plugin/runner/handler/ExtraInfoTest.java [new file with mode: 0644]
runner-dist/apisix-runner-bin-dist/src/main/release-docs/LICENSE
runner-plugin-sdk/pom.xml
runner-plugin-sdk/src/main/java/org/apache/apisix/plugin/runner/ExtraInfoRequest.java [new file with mode: 0644]
runner-plugin-sdk/src/main/java/org/apache/apisix/plugin/runner/ExtraInfoResponse.java [moved from runner-core/src/main/java/org/apache/apisix/plugin/runner/codec/PluginRunnerEncoder.java with 52% similarity]
runner-plugin-sdk/src/main/java/org/apache/apisix/plugin/runner/HttpRequest.java
runner-plugin-sdk/src/main/java/org/apache/apisix/plugin/runner/HttpResponse.java
runner-plugin-sdk/src/main/java/org/apache/apisix/plugin/runner/filter/PluginFilter.java
runner-plugin-sdk/src/main/java/org/apache/apisix/plugin/runner/filter/PluginFilterChain.java
runner-plugin/pom.xml
runner-starter/src/test/java/org/apache/apisix/plugin/runner/PluginRunnerApplicationTest.java [deleted file]
sample/pom.xml
sample/src/main/java/org/apache/apisix/plugin/runner/filter/RewriteRequestDemoFilter.java
sample/src/main/java/org/apache/apisix/plugin/runner/filter/StopRequestDemoFilter.java
sample/src/test/java/org/apache/apisix/plugin/runner/filter/StopRequestDemoFilterTest.java
src/main/checkstyle/checkstyle-suppressions.xml