Commit ed244ec3 by Nepxion

增加图形化灰度发布功能

parent 082a6c97
...@@ -66,8 +66,8 @@ public class RouterTopology extends AbstractTopology { ...@@ -66,8 +66,8 @@ public class RouterTopology extends AbstractTopology {
private TopologyEntity serviceNodeEntity = new TopologyEntity(TopologyEntityType.SERVICE, true, true); private TopologyEntity serviceNodeEntity = new TopologyEntity(TopologyEntityType.SERVICE, true, true);
private TGraphBackground background; private TGraphBackground background;
private JBasicTextField textField = new JBasicTextField(); private JBasicComboBox comboBox;
private JBasicComboBox comboBox = new JBasicComboBox(); private JBasicTextField textField;
private ActionListener layoutActionListener; private ActionListener layoutActionListener;
private InstanceEntity instance; private InstanceEntity instance;
...@@ -79,7 +79,10 @@ public class RouterTopology extends AbstractTopology { ...@@ -79,7 +79,10 @@ public class RouterTopology extends AbstractTopology {
} }
private void initializeToolBar() { private void initializeToolBar() {
comboBox = new JBasicComboBox();
comboBox.setPreferredSize(new Dimension(300, comboBox.getPreferredSize().height)); comboBox.setPreferredSize(new Dimension(300, comboBox.getPreferredSize().height));
textField = new JBasicTextField();
textField.setPreferredSize(new Dimension(650, textField.getPreferredSize().height)); textField.setPreferredSize(new Dimension(650, textField.getPreferredSize().height));
JToolBar toolBar = getGraph().getToolbar(); JToolBar toolBar = getGraph().getToolbar();
......
...@@ -87,10 +87,10 @@ public class ServiceTopology extends AbstractTopology { ...@@ -87,10 +87,10 @@ public class ServiceTopology extends AbstractTopology {
private TopologyEntity notServiceNodeEntity = new TopologyEntity(TopologyEntityType.MQ, true, false); private TopologyEntity notServiceNodeEntity = new TopologyEntity(TopologyEntityType.MQ, true, false);
private Map<String, Point> groupLocationMap = new HashMap<String, Point>(); private Map<String, Point> groupLocationMap = new HashMap<String, Point>();
private TGraphBackground background;
private JBasicMenuItem executeGrayReleaseMenuItem; private JBasicMenuItem executeGrayReleaseMenuItem;
private JBasicMenuItem refreshGrayStateMenuItem; private JBasicMenuItem refreshGrayStateMenuItem;
private JBasicMenuItem executeGrayRouterMenuItem; private JBasicMenuItem executeGrayRouterMenuItem;
private TGraphBackground background;
private FilterPanel filterPanel; private FilterPanel filterPanel;
private GrayPanel grayPanel; private GrayPanel grayPanel;
private JBasicTextArea resultTextArea; private JBasicTextArea resultTextArea;
......
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