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

Deprecate the quarkus-resteasy-mutiny extension #24005

Merged

Conversation

cescoffier
Copy link
Member

Also added a warning explaining why it's deprecated.

@cescoffier cescoffier requested review from Sanne and geoand February 28, 2022 10:53
@gsmet
Copy link
Member

gsmet commented Feb 28, 2022

I wonder if we should sneak this one in into 2.7? Maybe worth asking @tqvarnst .

@Sanne Sanne added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Feb 28, 2022
@gsmet gsmet force-pushed the deprecate-resteasy-classic-mutiny branch from 08553f5 to 212f0dc Compare February 28, 2022 13:36
return new FeatureBuildItem(Feature.RESTEASY_MUTINY);
}

void warn() {
Logger.getLogger(ResteasyMutinyProcessor.class).warn("The quarkus-resteasy-mutiny extension is deprecated. " +
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe it's easier to use io.quarkus.logging.Log.warn here, but this is fine

@gastaldi gastaldi merged commit d004fdd into quarkusio:main Feb 28, 2022
@quarkus-bot quarkus-bot bot added this to the 2.8 - main milestone Feb 28, 2022
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Feb 28, 2022
@cescoffier cescoffier deleted the deprecate-resteasy-classic-mutiny branch March 15, 2022 07:13
@rsvoboda
Copy link
Member

@gsmet / @cescoffier there should be a section about this in https://github.com/quarkusio/quarkus/wiki/Migration-Guide-2.8

imho the message from the warning can be used, it's quite nice:

The quarkus-resteasy-mutiny extension is deprecated. Switch to RESTEasy Reactive instead.
This extension adds support for Uni and Multi to RESTEasy 'classic', without using the reactive execution 
model, as RESTEasy classic does not use it. To properly integrate Mutiny and RESTEasy, use RESTEasy Reactive.
See https://quarkus.io/guides/getting-started-reactive for detailed instructions

@geoand
Copy link
Contributor

geoand commented Apr 22, 2022

Good point, added

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.

6 participants