修复TraceId带多个点无法展示调用链

This commit is contained in:
zhangxin10 2016-01-13 10:03:17 +08:00
parent 9243075ebb
commit 4a95381c59
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ public class HelloSkyWalkingUICtl {
* @return
* @throws Exception
*/
@RequestMapping(value = "/{traceId}")
@RequestMapping(value = "/{traceId:.+}")
public String showIndexPageWithTraceId(ModelMap root, @PathVariable("traceId") String traceId) throws Exception {
showIndexPage(root, null);
root.put("traceId", traceId);
@ -100,7 +100,7 @@ public class HelloSkyWalkingUICtl {
* @return
* @throws Exception
*/
@RequestMapping(value = "/showTraceLog/{traceId}")
@RequestMapping(value = "/showTraceLog/{traceId:.+}")
public String showTraceLog(ModelMap root, @PathVariable("traceId") String traceId) throws Exception {
// traceId = "bcb759bc12db474aa54bc4bea605cb81123";
Map<String, TraceLogEntry> traceLogMap = traceLogSer.queryLogByTraceId(traceId);