Commit c6e7a708 by Nepxion

修改界面

parent a6904458
...@@ -719,6 +719,12 @@ public class ServiceTopology extends AbstractTopology { ...@@ -719,6 +719,12 @@ public class ServiceTopology extends AbstractTopology {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
public void execute(ActionEvent e) { public void execute(ActionEvent e) {
if (!ruleToConfigCenterRadioButtonMenuItem.isSelected()) {
JBasicOptionPane.showMessageDialog(HandleManager.getFrame(ServiceTopology.this), ConsoleLocale.getString("not_for_push_global_config"), SwingLocale.getString("warning"), JBasicOptionPane.WARNING_MESSAGE);
return;
}
if (globalGrayPanel == null) { if (globalGrayPanel == null) {
globalGrayPanel = new GlobalGrayPanel(); globalGrayPanel = new GlobalGrayPanel();
globalGrayPanel.setPreferredSize(new Dimension(1300, 800)); globalGrayPanel.setPreferredSize(new Dimension(1300, 800));
......
...@@ -9,7 +9,7 @@ show_topology=显示服务拓扑 ...@@ -9,7 +9,7 @@ show_topology=显示服务拓扑
execute_gray_release=执行灰度发布 execute_gray_release=执行灰度发布
execute_gray_router=执行灰度路由 execute_gray_router=执行灰度路由
refresh_gray_state=刷新灰度状态 refresh_gray_state=刷新灰度状态
push_global_config=推送全局规则 push_global_config=全链路灰度发布
push_control_mode=推送模式设置 push_control_mode=推送模式设置
push_async_mode=异步推送 push_async_mode=异步推送
push_sync_mode=同步推送 push_sync_mode=同步推送
...@@ -61,6 +61,7 @@ node_not_for_gray_release=该服务不能执行灰度发布 ...@@ -61,6 +61,7 @@ node_not_for_gray_release=该服务不能执行灰度发布
node_not_for_gray_router=该服务不能执行执行灰度路由 node_not_for_gray_router=该服务不能执行执行灰度路由
group_not_for_refresh_gray_state=该服务集群不能刷新灰度状态 group_not_for_refresh_gray_state=该服务集群不能刷新灰度状态
node_not_for_refresh_gray_state=该服务不能刷新灰度状态 node_not_for_refresh_gray_state=该服务不能刷新灰度状态
not_for_push_global_config=全链路灰度发布,只能在“规则推送到远程配置中心”模式下运行
select_a_global_group=请选择一个服务集群组 select_a_global_group=请选择一个服务集群组
select_a_group=请选择一个服务集群 select_a_group=请选择一个服务集群
......
...@@ -9,7 +9,7 @@ show_topology=\u663e\u793a\u670d\u52a1\u62d3\u6251 ...@@ -9,7 +9,7 @@ show_topology=\u663e\u793a\u670d\u52a1\u62d3\u6251
execute_gray_release=\u6267\u884c\u7070\u5ea6\u53d1\u5e03 execute_gray_release=\u6267\u884c\u7070\u5ea6\u53d1\u5e03
execute_gray_router=\u6267\u884c\u7070\u5ea6\u8def\u7531 execute_gray_router=\u6267\u884c\u7070\u5ea6\u8def\u7531
refresh_gray_state=\u5237\u65b0\u7070\u5ea6\u72b6\u6001 refresh_gray_state=\u5237\u65b0\u7070\u5ea6\u72b6\u6001
push_global_config=\u63a8\u9001\u5168\u5c40\u89c4\u5219 push_global_config=\u5168\u94fe\u8def\u7070\u5ea6\u53d1\u5e03
push_control_mode=\u63a8\u9001\u6a21\u5f0f\u8bbe\u7f6e push_control_mode=\u63a8\u9001\u6a21\u5f0f\u8bbe\u7f6e
push_async_mode=\u5f02\u6b65\u63a8\u9001 push_async_mode=\u5f02\u6b65\u63a8\u9001
push_sync_mode=\u540c\u6b65\u63a8\u9001 push_sync_mode=\u540c\u6b65\u63a8\u9001
...@@ -61,6 +61,7 @@ node_not_for_gray_release=\u8be5\u670d\u52a1\u4e0d\u80fd\u6267\u884c\u7070\u5ea6 ...@@ -61,6 +61,7 @@ node_not_for_gray_release=\u8be5\u670d\u52a1\u4e0d\u80fd\u6267\u884c\u7070\u5ea6
node_not_for_gray_router=\u8be5\u670d\u52a1\u4e0d\u80fd\u6267\u884c\u6267\u884c\u7070\u5ea6\u8def\u7531 node_not_for_gray_router=\u8be5\u670d\u52a1\u4e0d\u80fd\u6267\u884c\u6267\u884c\u7070\u5ea6\u8def\u7531
group_not_for_refresh_gray_state=\u8be5\u670d\u52a1\u96c6\u7fa4\u4e0d\u80fd\u5237\u65b0\u7070\u5ea6\u72b6\u6001 group_not_for_refresh_gray_state=\u8be5\u670d\u52a1\u96c6\u7fa4\u4e0d\u80fd\u5237\u65b0\u7070\u5ea6\u72b6\u6001
node_not_for_refresh_gray_state=\u8be5\u670d\u52a1\u4e0d\u80fd\u5237\u65b0\u7070\u5ea6\u72b6\u6001 node_not_for_refresh_gray_state=\u8be5\u670d\u52a1\u4e0d\u80fd\u5237\u65b0\u7070\u5ea6\u72b6\u6001
not_for_push_global_config=\u5168\u94fe\u8def\u7070\u5ea6\u53d1\u5e03\uff0c\u53ea\u80fd\u5728\u201c\u89c4\u5219\u63a8\u9001\u5230\u8fdc\u7a0b\u914d\u7f6e\u4e2d\u5fc3\u201d\u6a21\u5f0f\u4e0b\u8fd0\u884c
select_a_global_group=\u8bf7\u9009\u62e9\u4e00\u4e2a\u670d\u52a1\u96c6\u7fa4\u7ec4 select_a_global_group=\u8bf7\u9009\u62e9\u4e00\u4e2a\u670d\u52a1\u96c6\u7fa4\u7ec4
select_a_group=\u8bf7\u9009\u62e9\u4e00\u4e2a\u670d\u52a1\u96c6\u7fa4 select_a_group=\u8bf7\u9009\u62e9\u4e00\u4e2a\u670d\u52a1\u96c6\u7fa4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment