[resteasy/Resteasy] 7d73f8: [RESTEASY-1880] Parameter annotations with default...
by GitHub
Branch: refs/heads/3.6
Home: https://github.com/resteasy/Resteasy
Commit: 7d73f8a5586f79bfe7017d94b6841aefb8d38c6b
https://github.com/resteasy/Resteasy/commit/7d73f8a5586f79bfe7017d94b6841...
Author: Alessio Soldano <soldano.servizi(a)email.it>
Date: 2018-05-22 (Tue, 22 May 2018)
Changed paths:
M resteasy-cdi/src/main/java/org/jboss/resteasy/cdi/CdiInjectorFactory.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/annotations/jaxrs/CookieParam.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/annotations/jaxrs/FormParam.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/annotations/jaxrs/HeaderParam.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/annotations/jaxrs/MatrixParam.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/annotations/jaxrs/PathParam.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/annotations/jaxrs/QueryParam.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ConstructorInjectorImpl.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/InjectorFactoryImpl.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/PropertyInjectorImpl.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/InjectorFactory.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/ConstructorParameter.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/DefaultResourceConstructor.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/DefaultResourceLocator.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/FieldParameter.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/MethodParameter.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/ResourceBuilder.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/SetterParameter.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/util/FindAnnotation.java
M testsuite/integration-tests/pom.xml
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/RESTEasyParamBasicTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/RESTEasyParamCdiTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamBasicCustomValuesResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamBasicJaxRsParamDifferentResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamBasicJaxRsParamSameResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamBasicProxy.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamBasicProxyResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamBasicResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamCdiResource.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/PathSuppressionTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/ValidationJaxbTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/ValidationSuppressPathTestBase.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/ValidationSurpressPathDefaultTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/ValidationSurpressPathFalseTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/ValidationXMLTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/cdi/ValidationSessionBeanTest.java
Log Message:
-----------
[RESTEASY-1880] Parameter annotations with default names (#1497)
* New param annotations making use of reflection to avoid duplicating the name
* Support new param annotations taking name from setter/field/param
* Test for new param annotations
* Refactor new annotations to have the same name as the spec ones, but different package, and to have default empty values
* Making the changes more backward compatible
* Fixes to deal with different versions of Hibernate Validator
* Removing useless compiler plugin configuration
* [RESTEASY-1880] Tests for parameter annotations with default names
* Fixing issue with custom values on new annotations not being considered
* Restore excluded test
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 7 months
[resteasy/Resteasy] 0e992f: [RESTEASY-1880] Parameter annotations with default...
by GitHub
Branch: refs/heads/master
Home: https://github.com/resteasy/Resteasy
Commit: 0e992f2a0f9004822a40e6d2fbf26b3f4c8d1bf0
https://github.com/resteasy/Resteasy/commit/0e992f2a0f9004822a40e6d2fbf26...
Author: Alessio Soldano <soldano.servizi(a)email.it>
Date: 2018-05-22 (Tue, 22 May 2018)
Changed paths:
M resteasy-cdi/src/main/java/org/jboss/resteasy/cdi/CdiInjectorFactory.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/annotations/jaxrs/CookieParam.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/annotations/jaxrs/FormParam.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/annotations/jaxrs/HeaderParam.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/annotations/jaxrs/MatrixParam.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/annotations/jaxrs/PathParam.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/annotations/jaxrs/QueryParam.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ConstructorInjectorImpl.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/InjectorFactoryImpl.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/PropertyInjectorImpl.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/InjectorFactory.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/ConstructorParameter.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/DefaultResourceConstructor.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/DefaultResourceLocator.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/FieldParameter.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/MethodParameter.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/ResourceBuilder.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/SetterParameter.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/util/FindAnnotation.java
M testsuite/integration-tests-spring/deployment/src/test/java/org/jboss/resteasy/test/spring/deployment/resource/RequestScopedBeanQualifierInjectorFactoryImpl.java
M testsuite/integration-tests-spring/inmodule/src/test/java/org/jboss/resteasy/test/spring/inmodule/resource/RequestScopedBeanQualifierInjectorFactoryImpl.java
M testsuite/integration-tests/pom.xml
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/custom/resource/CustomValueInjectorInjectorFactoryImpl.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/RESTEasyParamBasicTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/RESTEasyParamCdiTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamBasicCustomValuesResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamBasicJaxRsParamDifferentResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamBasicJaxRsParamSameResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamBasicProxy.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamBasicProxyResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamBasicResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/param/resource/RESTEasyParamCdiResource.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/response/resource/HttpRequestParameterInjectorParamFactoryImpl.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/PathSuppressionTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/ValidationJaxbTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/ValidationSuppressPathTestBase.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/ValidationSurpressPathDefaultTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/ValidationSurpressPathFalseTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/ValidationXMLTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/validation/cdi/ValidationSessionBeanTest.java
M testsuite/legacy-integration-tests/src/test/java/org/jboss/resteasy/test/providers/custom/resource/CustomValueInjectorInjectorFactoryImpl.java
M testsuite/legacy-integration-tests/src/test/java/org/jboss/resteasy/test/response/resource/HttpRequestParameterInjectorParamFactoryImpl.java
Log Message:
-----------
[RESTEASY-1880] Parameter annotations with default names (#1467)
* New param annotations making use of reflection to avoid duplicating the name
* Support new param annotations taking name from setter/field/param
* Test for new param annotations
* Refactor new annotations to have the same name as the spec ones, but different package, and to have default empty values
* Fixes to deal with different versions of Hibernate Validator
* Removing useless compiler plugin configuration
* [RESTEASY-1880] Tests for parameter annotations with default names
* Fixing issue with custom values on new annotations not being considered
* Restore excluded test
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 7 months
[resteasy/Resteasy] 6270f9: [RESTEASY-1805] Tests for resource metadata SPI
by GitHub
Branch: refs/heads/3.6
Home: https://github.com/resteasy/Resteasy
Commit: 6270f9e40645909fe320e474a681c06fafa0b218
https://github.com/resteasy/Resteasy/commit/6270f9e40645909fe320e474a681c...
Author: Marek Kopecky <mkopecky(a)redhat.com>
Date: 2018-05-21 (Mon, 21 May 2018)
Changed paths:
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/ResourceClassProcessorBasicTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/ResourceClassProcessorErrorTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/ResourceClassProcessorNotAppliedTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/ResourceClassProcessorPriorityTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorClass.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorEndPoint.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorEndPointCDI.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorEndPointEJB.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorErrorImplementation.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorImplementation.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorMethod.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorNotAppliedImplementation.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorPriiorityAImplementation.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorPriiorityBImplementation.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorPriiorityCImplementation.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorProxy.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorProxyEndPoint.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorPureEndPoint.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorPureEndPointCDI.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorPureEndPointEJB.java
Log Message:
-----------
[RESTEASY-1805] Tests for resource metadata SPI
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 7 months
[resteasy/Resteasy] dde893: [RESTEASY-1805] Tests for resource metadata SPI
by GitHub
Branch: refs/heads/master
Home: https://github.com/resteasy/Resteasy
Commit: dde89355fb558e1b328fed2a91dade574b4386b1
https://github.com/resteasy/Resteasy/commit/dde89355fb558e1b328fed2a91dad...
Author: Marek Kopecky <mkopecky(a)redhat.com>
Date: 2018-05-21 (Mon, 21 May 2018)
Changed paths:
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/ResourceClassProcessorBasicTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/ResourceClassProcessorErrorTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/ResourceClassProcessorNotAppliedTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/ResourceClassProcessorPriorityTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorClass.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorEndPoint.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorEndPointCDI.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorEndPointEJB.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorErrorImplementation.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorImplementation.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorMethod.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorNotAppliedImplementation.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorPriiorityAImplementation.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorPriiorityBImplementation.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorPriiorityCImplementation.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorProxy.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorProxyEndPoint.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorPureEndPoint.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorPureEndPointCDI.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/spi/resource/ResourceClassProcessorPureEndPointEJB.java
Log Message:
-----------
[RESTEASY-1805] Tests for resource metadata SPI
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 7 months