Skip to content

Spring Boot 2 sample is broken #484

@taasjord

Description

@taasjord

Serverless Java Container version: 1.9

Implementations: Spring Boot 2

In commit 0b92c8e the API gateway and stack output was commented out, replaced by function URL.

Problems:

  1. Readme/deploy instructions and sample code no longer matching.
  2. Attempting to call the function URL results in "Internal server error" and exception:
    com.amazonaws.serverless.exceptions.InvalidRequestEventException: The incoming event is not a valid request from Amazon API Gateway or an Application Load Balancer

While I was able to fix it by uncommenting the template resources, but not a pleasant sample application experience testing this for the first time. I don't know if the intention was to actually change to function URLs, but it looks like some code needs to be changed as well.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions