Class JobsController
java.lang.Object
edu.ucsb.cs156.frontiers.controllers.ApiController
edu.ucsb.cs156.frontiers.controllers.JobsController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallJobs()
deleteAllJobs
(Long id) getJobLogById
(Long id) getJobLogs
(Long id) launchPushTeamsToGithubJob
(Long courseId) Methods inherited from class edu.ucsb.cs156.frontiers.controllers.ApiController
doesCurrentUserHaveRole, genericMessage, getCurrentUser, handleEntityNotFoundException, handleIllegalArgument, handleNoLinkedOrgException, handleUnsupportedOperation, isCurrentUserAdmin
-
Constructor Details
-
JobsController
public JobsController()
-
-
Method Details
-
allJobs
-
deleteAllJobs
-
getJobLogById
@PreAuthorize("hasRole(\'ROLE_ADMIN\')") @GetMapping("") public Job getJobLogById(@RequestParam Long id) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
deleteAllJobs
-
getJobLogs
-
launchUpdateAllJob
@PreAuthorize("hasRole(\'ROLE_ADMIN\')") @PostMapping("/launch/updateAll") public Job launchUpdateAllJob() -
launchAuditAllCoursesJob
@PreAuthorize("hasRole(\'ROLE_ADMIN\')") @PostMapping("/launch/auditAllCourses") public Job launchAuditAllCoursesJob() -
launchPushTeamsToGithubJob
-