Skip to content

Commit

Permalink
GRAD2-2817
Browse files Browse the repository at this point in the history
TVR Delete Process - Backend Changes Endpoints
  • Loading branch information
arybakov-cgi committed Aug 21, 2024
1 parent 7f8269f commit 9fb26c9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ public ResponseEntity<BatchJobResponse> launchRegenerateStudentReports(@RequestB
try {
List<UUID> finalUUIDs = gradSchoolOfRecordFilter.filterStudents(searchRequest);
logger.info(" Number of Students [{}] ---------------------------------------------------------", finalUUIDs.size());
int numberOfReports = restUtils.processStudentReports(finalUUIDs, reportType);
response.setMessage(numberOfReports + " student " + reportType + " reports successfully");
restUtils.processStudentReports(finalUUIDs, reportType);
response.setStatus(BatchStatusEnum.COMPLETED.name());
return ResponseEntity.ok(response);
} catch (Exception e) {
response.setException(e.getLocalizedMessage());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ public class BatchJobResponse {
private String localDownload;

private String exception;
private String message;
}
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,6 @@ public void testLaunchRegenerateStudentReportsJob() {
} catch (Exception e) {
exceptionIsThrown = true;
}

assertThat(exceptionIsThrown).isFalse();
}

Expand Down

0 comments on commit 9fb26c9

Please sign in to comment.