Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
discovery
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢捷峰
discovery
Commits
ed244ec3
Commit
ed244ec3
authored
Jul 22, 2018
by
Nepxion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加图形化灰度发布功能
parent
082a6c97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
discovery-console-desktop/src/main/java/com/nepxion/discovery/console/desktop/workspace/RouterTopology.java
+5
-2
discovery-console-desktop/src/main/java/com/nepxion/discovery/console/desktop/workspace/ServiceTopology.java
+1
-1
No files found.
discovery-console-desktop/src/main/java/com/nepxion/discovery/console/desktop/workspace/RouterTopology.java
View file @
ed244ec3
...
@@ -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
JBasic
TextField
textField
=
new
JBasicTextField
()
;
private
JBasic
ComboBox
comboBox
;
private
JBasic
ComboBox
comboBox
=
new
JBasicComboBox
()
;
private
JBasic
TextField
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
();
...
...
discovery-console-desktop/src/main/java/com/nepxion/discovery/console/desktop/workspace/ServiceTopology.java
View file @
ed244ec3
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment