JAX-RS 2.1 Support

In  jaxrs

Overview

This issue has two parts. Firstly it brings JAX-RS 2.1 into Wildfly. Secondly, it introduces support for switch between JAX-RS 2.0 (EE7) and JAX-RS 2.1 (EE 8) for the sake of certification.

Issue Metadata

Affected Projects or Components:

  • WildFly

  • RESTEasy

Requirements

  • WildFly will use RESTEasy 3.5 implementation

  • WildFly will, by default, be JAX-RS 2.0 compliant, so that it can pass EE 7 TCKs

  • WildFly will be able to opt-in into JAX-RS 2.1 API through agreed switch option

Test Plan

We should be executing TCK7 with default mode and standalone JAXRS 2.1 TCK in ee8.preview.mode (the full TCK8 is not properly set yet). For backward compatibility, the testsuite of latest RESTEasy 3.0.x version can be run against WFLY with RESTEasy 3.5 running in default (JAX-RS 2.0) mode. The RESTEasy 3.5 testsuite can be used against WFLY with RESTEasy 3.5 running in ee8.preview mode to verify JAX-RS 2.1 and additional new features.