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


   
APISIX的路由是支持通过设置priority权重来满足不同的转发优先级的,但是这个特性并没有在dashboard上开放设置入口,因此我们是通过admin 
api 来设置的。当通过admin api 
设置好priority之后,在dashboard的上游查看界面中,却不显示priority字段,一旦在这个界面点击提交,priority字段设置会丢失,导致既定优先级失效,可能引发不必要的现网故障。
   
   Admin Api 设置的upstream:
   
![image](https://user-images.githubusercontent.com/9711651/139622038-1e39170c-941a-4599-9ba8-3afda92c2d3f.png)
   
   在dashboard 的upstream view中显示如图:
   
![image](https://user-images.githubusercontent.com/9711651/139622062-97db63c8-a00e-4844-addc-76320328f358.png)
   
   一旦在这个界面点击了提交,这个字段将会被删除。
   
   这里推荐2个解决方案:
   1、dashboard支持下priority设置特性;
   2、dashboard暂时不能支持的功能特性,建议优先采用合并设置,而不是覆写设置,至少不要冲掉已存在的元数据(推荐)


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