[resteasy/Resteasy] ed01d4: [RESTEASY-1686] MediaType negotiation issues (2nd ...
by GitHub
Branch: refs/heads/3.0
Home: https://github.com/resteasy/Resteasy
Commit: ed01d40b6f5360f99260746d94b9d2f5329fbce8
https://github.com/resteasy/Resteasy/commit/ed01d40b6f5360f99260746d94b9d...
Author: Alessio Soldano <soldano.servizi(a)email.it>
Date: 2017-07-21 (Fri, 21 Jul 2017)
Changed paths:
M providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastInfosetCollectionProvider.java
M providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastInfosetMapProvider.java
M providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastinfoSetElementProvider.java
M providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastinfoSetJAXBContextFinder.java
M providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastinfoSetXmlRootElementProvider.java
M providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastinfoSetXmlSeeAlsoProvider.java
M providers/fastinfoset/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/fastinfoset/FastinfoSetXmlTypeProvider.java
M providers/jackson/src/main/java/org/jboss/resteasy/plugins/providers/jackson/ResteasyJacksonProvider.java
M providers/jackson2/src/main/java/org/jboss/resteasy/plugins/providers/jackson/ResteasyJackson2Provider.java
M providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/CollectionProvider.java
M providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/JAXBElementProvider.java
M providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/JAXBXmlRootElementProvider.java
M providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/JAXBXmlSeeAlsoProvider.java
M providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/JAXBXmlTypeProvider.java
M providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/MapProvider.java
M providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/XmlJAXBContextFinder.java
M providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JettisonElementProvider.java
M providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JettisonXmlRootElementProvider.java
M providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JettisonXmlSeeAlsoProvider.java
M providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JettisonXmlTypeProvider.java
M providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JsonCollectionProvider.java
M providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JsonJAXBContextFinder.java
M providers/jettison/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/json/JsonMapProvider.java
M providers/json-p-ee7/src/main/java/org/jboss/resteasy/plugins/providers/jsonp/JsonArrayProvider.java
M providers/json-p-ee7/src/main/java/org/jboss/resteasy/plugins/providers/jsonp/JsonObjectProvider.java
M providers/json-p-ee7/src/main/java/org/jboss/resteasy/plugins/providers/jsonp/JsonStructureProvider.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ServerResponseWriter.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/providers/DocumentProvider.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/providers/SourceProvider.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ResteasyProviderFactory.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/WeldUtil.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/jaxb/BadContentTypeTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/jaxb/resource/BadContenTypeTestResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/mbw/MessageBodyWriterObjectDefaultTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/mbw/resource/MessageBodyWriterObjectMessage.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/mbw/resource/MessageBodyWriterObjectMessageBodyWriter.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/mbw/resource/MessageBodyWriterObjectResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/MediaTypeNegotiationTest.java
M testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/providers/UserDefinedContextResolverTest.java
Log Message:
-----------
[RESTEASY-1686] MediaType negotiation issues (2nd attempt) (#1211)
* [RESTEASY-1686] Add an additional sorting criteria for @Produces media types contributed by MBWs
* [RESTEASY-1686] Adding a bunch of integration tests, including scenarios described on JIRA (thanks Nicolas Nesmon)
* [RESTEASY-1686] Use same CDI hack as the one for RESTEASY-985 / WELD-1539, so that parameter types are discovered also for Weld proxies
* [RESTEASY-1686] Explicitly add non structured syntax suffixes media types (RFC 6839) to @Produces/@Consumes annotation on providers, to avoid issues with eg. MediaType.valueOf("application/xml").isComptatible(MediaType.valueOf("application/*+xml")) being false
* [RESTEASY-1686] Revisit the implementation of the response MediaType negotiation + add missing module dependency in a couple of tests
* [RESTEASY-1686] Fixing broken tests
* [RESTEASY-1686] More on RFC 6839 support
* [RESTEASY-1686] Improve implementation of JAX-RS spec Section 3.8 to use accept media type currently being processed instead of */* for preliminary P set creation. This fixes issue with jackson2 provider not being considered because isWritable returns false for */* accept type. Reverting previously changed tests accordingly.
* [RESTEASY-1686] Minor cleanup, removing unused code
* [RESTEASY-1686] Removing unused code
7 years, 4 months
[resteasy/Resteasy] 27d03d: [JBEAP-10048] added permissions to testcases
by GitHub
Branch: refs/heads/master
Home: https://github.com/resteasy/Resteasy
Commit: 27d03dcef6d1d08a3ddad1668412a81b9e7d4a58
https://github.com/resteasy/Resteasy/commit/27d03dcef6d1d08a3ddad1668412a...
Author: rsearls <rsearls(a)localhost.localdomain>
Date: 2017-07-20 (Thu, 20 Jul 2017)
Changed paths:
M providers/jackson2/src/main/java/org/jboss/resteasy/plugins/providers/jackson/ResteasyJackson2Provider.java
M providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/AbstractJAXBContextFinder.java
M providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/JAXBContextWrapper.java
M providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/JAXBXmlTypeProvider.java
M providers/jaxb/src/main/java/org/jboss/resteasy/plugins/providers/jaxb/SecureUnmarshaller.java
M providers/resteasy-atom/src/main/java/org/jboss/resteasy/plugins/providers/atom/Content.java
M providers/resteasy-validator-provider-11/src/main/java/org/jboss/resteasy/plugins/validation/GeneralValidatorImpl.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/InjectorFactoryImpl.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ResourceMethodRegistry.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/ResourceBuilder.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/multipart/ContextProvidersTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/multipart/EmbeddedMultipartTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/multipart/MimeMultipartProviderTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/ContextProvidersNewClientTest.java
M testsuite/legacy-integration-tests/src/test/java/org/jboss/resteasy/test/validation/ContextProvidersOldClientTest.java
Log Message:
-----------
[JBEAP-10048] added permissions to testcases
7 years, 4 months