camunda / camunda-bpm-platform

Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Quarkus, Spring, Spring Boot, CDI.
https://camunda.com/
Apache License 2.0
4.11k stars 1.55k forks source link

Add REST API Test for Logging of Persistence Connection Errors #3762

Closed psavidis closed 1 year ago

psavidis commented 1 year ago

Acceptance Criteria (Required on creation)

As a follow-up of this conversation, we need to add a test for the REST API that verifies that SQLExceptions with SQLState=08XXX (connection errors) that occur during a REST call will be logged as ERRORS.

Hints

See org.camunda.bpm.engine.rest.exception.ExceptionLogger & the handling of ProcessEnginePersistenceException

Links

Breakdown

### Pull Requests
- [ ] https://github.com/camunda/camunda-bpm-platform/pull/3775

Dev2QA handover

psavidis commented 1 year ago

This can be merged to master after the code-freeze for 7.20 release.

tasso94 commented 1 year ago

@psavidis, please add version labels.