From 9c331069743ea7a9696e57e9e9f8761eeca51344 Mon Sep 17 00:00:00 2001 From: Yukihiro Okada Date: Tue, 2 Apr 2024 14:32:25 +0900 Subject: [PATCH] Bump JDK version to 17 in aws-lambda related extensions (cherry picked from commit d9a771f3f73c0a276e30c866963240f951e8c719) --- docs/src/main/asciidoc/aws-lambda-http.adoc | 2 +- .../deployment/src/main/resources/http/sam.jvm.yaml | 2 +- .../deployment/src/main/resources/http/sam.jvm.yaml | 2 +- .../common-deployment/src/main/resources/lambda/manage.sh | 2 +- .../common-deployment/src/main/resources/lambda/sam.jvm.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/src/main/asciidoc/aws-lambda-http.adoc b/docs/src/main/asciidoc/aws-lambda-http.adoc index 49b7790237c26..0d2836722b3d0 100644 --- a/docs/src/main/asciidoc/aws-lambda-http.adoc +++ b/docs/src/main/asciidoc/aws-lambda-http.adoc @@ -265,7 +265,7 @@ Do not change the Lambda handler name. ---- Properties: Handler: io.quarkus.amazon.lambda.runtime.QuarkusStreamHandler::handleRequest - Runtime: java11 + Runtime: java17 ---- This handler is a bridge between the lambda runtime and the Quarkus HTTP framework you are using (Jakarta REST, Servlet, etc.) diff --git a/extensions/amazon-lambda-http/deployment/src/main/resources/http/sam.jvm.yaml b/extensions/amazon-lambda-http/deployment/src/main/resources/http/sam.jvm.yaml index 0d41bbbf07590..60b4175a98b92 100644 --- a/extensions/amazon-lambda-http/deployment/src/main/resources/http/sam.jvm.yaml +++ b/extensions/amazon-lambda-http/deployment/src/main/resources/http/sam.jvm.yaml @@ -12,7 +12,7 @@ Type: AWS::Serverless::Function Properties: Handler: io.quarkus.amazon.lambda.runtime.QuarkusStreamHandler::handleRequest - Runtime: java11 + Runtime: java17 CodeUri: function.zip MemorySize: 512 Policies: AWSLambdaBasicExecutionRole diff --git a/extensions/amazon-lambda-rest/deployment/src/main/resources/http/sam.jvm.yaml b/extensions/amazon-lambda-rest/deployment/src/main/resources/http/sam.jvm.yaml index a2476a2a1a648..b965648cd1c7b 100644 --- a/extensions/amazon-lambda-rest/deployment/src/main/resources/http/sam.jvm.yaml +++ b/extensions/amazon-lambda-rest/deployment/src/main/resources/http/sam.jvm.yaml @@ -12,7 +12,7 @@ Type: AWS::Serverless::Function Properties: Handler: io.quarkus.amazon.lambda.runtime.QuarkusStreamHandler::handleRequest - Runtime: java11 + Runtime: java17 CodeUri: function.zip MemorySize: 512 Policies: AWSLambdaBasicExecutionRole diff --git a/extensions/amazon-lambda/common-deployment/src/main/resources/lambda/manage.sh b/extensions/amazon-lambda/common-deployment/src/main/resources/lambda/manage.sh index 6990202eca9ea..acfca769bf970 100644 --- a/extensions/amazon-lambda/common-deployment/src/main/resources/lambda/manage.sh +++ b/extensions/amazon-lambda/common-deployment/src/main/resources/lambda/manage.sh @@ -51,7 +51,7 @@ function cmd_update() { FUNCTION_NAME=${lambdaName} HANDLER=${handler} -RUNTIME=java11 +RUNTIME=java17 ZIP_FILE=${targetUri} function usage() { diff --git a/extensions/amazon-lambda/common-deployment/src/main/resources/lambda/sam.jvm.yaml b/extensions/amazon-lambda/common-deployment/src/main/resources/lambda/sam.jvm.yaml index 7efbe0de60fc7..b4d67fca6a950 100644 --- a/extensions/amazon-lambda/common-deployment/src/main/resources/lambda/sam.jvm.yaml +++ b/extensions/amazon-lambda/common-deployment/src/main/resources/lambda/sam.jvm.yaml @@ -12,7 +12,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: ${handler} - Runtime: java11 + Runtime: java17 CodeUri: function.zip MemorySize: 256 Timeout: 15