develop
parent
e82f8a6a7d
commit
83bd2781ef
|
@ -37,10 +37,6 @@ public class ApiController {
|
||||||
@RequestParam(value = "limit", required = false, defaultValue = "5") Integer limit,
|
@RequestParam(value = "limit", required = false, defaultValue = "5") Integer limit,
|
||||||
@Value(Common.REQ_CONTEXT) RequestContext context,
|
@Value(Common.REQ_CONTEXT) RequestContext context,
|
||||||
HttpServletRequest request) {
|
HttpServletRequest request) {
|
||||||
log.info("type:" + type);
|
|
||||||
log.info("vendorId:" + vendorId);
|
|
||||||
log.info("vendorType:" + vendorType);
|
|
||||||
log.info("limit:" + limit);
|
|
||||||
LineChartResult chart = switch (type) {
|
LineChartResult chart = switch (type) {
|
||||||
case "hostCpu" -> this.topService.topOfHostCpu(vendorId, limit);
|
case "hostCpu" -> this.topService.topOfHostCpu(vendorId, limit);
|
||||||
case "hostMem" -> this.topService.topOfHostMem(vendorId, limit);
|
case "hostMem" -> this.topService.topOfHostMem(vendorId, limit);
|
||||||
|
|
Loading…
Reference in New Issue