Class JobsController
java.lang.Object
edu.ucsb.cs156.courses.controllers.ApiController
edu.ucsb.cs156.courses.controllers.JobsController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallJobs()
deleteAllJobs
(Long id) launchTestJob
(Boolean fail, Integer sleepMs) launchUpdateCourseDataJob
(String quarterYYYYQ, String subjectArea, Boolean ifStale) launchUpdateCourseDataRangeOfQuartersJob
(String start_quarterYYYYQ, String end_quarterYYYYQ, Boolean ifStale) launchUpdateCourseDataRangeOfQuartersSingleSubjectJob
(String subjectArea, String start_quarterYYYYQ, String end_quarterYYYYQ, Boolean ifStale) launchUpdateCourseDataWithQuarterJob
(String quarterYYYYQ, Boolean ifStale) Methods inherited from class edu.ucsb.cs156.courses.controllers.ApiController
genericMessage, getCurrentUser, handleGenericException, handleIllegalArgumentException
-
Constructor Details
-
JobsController
public JobsController()
-
-
Method Details
-
allJobs
-
deleteAllJobs
-
deleteAllJobs
-
launchTestJob
-
launchUpdateCourseDataJob
-
launchUpdateCourseDataWithQuarterJob
-
launchUpdateCourseDataRangeOfQuartersJob
-
launchUpdateCourseDataRangeOfQuartersSingleSubjectJob
@PreAuthorize("hasRole(\'ROLE_ADMIN\')") @PostMapping("/launch/updateCoursesRangeOfQuartersSingleSubject") public Job launchUpdateCourseDataRangeOfQuartersSingleSubjectJob(@RequestParam String subjectArea, @RequestParam String start_quarterYYYYQ, @RequestParam String end_quarterYYYYQ, @RequestParam(defaultValue="true") Boolean ifStale) -
launchUploadGradeData
@PreAuthorize("hasRole(\'ROLE_ADMIN\')") @PostMapping("/launch/uploadGradeData") public Job launchUploadGradeData()
-