-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement integration module for Google AppEngine #2125
Comments
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented But currently there is a blocker because Jersey 2.0 uses Servlet API v3 and GAE supports Servlet API v2.5 only. It means it is not possible to finish the gae integration module now. Sources are places in my personal GitHub branch (#2125) - https://github.com/shamoh/jersey/tree/JERSEY-1853/ext/gae-integration There is also base of GAE test web application prepared. But it is not finished jet because of mentioned issue about Servlet API version. Currently it just tests it is possible to inject RuntimeThreadProvider or ScheduledExecutorService instances. But @ManagedAsync does not work. Sources are places in same personal GitHub branch - https://github.com/shamoh/jersey/tree/JERSEY-1853/examples/gae-webapp |
@glassfishrobot Commented
|
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented
|
@glassfishrobot Commented Thank you! |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
|
- parallel execution on random free ports - disabled for jdk8 - possibility to use three different clients - jersey-client - but it doesn't support HTTP/2 - jdk11+ HttpClient - but it is not available in older JDK versions - jetty-client - but version compatible with jdk8 uses different classes than version compatible with jdk11 - each test creates a configured server, then creates several clients which are sending GET requests for given time. - all responses must be HTTP 200 - after the test then number of processed requests is written to the STDOUT - if there will be just one non compliant response, all clients are stopped and the test fails. - originally created to reproduce the issue eclipse-ee4j#2125 of the Grizzly project, which used Jersey and Grizzly together. Signed-off-by: David Matějček <dmatej@seznam.cz>
- parallel execution on random free ports - disabled for jdk8 - possibility to use three different clients - jersey-client - but it doesn't support HTTP/2 - jdk11+ HttpClient - but it is not available in older JDK versions - jetty-client - but version compatible with jdk8 uses different classes than version compatible with jdk11 - each test creates a configured server, then creates several clients which are sending GET requests for given time. - all responses must be HTTP 200 - after the test then number of processed requests is written to the STDOUT - if there will be just one non compliant response, all clients are stopped and the test fails. - originally created to reproduce the issue eclipse-ee4j#2125 of the Grizzly project, which used Jersey and Grizzly together. Signed-off-by: David Matějček <dmatej@seznam.cz>
The module needs to provide custom org.glassfish.jersey.spi.RuntimeThreadProvider implementation that delegates the Thread creation to AppEngine-provided ThreadFactory instances as discussed in #2111.
Environment
Google App Engine
Affected Versions
[2.1]
The text was updated successfully, but these errors were encountered: