-
Notifications
You must be signed in to change notification settings - Fork 11
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
Feature#462v2 #597
base: develop
Are you sure you want to change the base?
Feature#462v2 #597
Conversation
…HandlerTest para soportar completamente los patrones reactivos.En total se han ajustado 6 métodos del GlobalExceptionHandler y 8 test asociados en GlobalExceptionHandlerTest.Todos los manejadores de excepciones ahora retornan Mono<ResponseEntity<MessageDto>> para mantener la operación asincrónica y no bloqueante.
# Conflicts: # itachallenge-challenge/src/main/java/com/itachallenge/challenge/controller/ChallengeController.java
…guage/{idLanguage
# Conflicts: # itachallenge-challenge/src/main/java/com/itachallenge/challenge/controller/ChallengeController.java # itachallenge-challenge/src/main/java/com/itachallenge/challenge/exception/GlobalExceptionHandler.java
… refactoring test
@@ -301,7 +323,7 @@ | |||
boolean validUUID = !StringUtils.isEmpty(id) && UUID_FORM.matcher(id).matches(); | |||
|
|||
if (!validUUID) { | |||
log.warn("Invalid ID format: {}", id); | |||
log.warn("Invalid ID format."); |
Check notice
Code scanning / SonarCloud
Logging should not be vulnerable to injection attacks Low
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix Delete and Patch methods:
The behavior of the Patch method was corrected. Previously, it was functioning similarly to Delete.
Now, Patch allows updating all fields or just one field as needed.
Added update method in ChallengeService: A new update method was introduced in ChallengeService to handle both partial and full updates of challenges.
Improved log data handling for security: Adjustments were made to ensure that user-controlled data, such as IDs or parameters, are no longer logged, addressing potential security concerns and preventing exposure of sensitive information.
Quality Gate passedIssues Measures |
Normalización de excepciones.