-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: geenralize exception handler for the operations module #851
Conversation
src/test/java/fr/insee/rmes/webservice/operations/OperationsResourcesTest.java
Show resolved
Hide resolved
Je la laisse en draft. Car je n'ai pas fini |
I also remove some IntelliJ errors. and make validation endpoint looking similar : object/:id/validate. |
0a604c6
to
a4fd142
Compare
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
} | ||
@Parameter(description = "Concept", required = true) @RequestBody String body) throws RmesException { | ||
conceptsService.setConcept(id, body); | ||
logger.info("Concept updated : {}" , id); |
Check notice
Code scanning / SonarCloud
Logging should not be vulnerable to injection attacks Low
throw e; | ||
} | ||
conceptsService.setCollection(id, body); | ||
logger.info("Update collection : {}" , id); |
Check notice
Code scanning / SonarCloud
Logging should not be vulnerable to injection attacks Low
throw e; | ||
} | ||
conceptsService.setCollectionsValidation(body); | ||
logger.info("Validated concepts : {}" , body); |
Check notice
Code scanning / SonarCloud
Logging should not be vulnerable to injection attacks Low
No description provided.