Skip to content

[BUG] AwsLambdaEndpoint should implements RequestHandler<APIGatewayProxyRequestEvent, APIGatewayProxyResponseEvent> #85

@lestephane

Description

@lestephane

Describe the bug
AwsLambdaEndpoint's main processing method is

public APIGatewayProxyResponseEvent delegate(
    final APIGatewayProxyRequestEvent event,
    final Context context) {

It should instead be called handleRequest() and the AwsLambdaEndpoint java class should be marked as implements RequestHandler<APIGatewayProxyRequestEvent, APIGatewayProxyResponseEvent>, so that

  • anAwsLambdaEndpoint() can return RequestHandler<APIGatewayProxyRequestEvent, APIGatewayProxyResponseEvent>, so that
  • the user only has to import the RequestHandler interface from the AWS SDK. This is important since QuantumMaid promises not to force devs to import quantummaid classes and interfaces.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions