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


   
我使用如下的方法操作增加一条路由配置,但是新版的后台是没有相关记录查看的,看了代码好像后台是保存到mysql,然后发布的时候再存储到etcd里,请问下如果这块直接用提供的resful接口操作怎么管理这块etcd和mysql的数据同步?
   ```
   curl http://127.0.0.1:9080/apisix/admin/routes/111 -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "methods": ["GET"],
       "uri": "/grpctest",
       "service_protocol": "grpc",
       "plugins": {
           "grpc-transcode": {
            "proto_id": "1",
            "service": "helloworld.Greeter",
            "method": "SayHello"
           }
       },
       "upstream": {
           "type": "roundrobin",
           "nodes": {
               "10.11.131.117:50051": 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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to