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] Include swagger annotations in shaded client lib #22570

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

merlimat
Copy link
Contributor

Motivation

Fixes: #21962

#20700 marked the swagger-annotation with scope provided in the pulsar-client pom. The side effect is that the library is not getting included when the shading happens, though its symbols are being relocated. That is causing warning with Gradle bulds and errors with Bazel.

Modifications

Make sure the swagger annotations are included in the shaded jar (with the renamed symbols).

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@merlimat merlimat added type/bug The PR fixed a bug or issue reported a bug area/build release/3.2.3 labels Apr 23, 2024
@merlimat merlimat added this to the 3.3.0 milestone Apr 23, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Apr 23, 2024
@lhotari lhotari merged commit 77a99ed into apache:master Apr 24, 2024
47 of 49 checks passed
@merlimat merlimat deleted the fix-swagger-shading branch April 24, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build cherry-picked/branch-3.2 doc-not-needed Your PR changes do not impact docs ready-to-test release/3.2.3 type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing shade io.swagger classes in org.apache.pulsar:pulsar-client jar
5 participants