Signed-off-by: Eric Zhao <sczyh16@gmail.com>master
@@ -26,13 +26,13 @@ import org.springframework.context.annotation.Bean; | |||||
import org.springframework.context.annotation.Configuration; | import org.springframework.context.annotation.Configuration; | ||||
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; | import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; | ||||
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; | import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; | ||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; | |||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; | |||||
/** | /** | ||||
* @author leyou | * @author leyou | ||||
*/ | */ | ||||
@Configuration | @Configuration | ||||
public class WebConfig extends WebMvcConfigurerAdapter { | |||||
public class WebConfig implements WebMvcConfigurer { | |||||
private final Logger logger = LoggerFactory.getLogger(WebConfig.class); | private final Logger logger = LoggerFactory.getLogger(WebConfig.class); | ||||
@@ -62,5 +62,4 @@ public class WebConfig extends WebMvcConfigurerAdapter { | |||||
return registration; | return registration; | ||||
} | } | ||||
} | } |
@@ -43,6 +43,7 @@ | |||||
<td style="width: 15%;">Server ID</td> | <td style="width: 15%;">Server ID</td> | ||||
<td style="width: 10%;">Port</td> | <td style="width: 10%;">Port</td> | ||||
<td style="width: 15%;">命名空间集合</td> | <td style="width: 15%;">命名空间集合</td> | ||||
<td style="width: 10%;">运行模式</td> | |||||
<td>总连接数</td> | <td>总连接数</td> | ||||
<td>QPS 总览</td> | <td>QPS 总览</td> | ||||
<td style="width: 20%;">操作</td> | <td style="width: 20%;">操作</td> | ||||
@@ -55,6 +56,10 @@ | |||||
<td style="word-wrap:break-word;word-break:break-all;"> | <td style="word-wrap:break-word;word-break:break-all;"> | ||||
{{serverVO.state.namespaceSetStr}} | {{serverVO.state.namespaceSetStr}} | ||||
</td> | </td> | ||||
<td style="word-wrap:break-word;word-break:break-all;"> | |||||
<span ng-if="serverVO.state.embedded">嵌入模式</span> | |||||
<span ng-if="!serverVO.state.embedded">独立模式</span> | |||||
</td> | |||||
<td style="word-wrap:break-word;word-break:break-all;"> | <td style="word-wrap:break-word;word-break:break-all;"> | ||||
{{serverVO.connectedCount}} | {{serverVO.connectedCount}} | ||||
</td> | </td> | ||||