Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-service
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
jimi
6 years ago
Commit
4f988ed85aa4c0220f9eed63c95e1c3d81c1c7bf
1 parent
501ce354
修改服务配置
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
monitor-service-switch/src/main/java/com/monitor/switchs/projectRestart/service/impl/JavaProjectStatusLoaderTask.java
monitor-service-switch/src/main/java/com/monitor/switchs/projectRestart/service/impl/JavaProjectStatusLoaderTask.java
View file @
4f988ed
...
...
@@ -137,8 +137,7 @@ public class JavaProjectStatusLoaderTask {
public
String
getServicePort
(
String
serviceName
,
String
type
)
{
Map
<
String
,
String
>
context_port_map
=
new
HashMap
<>();
// context_port_map.put("yoho-users", "8081,9001,users");
context_port_map
.
put
(
"yoho-users"
,
"8080,9001,users"
);
context_port_map
.
put
(
"yoho-users"
,
"8081,9001,users"
);
context_port_map
.
put
(
"yoho-sns"
,
"8082,9602,sns"
);
context_port_map
.
put
(
"yohobuy-product"
,
"8083,9603,product"
);
context_port_map
.
put
(
"yohobuy-order"
,
"8084,9604,order"
);
...
...
@@ -179,6 +178,7 @@ public class JavaProjectStatusLoaderTask {
context_port_map
.
put
(
"yoho-search-consumer"
,
"8088,9608,search-consumer"
);
context_port_map
.
put
(
"yoho-search-producer"
,
"8089,9609,search-producer"
);
context_port_map
.
put
(
"yoho-search-adaptor"
,
"8085,0000,yoho-search-adaptor"
);
context_port_map
.
put
(
"yoho-search-service"
,
"8080,9900,yohosearch"
);
context_port_map
.
put
(
"yohomars-search-service"
,
"8080,9900,yohosearch"
);
String
port
=
""
;
...
...
Please
register
or
login
to post a comment