Branch: refs/heads/master
Home:
https://github.com/resteasy/Resteasy
Commit: bd2bc71358dfcbef62b968bc36e42754247fdc76
https://github.com/resteasy/Resteasy/commit/bd2bc71358dfcbef62b968bc36e42...
Author: Stéphane Épardaud <stef(a)inforealm.org>
Date: 2018-05-30 (Wed, 30 May 2018)
Changed paths:
M
providers/jackson2/src/main/java/org/jboss/resteasy/plugins/providers/jackson/PatchMethodFilter.java
M resteasy-cdi/src/main/java/org/jboss/resteasy/cdi/CdiConstructorInjector.java
M resteasy-cdi/src/main/java/org/jboss/resteasy/cdi/CdiPropertyInjector.java
M resteasy-cdi/src/main/java/org/jboss/resteasy/cdi/JaxrsInjectionTarget.java
M
resteasy-guice/src/main/java/org/jboss/resteasy/plugins/guice/GuiceResourceFactory.java
M
resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/AbstractCollectionFormInjector.java
M
resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/AsynchronousResponseInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ConstructorInjectorImpl.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ContextParameterInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/CookieParamInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/FormInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/FormParamInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/HeaderParamInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/InjectorFactoryImpl.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/MatrixParamInjector.java
M
resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/MessageBodyParameterInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/MethodInjectorImpl.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/PathParamInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/PrefixedFormInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/PropertyInjectorImpl.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/QueryInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/QueryParamInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ResourceInvoker.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ResourceLocatorInvoker.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ResourceMethodInvoker.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ResourcePropertyInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/SuspendInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/SynchronousDispatcher.java
M
resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ThreadLocalResteasyProviderFactory.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/ValueInjector.java
M
resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/server/resourcefactory/JndiComponentResourceFactory.java
M
resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/server/resourcefactory/JndiResourceFactory.java
M
resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/server/resourcefactory/POJOResourceFactory.java
M
resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/server/resourcefactory/SingletonResource.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/resteasy_jaxrs/i18n/Messages.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ConstructorInjector.java
A resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ContextInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/MethodInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/PropertyInjector.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ResourceFactory.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ResteasyDeployment.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ResteasyProviderFactory.java
M resteasy-jaxrs/src/main/java/org/jboss/resteasy/util/Types.java
M
resteasy-legacy/src/main/java/org/jboss/resteasy/core/interception/InterceptorRegistry.java
M
resteasy-legacy/src/main/java/org/jboss/resteasy/spi/old/ThreadLocalResteasyProviderFactory.java
A resteasy-rxjava/src/test/java/org/jboss/resteasy/rxjava/Async.java
A resteasy-rxjava/src/test/java/org/jboss/resteasy/rxjava/RxInjector.java
M resteasy-rxjava/src/test/java/org/jboss/resteasy/rxjava/RxResource.java
M resteasy-rxjava/src/test/java/org/jboss/resteasy/rxjava/RxTest.java
A resteasy-rxjava2/src/test/java/org/jboss/resteasy/rxjava2/Async.java
A resteasy-rxjava2/src/test/java/org/jboss/resteasy/rxjava2/RxInjector.java
M resteasy-rxjava2/src/test/java/org/jboss/resteasy/rxjava2/RxResource.java
M resteasy-rxjava2/src/test/java/org/jboss/resteasy/rxjava2/RxTest.java
M
resteasy-spring/src/main/java/org/jboss/resteasy/plugins/spring/SpringBeanProcessor.java
M
resteasy-spring/src/main/java/org/jboss/resteasy/plugins/spring/SpringResourceFactory.java
M
resteasy-spring/src/main/java/org/jboss/resteasy/springmvc/ResteasyHandlerAdapter.java
M
resteasy-spring/src/main/java/org/jboss/resteasy/springmvc/ResteasyWebArgumentResolver.java
M
server-adapters/resteasy-vertx/src/main/java/org/jboss/resteasy/plugins/server/vertx/VertxResourceFactory.java
M
testsuite/arquillian-utils/src/main/java/org/jboss/resteasy/utils/PortProviderUtil.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
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/UndertowTestRunner.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/AsyncInjectionTest.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionBooleanInjector.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionByteInjector.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionCharInjector.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionContext.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionContextAsyncSpecifier.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionContextErrorSpecifier.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionContextInjector.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionContextInterface.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionContextInterfaceInjector.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionDoubleInjector.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionException.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionExceptionMapper.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionFloatInjector.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionIntInjector.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionLongInjector.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionPrimitiveInjectorSpecifier.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionResource.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionResource2.java
A
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/asynch/resource/AsyncInjectionShortInjector.java
M
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/cdi/injection/resource/LazyInitUriInfoInjectionSingletonResource.java
M
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/custom/resource/CustomValueInjectorInjectorFactoryImpl.java
M
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/response/resource/HttpRequestParameterInjectorParamFactoryImpl.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-1905] Async injection (#1504)
* Turned injection into CompletionStage-using API
* Expand CompletionStages if required
* Support pluggable context injectors
* Implement missing methods in Type subtypes
* PortProviderUtil defaults to localhost
* Alternate test runner to run test in IDE
Just use it in place of Arquillian runner, and you can debug it :)
* Async injection test
* Turn the request async if injected value is not resolved
Also provide annotations to the injector
* Test async injection from other thread
* Do not proxy for async injection
* TEst async injection for interfaces
* Forgot to include annotation in test
* Fixed bug with PatchMethodFilter due to my changes
* Test async injection errors
* Fix injectedInstance
* fix parameterizedtype impl hash/equals to be the same as the jdk
* Only do async injection if supported (only supported for resource creation for method
invocation)
* Test behaviour of post-invoke async resource injection
* First pass at supporting pluggable rx types for async injection
* Test async injection for rx Single
* Second pass at doing async injection for rx
* Fix invalid assumptions about CompletionException wrapping
* Run async injection test with arquillian runner
* Something went wrong in rebasing
* Make sure we support async injection of unboxed types
* Test primitive injection
**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.