-
Notifications
You must be signed in to change notification settings - Fork 542
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
Plugin template configuration #1512
Comments
will pugin support |
Good catch! |
need to update entity and schema for route. |
Ping @spacewander |
Apisix has submitted pr to complete this requirement: apache/apisix#3703 The front-end page was changed as follows to complete the requirement. |
Added in apache/apisix#3703. Please have a look. |
I am a little confused about how to use the plugin template. Do we need to bind the template to the target route manually? @LiteSun |
Yes, just like binding upstream in a route. |
Got it, and does the plugin template can also be bind to service? |
Binding service depends on apisix, which does not currently support this feature |
@LiteSun can we close this issue now? |
@LiteSun Do remember to use |
closed by #1540 |
Sure. |
Background and purpose
To allow users to configure plugin templates in advance and bind the corresponding plugin templates when creating routes to achieve the fast configuration of routing plugin.
Design options
Front-end
Add the Plugin Template Config button to the top of the route list, and enter the Plugin Template list page after clicking the button.
The list page is consistent with the style of other list pages and contains CRUD.
Add a new plugin template configuration step page
After clicking Create or Edit in the plugin template configuration List page, you will enter the plugin template configuration Steps page.
The steps page is divided into two pages:
Update the Create Route configuration route page to include the plugin template selector, and render the corresponding plugin information after selecting the corresponding plugin template.
Policy is consistent with apisix:
plugins
, then the plugin configuration inside the Plugin config will be merged in.plugins
pluginsBack-end
Required interfaces:
The text was updated successfully, but these errors were encountered: