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 2022/01/27 02:34:35 UTC

[GitHub] [apisix] bzp2010 edited a comment on pull request #6196: change: don't expose public API by default & remove plugin interceptor

bzp2010 edited a comment on pull request #6196:
URL: https://github.com/apache/apisix/pull/6196#issuecomment-1022785595


   ## Review guide
   
   There is a lot of content in this PR revision, so I am providing a modifications list here.
   
   ### Modified content
   1.  **Core modifications: `apisix/admin/plugin_metadata.lua`, `apisix/api_router.lua`, `apisix/init.lua`**
   Remove the public API match in the access phase and remove the plugin interceptor.
   
   2.  **Plugin modification: `apisix/plugins/public-api.lua`**
   Remove the skip global rule, it will now be executed unconditionally (since the public API is now also managed by the normal HTTP request router)
   
   3. Tests based on Test::Nginx: Several files in *.t
     Add a pre-step for creating public API routes (those provide public API).
     Modify the default settings for partial `GET /t` and `no_error_log`.
   
   4. CLI tests: `t/cli/test_admin.sh`, `t/cli/test_prometheus.sh`
   Add a pre-step for creating public API routes (`node-status` and `prometheus` plugin)
   
   5. Chaos tests
   Add a pre-step for creating public API routes (`prometheus` plugin)
   
   ### Other
   
   This PR does not contain documentation for the public API and changes to its documentation involving plugin interceptors and plugin development.


-- 
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