Esempio n. 1
0
 @RequestMapping(
     value = "/admin/properties",
     method = RequestMethod.GET,
     produces = "application/json;charset=UTF-8")
 public @ResponseBody Map<String, String> checkProperties() {
   return adminService.getPropsValues();
 }
Esempio n. 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();
 }
Esempio n. 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();
 }
Esempio n. 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);
 }
Esempio n. 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();
 }