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) launchDeleteTeamMemberFromGithubJob(String memberGithubLogin, Integer githubTeamId, Long courseId) launchPushTeamsToGithubJob(Long courseId) Methods inherited from class edu.ucsb.cs156.frontiers.controllers.ApiController
doesCurrentUserHaveRole, genericMessage, getCurrentUser, handleEntityNotFoundException, handleIllegalArgument, handleNoLinkedOrgException, handleUnsupportedOperation, handleValidationException, isCurrentUserAdmin
-
Constructor Details
-
JobsController
public JobsController()
-
-
Method Details
-
allJobs
-
deleteAllJobs
-
getJobLogById
@PreAuthorize("hasRole(\'ROLE_ADMIN\')") @GetMapping("") public JobDTO 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 JobDTO launchUpdateAllJob() -
launchAuditAllCoursesJob
@PreAuthorize("hasRole(\'ROLE_ADMIN\')") @PostMapping("/launch/auditAllCourses") public JobDTO launchAuditAllCoursesJob() -
launchPushTeamsToGithubJob
-
launchDeleteTeamMemberFromGithubJob
-