[resteasy/Resteasy] 988838: [RESTEASY-1454] (#916)
by GitHub
Branch: refs/heads/master
Home: https://github.com/resteasy/Resteasy
Commit: 988838c3d1ac2e5b8dd6db5777e7dc20d79eca7e
https://github.com/resteasy/Resteasy/commit/988838c3d1ac2e5b8dd6db5777e7d...
Author: Ron Sigal <rsigal(a)redhat.com>
Date: 2016-09-01 (Thu, 01 Sep 2016)
Changed paths:
A resteasy-jaxrs-testsuite/.gitignore
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/client/ResponseObjectTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/client/cache/ClientCacheTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/encoding/MatrixParamEncodingTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/encoding/ParameterEncodingTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/InternalDispatcherTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/MultipleEndpointsWarningTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/application/ApplicationConfigWithInterceptorTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/client/ClientFormParamTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/methodparams/ExceptionMapperTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/methodparams/PathParamTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/methodparams/QueryParamAsPrimitiveTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/methodparams/StringParamUnmarshallerTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/methodparams/UriParamAsPrimitiveTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/resource/ClientErrorTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/resource/EncodedPathTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/resource/FormUrlEncodedTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/resource/InheritanceTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/resource/OptionsTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/resource/ResourceLocatorTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/resource/UriInfoTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/finegrain/resource/VariantsTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/form/ClientForm.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/form/FormResource.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/form/FormValueHolder.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/form/TestFormResource.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/mediatype/FileExtensionMappingTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/nextgen/encoding/EncodingTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/nextgen/encoding/MyTestResource.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/nextgen/encoding/TestClient.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/nextgen/finegrain/AcceptLanguagesTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/nextgen/finegrain/client/InputStreamResourceTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/nextgen/finegrain/resource/ProgammaticTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/nextgen/interceptors/GZIPAnnotationTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/nextgen/interceptors/GzipTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/nextgen/producers/ProducesMediaTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/nextgen/properties/GetPropertiesTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/nextgen/proxy/TestProxyCasting.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/nextgen/security/BasicAuthTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/nextgen/tjws/RESTEASY1318.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/regression/TJWSChunkTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/resource/generic/CrudResource.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/resource/generic/GenericResourceTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/resource/generic/Student.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/resource/generic/StudentCrudResource.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/resource/generic/StudentInterface.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/resource/generic/StudentReader.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/resource/generic/StudentWriter.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/resource/proxy/Car.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/resource/proxy/CarProxy.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/resource/proxy/Garage.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/resource/proxy/ProxiedSubresourceTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/smoke/LocatingResource.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/smoke/SimpleResource.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/smoke/SimpleSubresource.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/smoke/TestSmoke.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/tjws/ChunkedEmptyEntityTest.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/xxe/TestSecureProcessing.java
R resteasy-jaxrs-testsuite/src/test/java/org/jboss/resteasy/test/xxe/testpasswd
R resteasy-jaxrs-testsuite/src/test/resources/META-INF/services/javax.ws.rs.ext.Providers
R resteasy-jaxrs-testsuite/src/test/resources/README
R resteasy-jaxrs-testsuite/src/test/resources/client_ks
R resteasy-jaxrs-testsuite/src/test/resources/server_key.cer
R resteasy-jaxrs-testsuite/src/test/resources/server_ks
R resteasy-jaxrs-testsuite/src/test/test-data/data.txt
R resteasy-jaxrs-testsuite/src/test/test-data/harper.bmp
R resteasy-jaxrs-testsuite/src/test/test-data/harper.jpg
R resteasy-jaxrs-testsuite/src/test/test-data/harper.png
R resteasy-jaxrs-testsuite/src/test/test-data/harper.psd
R resteasy-jaxrs-testsuite/src/test/test-data/harper.wdp
M testsuite/integration-tests/pom.xml
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/ClientCacheTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/InputStreamResourceTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/ClientErrorTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/exception/resource/ClientErrorResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/resource/InputStreamResourceClient.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/client/resource/InputStreamResourceService.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/basic/FileExtensionMappingTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/basic/resource/FileExtensionMappingApplication.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/basic/resource/FileExtensionMappingResource.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/core/smoke/WireSmokeTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/exception/ExceptionMapperTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/exception/resource/ExceptionMapperMyCustomSubException.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/exception/resource/ExceptionMapperResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/exception/resource/NotFoundExceptionMapper.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/form/FormUrlEncodedTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/form/resource/FormUrlEncodedResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/interceptor/ApplicationConfigWithInterceptorTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/interceptor/GZIPAnnotationTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/interceptor/resource/AddHeaderContainerResponseFilter.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/interceptor/resource/ApplicationConfigWithInterceptorResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/interceptor/resource/GZIPAnnotationInterface.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/interceptor/resource/GZIPAnnotationResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/GenericResourceTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/InheritanceTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/MultipleEndpointsWarningTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/ResourceLocatorTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/GenericResourceCrudResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/GenericResourceStudent.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/GenericResourceStudentCrudResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/GenericResourceStudentInterface.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/GenericResourceStudentReader.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/GenericResourceStudentWriter.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/InheritenceParentResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/InheritenceParentResourceImpl.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/LogHandler.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/MultipleEndpointsWarningResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorAbstractAnnotationFreeResouce.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorAnnotationFreeSubResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorBaseResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorCollectionResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorDirectory.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorQueueReceiver.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorReceiver.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorRootInterface.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorSubInterface.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorSubresource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorSubresource2.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorSubresource3.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/basic/resource/ResourceLocatorSubresource3Interface.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/path/EncodedPathTest.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/path/PathParamTest.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/path/resource/EmailResource.java
A testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/resource/path/resource/EncodedPathResource.java
M testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/response/OptionsTest.java
A testsuite/integration-tests/src/test/resources/org/jboss/resteasy/test/core/basic/FileExtensionMapping.xml
A testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/resource/ProgammaticTest.java
A testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/resource/resource/ProgrammaticResource.java
Log Message:
-----------
[RESTEASY-1454] (#916)
Migrating tests from resteasy-jaxrs-testsuite to integration-tests.
[RESTEASY-1454]
Fix GZIPAnnotationTest in integration-tests.
[RESTEASY-1454]
Deleted ProxiedSubresourceTest, src/test/resources, and
src/test/test-data from resteasy-jaxrs-testsuite.
8 years, 3 months
[resteasy/Resteasy] 26164e: [RESTEASY-1481] UndertowJaxrsServer: Exposing the ...
by GitHub
Branch: refs/heads/master
Home: https://github.com/resteasy/Resteasy
Commit: 26164e09412a33d5a7702bd454a0b2667662961a
https://github.com/resteasy/Resteasy/commit/26164e09412a33d5a7702bd454a0b...
Author: gpjacobs <gpjacobs(a)users.noreply.github.com>
Date: 2016-09-01 (Thu, 01 Sep 2016)
Changed paths:
M server-adapters/resteasy-undertow/src/main/java/org/jboss/resteasy/plugins/server/undertow/UndertowJaxrsServer.java
M server-adapters/resteasy-undertow/src/test/java/org/jboss/resteasy/test/undertow/UndertowTest.java
Log Message:
-----------
[RESTEASY-1481] UndertowJaxrsServer: Exposing the ability to add prefix paths to the server root path handler (#903)
* Exposing the ability to add prefix paths to the server root path handler
Undertow allows adding a variety of paths, but the default behavior in the current UndertowJaxrsServer automatically registers a root handler and implicitly adds the JAX-RS defined paths to it, disallowing manually adding other paths. Adding this method allows the manual addition of other paths such as for serving static resources (e.g. web pages, API documentation) alongside the REST endpoints.
Inspired by a discussion I found when trying to find a solution to this problem: http://lists.jboss.org/pipermail/undertow-dev/2014-February/000680.html
* Adding missing import
Adding the import needed for ResourceHandler
* Adding test serving a prefix path holding a static file
8 years, 3 months