Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRAD2-3064 - Refactor institute endpoints in EDUC-GRAD-TRAX-API #378

Merged
merged 7 commits into from
Nov 27, 2024

Conversation

kamal-mohammed
Copy link
Contributor

GRAD2-3064 - Refactor institute endpoints in EDUC-GRAD-TRAX-API

@PreAuthorize(PermissionsConstants.READ_SCHOOL_DATA)
@Operation(summary = "Find School Details by Mincode from cache", description = "Get School Details by Mincode from cache", tags = { "School" })
@ApiResponses(value = {@ApiResponse(responseCode = "200", description = "OK"),
@ApiResponse(responseCode = "204", description = "NO CONTENT")})
public ResponseEntity<SchoolDetail> getSchoolDetailsByMincode(@PathVariable String minCode) {
public ResponseEntity<SchoolDetail> getSchoolDetailsByParams(@RequestParam(required = false) String minCode) {
log.debug("getSchoolDetails V2 : ");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just minor... the same log as getSchoolDetailsById at line 131 makes me hard to trace in debug mode.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added proper Debug messages.

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
77.8% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@infstar infstar merged commit 3337804 into grad-release Nov 27, 2024
4 of 5 checks passed
@infstar infstar deleted the GRAD2-3064 branch November 27, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants