Пример #1
0
 @RequestMapping(
     value = "/admin/properties",
     method = RequestMethod.GET,
     produces = "application/json;charset=UTF-8")
 public @ResponseBody Map<String, String> checkProperties() {
   return adminService.getPropsValues();
 }
Пример #2
0
 @RequestMapping(
     value = "/admin/video/check/check",
     method = RequestMethod.GET,
     produces = "application/json;charset=UTF-8")
 public @ResponseBody Map<String, Object> checkVideoCheckingState() {
   return adminService.checkVideoCheckingState();
 }
Пример #3
0
 @RequestMapping(
     value = "/admin/thumb/generate/check",
     method = RequestMethod.GET,
     produces = "application/json;charset=UTF-8")
 public @ResponseBody Map<String, Object> checkThumbGenerationState() {
   return adminService.checkThumbGenerationState();
 }
Пример #4
0
 @RequestMapping(
     value = "/admin/video/check",
     method = RequestMethod.GET,
     produces = "application/json;charset=UTF-8")
 @ResponseStatus(value = HttpStatus.NO_CONTENT)
 public void checkVideo(@RequestParam(required = false, defaultValue = "false") boolean report) {
   adminService.checkVideo(report);
 }
Пример #5
0
 @RequestMapping(
     value = "/admin/video/generate",
     method = RequestMethod.GET,
     produces = "application/json;charset=UTF-8")
 @ResponseStatus(value = HttpStatus.NO_CONTENT)
 public void generateVideo() {
   adminService.generateVideo();
 }