k8s setting update
This commit is contained in:
parent
4a9036032d
commit
33d178b130
|
@ -1,6 +1,7 @@
|
||||||
package inc.sdt.controlcentermanagement.presentation;
|
package inc.sdt.controlcentermanagement.presentation;
|
||||||
|
|
||||||
import inc.sdt.controlcentermanagement.application.StatsService;
|
import inc.sdt.controlcentermanagement.application.StatsService;
|
||||||
|
import inc.sdt.controlcentermanagement.infrastructure.amqp.ResourceMapping;
|
||||||
import inc.sdt.controlcentermanagement.presentation.support.CustomPageable;
|
import inc.sdt.controlcentermanagement.presentation.support.CustomPageable;
|
||||||
import inc.sdt.controlcentermanagement.presentation.support.CustomPageableImpl;
|
import inc.sdt.controlcentermanagement.presentation.support.CustomPageableImpl;
|
||||||
import inc.sdt.controlcentermanagement.presentation.support.PageableResponse;
|
import inc.sdt.controlcentermanagement.presentation.support.PageableResponse;
|
||||||
|
@ -23,6 +24,7 @@ public class StatsController {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ResourceMapping(name = "Chambers_stats", method = "GET", uri = "/chambers/stats", description = "get chamber stats")
|
||||||
@ResponseStatus(HttpStatus.OK)
|
@ResponseStatus(HttpStatus.OK)
|
||||||
@GetMapping("/chambers/stats")
|
@GetMapping("/chambers/stats")
|
||||||
public StatsResult chambers(
|
public StatsResult chambers(
|
||||||
|
@ -35,6 +37,7 @@ public class StatsController {
|
||||||
return new StatsResult(chamberStats);
|
return new StatsResult(chamberStats);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ResourceMapping(name = "Chambers_stats_detail", method = "GET", uri = "/chambers/stats/{chamberNumber}", description = "get chamber stats detail")
|
||||||
@ResponseStatus(HttpStatus.OK)
|
@ResponseStatus(HttpStatus.OK)
|
||||||
@GetMapping("/chambers/stats/{chamberNumber}")
|
@GetMapping("/chambers/stats/{chamberNumber}")
|
||||||
public PageableResponse<StatsDetailRecord> detail(
|
public PageableResponse<StatsDetailRecord> detail(
|
||||||
|
|
Loading…
Reference in New Issue