Skip to content
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

Small improvement on Jersey implementation #366

Closed
argenstijn opened this issue Jul 16, 2020 · 3 comments
Closed

Small improvement on Jersey implementation #366

argenstijn opened this issue Jul 16, 2020 · 3 comments
Assignees
Milestone

Comments

@argenstijn
Copy link

Serverless Java Container version: 1.5.1

Implementations: Jersey

Framework version: 2.31

Frontend service: REST API / HTTP API / ALB

Deployment method: `CDK'

Scenario

It's not better to set these properties to true in order to speed up jersey startup a little bit:

property(ServerProperties.FEATURE_AUTO_DISCOVERY_DISABLE,true);
property(ServerProperties.WADL_FEATURE_DISABLE,true);
property(ServerProperties.METAINF_SERVICES_LOOKUP_DISABLE,true);
property(ServerProperties.BV_FEATURE_DISABLE,true);
property(ServerProperties.JSON_PROCESSING_FEATURE_DISABLE,true);
property(ServerProperties.MOXY_JSON_FEATURE_DISABLE,true);

@sapessi
Copy link
Collaborator

sapessi commented Jul 16, 2020

Thanks for the tip @argenstijn - I'll make the updates in the archetype and samples for the next release.

@sapessi sapessi added this to the Release 1.6 milestone Jul 16, 2020
@argenstijn
Copy link
Author

argenstijn commented Jul 16, 2020 via email

@deki deki modified the milestones: Release 1.6, Release 1.7 Jul 28, 2021
@deki deki self-assigned this Dec 30, 2021
deki added a commit that referenced this issue Jan 3, 2022
@deki
Copy link
Collaborator

deki commented Jan 3, 2022

Finally added the properties.

@deki deki closed this as completed Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants