You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/01 06:47:47 UTC

[GitHub] [apisix-dashboard] feipengheart opened a new issue #2110: bug: 没有办法在dashboard设置batch-requests

feipengheart opened a new issue #2110:
URL: https://github.com/apache/apisix-dashboard/issues/2110


   ### Issue description
   
   ![image](https://user-images.githubusercontent.com/66514726/131618281-28d48c86-1ad3-4099-b13f-c4cef889efa9.png)
   
   
   没有办法对单一的路由设置batch-requests,
   
   curl http://127.0.0.1:9080/apisix/admin/plugin_metadata/batch-requests -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "max_body_size": 4194304
   }'
   
   这个api设置只会对/apisix/admin/plugin_metadata/batch-requests路径剩下,我自己设置的路由并有效果
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):2.8
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:2.7
   - luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   
   
   ### Steps to reproduce
   
   1
   
   ### Actual result
   
   1
   
   ### Error log
   
   1
   
   ### Expected result
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] liuxiran commented on issue #2110: bug: 没有办法在dashboard设置batch-requests

Posted by GitBox <gi...@apache.org>.
liuxiran commented on issue #2110:
URL: https://github.com/apache/apisix-dashboard/issues/2110#issuecomment-910053531


   Hi @feipengheart , `max_body_size` is the meta_data of `batch-requests` plugin, currently dashboard does not support this feature, so you got the error from UI, already added it to 2.9 milestone
   
   > 这个api设置只会对/apisix/admin/plugin_metadata/batch-requests路径剩下,我自己设置的路由并有效果
   
   does `我自己设置的路由并有效果` means the route you want to bind the `batch-requests` plugin?
   
   refer to https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/batch-requests.md, this is the feature of `batch-requests` plugin, it deals requests with `http://127.0.0.1:9080/apisix/batch-requests`.
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] liuxiran commented on issue #2110: bug: 没有办法在dashboard设置batch-requests

Posted by GitBox <gi...@apache.org>.
liuxiran commented on issue #2110:
URL: https://github.com/apache/apisix-dashboard/issues/2110#issuecomment-910053531






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-dashboard] liuxiran commented on issue #2110: bug: 没有办法在dashboard设置batch-requests

Posted by GitBox <gi...@apache.org>.
liuxiran commented on issue #2110:
URL: https://github.com/apache/apisix-dashboard/issues/2110#issuecomment-910085769


   we need a way to get plugins not related to routes @tzssangglass 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org