feipengheart edited a comment on issue #2177:
URL: 
https://github.com/apache/apisix-dashboard/issues/2177#issuecomment-948263866


   > hi @feipengheart
   > 
   > Could you please provide the configuration data stored in etcd for the 
route?
   
   ```json
   {
       "uris":[
           "/ai/api/image/smoke"
       ],
       "name":"smoke",
       "desc":"烟雾识别",
       "methods":[
           "POST",
           "GET"
       ],
       "script":{
           "chart":{
               "cells":[
                   {
                       "attrs":{
                           "line":{
                               "stroke":"#5F95FF",
                               "strokeWidth":1,
                               "targetMarker":{
                                   "name":"classic",
                                   "size":8
                               }
                           }
                       },
                       "id":"304ae1ca-5651-4247-84c1-a113908e6aa3",
                       "router":{
                           "name":"manhattan"
                       },
                       "shape":"edge",
                       "source":{
                           "cell":"c2598750-71c8-4c6e-9712-86ff7924c88b",
                           "port":"c2006592-b9b7-4969-88a0-e0c9c5afc897"
                       },
                       "target":{
                           "cell":"d350bf45-0626-4e66-8435-f404969261b5",
                           "port":"a6cd8c75-8b2c-4d9b-81a7-3a379f4a0131"
                       },
                       "zIndex":0
                   },
                   {
                       "attrs":{
                           "line":{
                               "stroke":"#5F95FF",
                               "strokeWidth":1,
                               "targetMarker":{
                                   "name":"classic",
                                   "size":8
                               }
                           }
                       },
                       "id":"665a7f4f-d27f-4641-9234-923f6459b628",
                       "router":{
                           "name":"manhattan"
                       },
                       "shape":"edge",
                       "source":{
                           "cell":"d350bf45-0626-4e66-8435-f404969261b5",
                           "port":"391e329a-ae4d-4815-8177-3ccf011869ea"
                       },
                       "target":{
                           "cell":"71107075-8c92-412f-9a7c-ee0287ff2575",
                           "port":"951bc09c-c5ac-4761-ab62-8fb332928086"
                       },
                       "zIndex":0
                   },
                   {
                       "attrs":{
                           "body":{
                               "rx":24,
                               "ry":24
                           },
                           "text":{
                               "textWrap":{
                                   "text":"开始"
                               }
                           }
                       },
                       "id":"c2598750-71c8-4c6e-9712-86ff7924c88b",
                       "ports":{
                           "groups":{
                               "bottom":{
                                   "attrs":{
                                       "circle":{
                                           "fill":"#fff",
                                           "magnet":true,
                                           "r":3,
                                           "stroke":"#5F95FF",
                                           "strokeWidth":1,
                                           "style":{
                                               "visibility":"hidden"
                                           }
                                       }
                                   },
                                   "position":"bottom"
                               },
                               "left":{
                                   "attrs":{
                                       "circle":{
                                           "fill":"#fff",
                                           "magnet":true,
                                           "r":3,
                                           "stroke":"#5F95FF",
                                           "strokeWidth":1,
                                           "style":{
                                               "visibility":"hidden"
                                           }
                                       }
                                   },
                                   "position":"left"
                               },
                               "right":{
                                   "attrs":{
                                       "circle":{
                                           "fill":"#fff",
                                           "magnet":true,
                                           "r":3,
                                           "stroke":"#5F95FF",
                                           "strokeWidth":1,
                                           "style":{
                                               "visibility":"hidden"
                                           }
                                       }
                                   },
                                   "position":"right"
                               },
                               "top":{
                                   "attrs":{
                                       "circle":{
                                           "fill":"#fff",
                                           "magnet":true,
                                           "r":3,
                                           "stroke":"#5F95FF",
                                           "strokeWidth":1,
                                           "style":{
                                               "visibility":"hidden"
                                           }
                                       }
                                   },
                                   "position":"top"
                               }
                           },
                           "items":[
                               {
                                   "group":"bottom",
                                   "id":"c2006592-b9b7-4969-88a0-e0c9c5afc897"
                               }
                           ]
                       },
                       "position":{
                           "x":370,
                           "y":90
                       },
                       "shape":"flow-chart-start-rect",
                       "size":{
                           "height":42,
                           "width":80
                       },
                       "zIndex":1
                   },
                   {
                       "attrs":{
                           "text":{
                               "text":"hmac-auth"
                           },
                           "title":{
                               "text":"hmac-auth"
                           }
                       },
                       "data":{
                           "disable":false
                       },
                       "id":"d350bf45-0626-4e66-8435-f404969261b5",
                       "ports":{
                           "groups":{
                               "bottom":{
                                   "attrs":{
                                       "circle":{
                                           "fill":"#fff",
                                           "magnet":true,
                                           "r":3,
                                           "stroke":"#5F95FF",
                                           "strokeWidth":1,
                                           "style":{
                                               "visibility":"hidden"
                                           }
                                       }
                                   },
                                   "position":"bottom"
                               },
                               "top":{
                                   "attrs":{
                                       "circle":{
                                           "fill":"#fff",
                                           "magnet":true,
                                           "r":3,
                                           "stroke":"#5F95FF",
                                           "strokeWidth":1,
                                           "style":{
                                               "visibility":"hidden"
                                           }
                                       }
                                   },
                                   "position":"top"
                               }
                           },
                           "items":[
                               {
                                   "group":"top",
                                   "id":"a6cd8c75-8b2c-4d9b-81a7-3a379f4a0131"
                               },
                               {
                                   "group":"bottom",
                                   "id":"391e329a-ae4d-4815-8177-3ccf011869ea"
                               }
                           ]
                       },
                       "position":{
                           "x":310,
                           "y":188
                       },
                       "shape":"flow-chart-plugin-rect",
                       "size":{
                           "height":60,
                           "width":200
                       },
                       "zIndex":9
                   },
                   {
                       "attrs":{
                           "text":{
                               "text":"jwt-auth"
                           },
                           "title":{
                               "text":"jwt-auth"
                           }
                       },
                       "data":{
                           "disable":false
                       },
                       "id":"71107075-8c92-412f-9a7c-ee0287ff2575",
                       "ports":{
                           "groups":{
                               "bottom":{
                                   "attrs":{
                                       "circle":{
                                           "fill":"#fff",
                                           "magnet":true,
                                           "r":3,
                                           "stroke":"#5F95FF",
                                           "strokeWidth":1,
                                           "style":{
                                               "visibility":"hidden"
                                           }
                                       }
                                   },
                                   "position":"bottom"
                               },
                               "top":{
                                   "attrs":{
                                       "circle":{
                                           "fill":"#fff",
                                           "magnet":true,
                                           "r":3,
                                           "stroke":"#5F95FF",
                                           "strokeWidth":1,
                                           "style":{
                                               "visibility":"hidden"
                                           }
                                       }
                                   },
                                   "position":"top"
                               }
                           },
                           "items":[
                               {
                                   "group":"top",
                                   "id":"951bc09c-c5ac-4761-ab62-8fb332928086"
                               },
                               {
                                   "group":"bottom",
                                   "id":"8b6f7097-ecc8-4049-bbba-47132b82d40c"
                               }
                           ]
                       },
                       "position":{
                           "x":310,
                           "y":498
                       },
                       "shape":"flow-chart-plugin-rect",
                       "size":{
                           "height":60,
                           "width":200
                       },
                       "zIndex":10
                   }
               ]
           },
           "conf":{
               "71107075-8c92-412f-9a7c-ee0287ff2575":{
                   "conf":{
                       "disable":false
                   },
                   "name":"jwt-auth"
               },
               "d350bf45-0626-4e66-8435-f404969261b5":{
                   "conf":{
                       "disable":false
                   },
                   "name":"hmac-auth"
               }
           },
           "rule":{
               "d350bf45-0626-4e66-8435-f404969261b5":[
                   [
                       "",
                       "71107075-8c92-412f-9a7c-ee0287ff2575"
                   ]
               ],
               "root":"d350bf45-0626-4e66-8435-f404969261b5"
           }
       },
       "script_id":"370696081341678274",
       "upstream_id":"370692482192638658",
       "status":1
   }
   ```


-- 
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: [email protected]

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


Reply via email to