beginnerWJC

Results 4 issues of beginnerWJC

### Current Behavior When using the APISIX ext-plugin-post-resp plugin and apisix java plugin runner 0.3.0 to rewrite the upstream response header, when the upstream return status code is 204, this...

### Issue description apisix-dashboard-3.0.0的导入功能,导入后缺少上游和插件部分 ### Expected behavior 导出的路由json文件导入后可以直接使用,之前apisix-dashboard-2.13.0可以直接导出导入,3.0.0版本会缺少上游和插件部分 ### How to Reproduce 1.新建一个路由,json结构如下: `{ "uri": "/security/v2/security/*", "name": "security-local", "methods": [ "GET", "POST", "PUT", "DELETE" ], "plugins": { "ext-plugin-pre-req": { "_meta":...

bug

### Issue description 在PluginFilter类中通过requiredRespBody()方法设置为true后,在插件中调用PostRequest.getUpstreamStatusCode()方法会偶现(概率很高)获取到不正确的响应码 ### Environment - apisix-java-plugin-runner 0.4.0 - apisix 3.2.0 - apisix-dashboard 3.0.0 ### Minimal test code / Steps to reproduce the issue 1.通过apisix-dashboard创建路由使用ext-plugin-post-resp插件 ![image](https://user-images.githubusercontent.com/37164104/231642198-9f688e24-ba24-43b1-a8a6-e5f1f8e3d981.png) 2.写一个简单的java测试插件,并且设置requiredRespBody()和requiredBody()都为true ![image](https://user-images.githubusercontent.com/37164104/231661619-a9ef5439-ee8a-4cb2-ad44-e1abfddd937f.png) 3.查看日志发现一会是正常的406,一会是57...

### Issue description 在PluginFilter类中通过requiredRespBody()方法设置为true后,在插件中调用PostRequest..getUpstreamHeaders()方法会偶现(概率很高)报错java.lang.IndexOutOfBoundsException: null ### Environment - apisix-java-plugin-runner 0.4.0 - apisix 3.2.0 - apisix-dashboard 3.0.0 ### Minimal test code / Steps to reproduce the issue 1.通过apisix-dashboard创建路由使用ext-plugin-post-resp插件 ![image](https://user-images.githubusercontent.com/37164104/231642198-9f688e24-ba24-43b1-a8a6-e5f1f8e3d981.png) 2.写一个简单的java测试插件,并且设置requiredRespBody()和requiredBody()都为true ![image](https://user-images.githubusercontent.com/37164104/231642358-33c5e33d-34bf-4ed6-bdd0-170229381dfa.png)...