Skip to content

Commit

Permalink
Updated after code review.
Browse files Browse the repository at this point in the history
Updated after code review.
  • Loading branch information
infstar committed May 22, 2024
1 parent 09f65c1 commit 4c6ee9e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public Integer process(@NotNull StudentCredentialDistribution item) throws Excep
return count;
} catch(Exception e) {
LOGGER.error("Unexpected Error: {}", e.getLocalizedMessage());
summaryDTO.updateError(item.getStudentID(),"GRAD-GRADUATION-API IS DOWN","Graduation API is unavailable at this moment");
summaryDTO.updateError(item.getStudentID(), "Unexpected Error in GRAD-GRADUATION-API", e.getLocalizedMessage());
summaryDTO.setProcessedCount(summaryDTO.getProcessedCount() - 1L);
LOGGER.info("Failed STU-ID:{} Errors:{}",item.getStudentID(),summaryDTO.getErrors().size());
return null;
Expand Down
4 changes: 2 additions & 2 deletions api/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ resilience:
maxAttempts: ${MAX_RETRY_ATTEMPTS}
waitDuration: 2
get-token:
maxAttempts: 35
waitDuration: 5
maxAttempts: 5
waitDuration: 2

#Endpoints
endpoint:
Expand Down
4 changes: 2 additions & 2 deletions api/src/test/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ resilience:
maxAttempts: 3
waitDuration: 2
get-token:
maxAttempts: 35
waitDuration: 5
maxAttempts: 5
waitDuration: 2

#Endpoints
endpoint:
Expand Down

0 comments on commit 4c6ee9e

Please sign in to comment.