Open pmlopes opened 2 years ago
@alexellis please have a look at the PR and the discussion about upgrading the template. I believe this PR would make it easier to support all features of vert.x and user customization with a small breaking change.
If you wish to avoid the breaking change, I can adapt the function code itself to be closer to the original.
PR is updated to be fully backwards compatible and docs updated.
Fixes #256
Signed-off-by: Paulo Lopes pmlopes@gmail.com
Fixes #282
Description
This PR will update the template to:
JDK 17 (LTS)Motivation and Context
The original template has several limitations and is using a almost unsupported release of Vert.x. The current template allows simple functions but lacks ways to configure features like, safe body parsing, CORS, JWTs...
This new template tries to address the issues as described in the linked issue.
How Has This Been Tested?
A basic unit test is added to the project and docker images built and tested.
Types of changes
Impact to existing users
For existing users, the main function entry signature is changed, so it requires a small change to existing functions.Old:
New:
Checklist:
git commit -s