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

fix(dist): remove Spring Boot warning around commons-logging #13300

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

npepinpe
Copy link
Member

@npepinpe npepinpe commented Jul 3, 2023

Description

Spring displays a prominent warning when using different versions of commons-logging. They use their own variant, spring-jcl, and importing commons-logging conflicts with this.

We pull in commons-logging via the Opensearch and Elasticsearch exporters respectively. I have not noticed any issues with logging when removing, and followed the suggestion from Spring themselves, see:

spring-projects/spring-data-elasticsearch#1993

Related issues

closes #13299

Definition of Done

Not all items need to be done depending on the issue and the pull request.

Code changes:

  • The changes are backwards compatibility with previous versions
  • If it fixes a bug then PRs are created to backport the fix to the last two minor versions. You can trigger a backport by assigning labels (e.g. backport stable/1.3) to the PR, in case that fails you need to create backports manually.

Testing:

  • There are unit/integration tests that verify all acceptance criterias of the issue
  • New tests are written to ensure backwards compatibility with further versions
  • The behavior is tested manually
  • The change has been verified by a QA run
  • The impact of the changes is verified by a benchmark

Documentation:

  • The documentation is updated (e.g. BPMN reference, configuration, examples, get-started guides, etc.)
  • If the PR changes how BPMN processes are validated (e.g. support new BPMN element) then the Camunda modeling team should be informed to adjust the BPMN linting.

Other teams:
If the change impacts another team an issue has been created for this team, explaining what they need to do to support this change.

Please refer to our review guidelines.

Spring displays a prominent warning when using different versions of
`commons-logging`. They use their own variant, `spring-jcl`, and
importing `commons-logging` conflicts with this.

We pull in `commons-logging` via the Opensearch and Elasticsearch
exporters respectively. I have not noticed any issues with logging when
removing, and followed the suggestion from Spring themselves, see:

spring-projects/spring-data-elasticsearch#1993
@npepinpe
Copy link
Member Author

npepinpe commented Jul 3, 2023

Requesting a review from the ZPA team as this may affect the exporters, though I didn't notice anything 🤷

Copy link
Contributor

@remcowesterhoud remcowesterhoud left a comment

Choose a reason for hiding this comment

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

Thanks! I don't see any issues with this and verified the logging is working still.

bors merge

@zeebe-bors-camunda
Copy link
Contributor

Build succeeded:

@zeebe-bors-camunda zeebe-bors-camunda bot merged commit bbcdeb0 into main Jul 4, 2023
28 of 30 checks passed
@zeebe-bors-camunda zeebe-bors-camunda bot deleted the np-remove-warning branch July 4, 2023 08:06
@npepinpe npepinpe mentioned this pull request Jul 17, 2023
14 tasks
zeebe-bors-camunda bot added a commit that referenced this pull request Jul 18, 2023
13511: Bump Spring Boot to latest 3.1.x r=npepinpe a=npepinpe

## Description

Manually bump Spring Boot to the latest version to resolve some outstanding high CVEs. At the same time, back port #13300 to fix a Spring warning.



Co-authored-by: Nicolas Pepin-Perreault <nicolas.pepin-perreault@camunda.com>
Co-authored-by: Meggle (Sebastian Bathke) <sebastian.bathke@camunda.com>
zeebe-bors-camunda bot added a commit that referenced this pull request Jul 18, 2023
13511: Bump Spring Boot to latest 3.1.x r=npepinpe a=npepinpe

## Description

Manually bump Spring Boot to the latest version to resolve some outstanding high CVEs. At the same time, back port #13300 to fix a Spring warning.



Co-authored-by: Nicolas Pepin-Perreault <nicolas.pepin-perreault@camunda.com>
Co-authored-by: Meggle (Sebastian Bathke) <sebastian.bathke@camunda.com>
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.

Remove Spring warning about spring-jcl and commons-logging
2 participants