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 2020/08/19 12:19:46 UTC

[GitHub] [apisix] juzhiyuan opened a new issue #2088: request help: Update plugin's schema fault-injection

juzhiyuan opened a new issue #2088:
URL: https://github.com/apache/apisix/issues/2088


   refer to https://github.com/apache/apisix/issues/2082#issue-681772868
   
   ## Currently
   ```json
   {
       "minProperties":1,
       "properties":{
           "abort":{
               "properties":{
                   "body":{
                       "minLength":0,
                       "type":"string"
                   },
                   "http_status":{
                       "minimum":200,
                       "type":"integer"
                   }
               },
               "required":[
                   "http_status"
               ],
               "type":"object"
           },
           "delay":{
               "properties":{
                   "duration":{
                       "minimum":0,
                       "type":"number"
                   }
               },
               "required":[
                   "duration"
               ],
               "type":"object"
           }
       },
       "type":"object"
   }
   
   ```
   
   ## Expected
   No expected schema currently,  but here are some issues we should handle:
   - [ ] Use oneOf for abort and delay properties if needed;
   - [ ] Update the Doc: https://github.com/apache/apisix/blob/master/doc/plugins/fault-injection.md#attributes


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [apisix] membphis closed issue #2088: request help: Update plugin's schema fault-injection

Posted by GitBox <gi...@apache.org>.
membphis closed issue #2088:
URL: https://github.com/apache/apisix/issues/2088


   


----------------------------------------------------------------
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:
users@infra.apache.org