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


   ## 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
   
   - Plugin template configuration portal:
   Add the Plugin Template Config button to the top of the route list, and 
enter the Plugin Template list page after clicking the button.
   
   
![image](https://user-images.githubusercontent.com/31329157/109111245-8caca080-7773-11eb-8284-4c8042f5d52a.png)
   
   - New plugin template configuration list page
   The list page is consistent with the style of other list pages and contains 
CRUD.
   
   
![image](https://user-images.githubusercontent.com/31329157/109111516-05abf800-7774-11eb-972a-2ed9c43c25f0.png)
   
   - 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:
      - Basic configuration information (e.g., desc) and plugin template 
configuration, which interacts with the Plugin Marketplace page.
   
![image](https://user-images.githubusercontent.com/31329157/109111802-87038a80-7774-11eb-9aa4-ce9aa95e733b.png)
      - Preview page
     
   - 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:
       - If the route is already configured with `plugins`, then the plugin 
configuration inside the Plugin config will be merged in.
       - The same plugins will overwrite the original `plugins` plugins
    
   #### Backend
   Required interfaces:
   
   - Plugin configuration list
   - Plugin list search
   - Create plugin configuration
   - Update Plugin Configuration
   - Delete plugin configuration
   - May need to update Create and update routing interface, need @nic-chen  to 
confirm


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to