Skip to content

Commit 4c77175

Browse files
xujinxujin
authored andcommitted
预留出Skywalking的URL
1 parent fbfb743 commit 4c77175

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

moss-service/src/main/java/org/xujin/moss/service/impl/AppServiceImpl.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,8 @@ public void update(AppModel appModel) {
128128
@Override
129129
public ResultData getTraceTopology(String appName) {
130130
ResultData resultData = ResultData.builder().build();
131-
List<MenuModel> menuModels = menuService.getMenuByKey("trace");
132-
if (CollectionUtils.isEmpty(menuModels)) {
133-
log.info("trace key is not exist");
134-
resultData= ResultData.builder().code(200).msgCode("500").msgContent("trace key is not exist").build();
135-
}
136-
String traceBaseUrl = menuModels.get(0).getUrl();
131+
//Skywalking的URL
132+
String traceBaseUrl = "";
137133
//查询出SkyWalking中的所有应用信息
138134
List<Application> applications = findAllApplications(traceBaseUrl);
139135
String targetApplicationId = null;

0 commit comments

Comments
 (0)