The node reports the information, and there is a problem with the applicationName format.
Open
area/dashboard
kind/question
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
启动控制台,如果SpringBoot项目中的名称为 xxxx/xxxx ,带有斜杠,
会导致控制台根据appName获取节点状态信息失败,
控制台的接口定义
@GetMapping(value = "/{app}/machines.json")
@RequestMapping(value = "/{app}/machine/remove.json")
使用@PathParam会出现404, 路径会被解析成 xxx/xxx/machine/remove.json
Contributor guide
Research direction
Start by reproducing the console failure with an applicationName such as xxxx/xxxx, then inspect the /{app}/machines.json and /{app}/machine/remove.json mappings that use the app path parameter. Done means the console can retrieve node status and remove a machine without a 404 when the application name contains a slash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100