Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14812

Upgrade RESTEasy from 3.15 to 4.x

    XMLWordPrintable

    Details

    • Type: Component Upgrade
    • Status: Pull Request Sent (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: MP REST Client, REST
    • Labels:
      None

      Description

      RESTEasy needs to be upgraded from the 3.x releases for RESTEasy to 4.x. The 4.x branch will be the maintain branch moving forward. For WildFly this does mean some changes. Some things have been removed, some things have been moved and some things have been deprecated.

      This is not an exhaustive list of what has changed, but a list of what was found during the migration from 3.x to 4.x.

      Overview

      The org.jboss.resteasy.resteasy-jaxrs module will be deprecated and split into 4 new modules.

      • org.jboss.resteasy.resteasy-core-spi
      • org.jboss.resteasy.resteasy-core
      • org.jboss.resteasy.resteasy-client-api
      • org.jboss.resteasy.resteasy-client

      The org.jboss.resteasy.resteasy-jaxrs will add these dependencies and export them. However it may be removed at some point.

      Removed Providers

      • org.jboss.resteasy:resteasy-jackson-provider
      • org.jboss.resteasy:resteasy-jettison-provider
      • org.jboss.resteasy:resteasy-yaml-provider

      Removed Types

      The following have been removed as they now have Jakarta RESTful Web Services replacements.

      @Suspend and org.jboss.resteasy.spi.AsynchronousResponse have been removed and replaced with @Suspended and javax.ws.rs.container.AsyncResponse repectively

      The StringConverter is replaced by a ParamConverter.

      Package Moves

      One type, that is likely not heavily used, is org.jboss.resteasy.core.ResourceInvoker was moved to org.jboss.resteasy.spi.ResourceInvoker.

      Possibly more used would be the GZIP filters moved from org.jboss.resteasy.plugins.interceptors.encoding to org.jboss.resteasy.plugins.interceptors. A workaround for this can simply be adding the resteasy.allowGzip property.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jamezp James Perkins
              Reporter:
              jamezp James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: