Remove unsupported bean from aws sample
This commit is contained in:
@@ -21,14 +21,4 @@ public class FunctionConfiguration {
|
||||
public Function<String, String> uppercase() {
|
||||
return value -> value.toUpperCase();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public Function<APIGatewayV2HTTPEvent, APIGatewayV2HTTPResponse> uppercaseApiGateway() {
|
||||
return value -> {
|
||||
APIGatewayV2HTTPResponse response = new APIGatewayV2HTTPResponse();
|
||||
response.setStatusCode(404);
|
||||
response.setBody("Resource not found");
|
||||
return response;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user