generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 98
chore(ci): Add GraalVM E2E tests and GH workflows #1945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
0c2af76
Add GraalVM support for E2E tests starting with metrics handler.
phipag 4e83aca
Add GraalVM E2E test support for Logging and Parameters. Refactor met…
phipag 905ac80
Add e2e-graal step to e2e test workflow.
phipag 98f517e
Disable maven download progress logs to reduce amount of logs in GH r…
phipag 580866e
Fix sonarlint issue.
phipag 2a02bf8
Update osv-scanner to 2.1.0.
phipag 70c7c0e
PIN docker image version.
phipag b568257
Add fail-fast: false option to GH workflow.
phipag File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...in/resources/META-INF/native-image/com.amazonaws/aws-lambda-java-core/reflect-config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| [ | ||
| { | ||
| "name":"com.amazonaws.services.lambda.runtime.LambdaRuntime", | ||
| "methods":[{"name":"<init>","parameterTypes":[] }], | ||
| "fields":[{"name":"logger"}], | ||
| "allPublicMethods":true | ||
| }, | ||
| { | ||
| "name":"com.amazonaws.services.lambda.runtime.LambdaRuntimeInternal", | ||
| "methods":[{"name":"<init>","parameterTypes":[] }], | ||
| "allPublicMethods":true | ||
| } | ||
| ] |
35 changes: 35 additions & 0 deletions
35
.../resources/META-INF/native-image/com.amazonaws/aws-lambda-java-events/reflect-config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| [ | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent", | ||
| "allDeclaredFields": true, | ||
| "allDeclaredMethods": true, | ||
| "allDeclaredConstructors": true | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent$ProxyRequestContext", | ||
| "allDeclaredFields": true, | ||
| "allDeclaredMethods": true, | ||
| "allDeclaredConstructors": true | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent$RequestIdentity", | ||
| "allDeclaredFields": true, | ||
| "allDeclaredMethods": true, | ||
| "allDeclaredConstructors": true | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent", | ||
| "allDeclaredFields": true, | ||
| "allDeclaredMethods": true, | ||
| "allDeclaredConstructors": true | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent", | ||
| "allDeclaredConstructors": true, | ||
| "allPublicConstructors": true, | ||
| "allDeclaredMethods": true, | ||
| "allPublicMethods": true, | ||
| "allDeclaredClasses": true, | ||
| "allPublicClasses": true | ||
| } | ||
| ] |
11 changes: 11 additions & 0 deletions
11
...A-INF/native-image/com.amazonaws/aws-lambda-java-runtime-interface-client/jni-config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| [ | ||
| { | ||
| "name":"com.amazonaws.services.lambda.runtime.api.client.runtimeapi.LambdaRuntimeClientException", | ||
| "methods":[{"name":"<init>","parameterTypes":["java.lang.String","int"] }] | ||
| }, | ||
| { | ||
| "name":"com.amazonaws.services.lambda.runtime.api.client.runtimeapi.dto.InvocationRequest", | ||
| "fields":[{"name":"id"}, {"name":"invokedFunctionArn"}, {"name":"deadlineTimeInMs"}, {"name":"xrayTraceId"}, {"name":"clientContext"}, {"name":"cognitoIdentity"}, {"name": "tenantId"}, {"name":"content"}], | ||
| "allPublicMethods":true | ||
| } | ||
| ] |
1 change: 1 addition & 0 deletions
1
...tive-image/com.amazonaws/aws-lambda-java-runtime-interface-client/native-image.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Args = --initialize-at-build-time=jdk.xml.internal.SecuritySupport |
61 changes: 61 additions & 0 deletions
61
...F/native-image/com.amazonaws/aws-lambda-java-runtime-interface-client/reflect-config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| [ | ||
| { | ||
| "name": "com.amazonaws.lambda.thirdparty.com.fasterxml.jackson.databind.deser.Deserializers[]" | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.lambda.thirdparty.com.fasterxml.jackson.databind.ext.Java7SupportImpl", | ||
| "methods": [{ "name": "<init>", "parameterTypes": [] }] | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.LambdaRuntime", | ||
| "fields": [{ "name": "logger" }] | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.logging.LogLevel", | ||
| "allDeclaredConstructors": true, | ||
| "allPublicConstructors": true, | ||
| "allDeclaredMethods": true, | ||
| "allPublicMethods": true, | ||
| "allDeclaredFields": true, | ||
| "allPublicFields": true | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.logging.LogFormat", | ||
| "allDeclaredConstructors": true, | ||
| "allPublicConstructors": true, | ||
| "allDeclaredMethods": true, | ||
| "allPublicMethods": true, | ||
| "allDeclaredFields": true, | ||
| "allPublicFields": true | ||
| }, | ||
| { | ||
| "name": "java.lang.Void", | ||
| "methods": [{ "name": "<init>", "parameterTypes": [] }] | ||
| }, | ||
| { | ||
| "name": "java.util.Collections$UnmodifiableMap", | ||
| "fields": [{ "name": "m" }] | ||
| }, | ||
| { | ||
| "name": "jdk.internal.module.IllegalAccessLogger", | ||
| "fields": [{ "name": "logger" }] | ||
| }, | ||
| { | ||
| "name": "sun.misc.Unsafe", | ||
| "fields": [{ "name": "theUnsafe" }] | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.api.client.runtimeapi.dto.InvocationRequest", | ||
| "fields": [ | ||
| { "name": "id" }, | ||
| { "name": "invokedFunctionArn" }, | ||
| { "name": "deadlineTimeInMs" }, | ||
| { "name": "xrayTraceId" }, | ||
| { "name": "clientContext" }, | ||
| { "name": "cognitoIdentity" }, | ||
| { "name": "tenantId" }, | ||
| { "name": "content" } | ||
| ], | ||
| "allPublicMethods": true | ||
| } | ||
| ] |
19 changes: 19 additions & 0 deletions
19
.../native-image/com.amazonaws/aws-lambda-java-runtime-interface-client/resource-config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| { | ||
| "resources": { | ||
| "includes": [ | ||
| { | ||
| "pattern": "\\Qjni/libaws-lambda-jni.linux-aarch_64.so\\E" | ||
| }, | ||
| { | ||
| "pattern": "\\Qjni/libaws-lambda-jni.linux-x86_64.so\\E" | ||
| }, | ||
| { | ||
| "pattern": "\\Qjni/libaws-lambda-jni.linux_musl-aarch_64.so\\E" | ||
| }, | ||
| { | ||
| "pattern": "\\Qjni/libaws-lambda-jni.linux_musl-x86_64.so\\E" | ||
| } | ||
| ] | ||
| }, | ||
| "bundles": [] | ||
| } |
25 changes: 25 additions & 0 deletions
25
...ces/META-INF/native-image/com.amazonaws/aws-lambda-java-serialization/reflect-config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| [ | ||
| { | ||
| "name": "com.amazonaws.lambda.thirdparty.com.fasterxml.jackson.databind.deser.Deserializers[]" | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.lambda.thirdparty.com.fasterxml.jackson.databind.ext.Java7HandlersImpl", | ||
| "methods": [{ "name": "<init>", "parameterTypes": [] }] | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.lambda.thirdparty.com.fasterxml.jackson.databind.ext.Java7SupportImpl", | ||
| "methods": [{ "name": "<init>", "parameterTypes": [] }] | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.lambda.thirdparty.com.fasterxml.jackson.databind.ser.Serializers[]" | ||
| }, | ||
| { | ||
| "name": "org.joda.time.DateTime", | ||
| "allDeclaredConstructors": true, | ||
| "allPublicConstructors": true, | ||
| "allDeclaredMethods": true, | ||
| "allPublicMethods": true, | ||
| "allDeclaredClasses": true, | ||
| "allPublicClasses": true | ||
| } | ||
| ] |
20 changes: 20 additions & 0 deletions
20
...resources/META-INF/native-image/software.amazon.lambda.powertools.e2e/reflect-config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| [ | ||
| { | ||
| "name": "software.amazon.lambda.powertools.e2e.Function", | ||
| "allDeclaredConstructors": true, | ||
| "allPublicConstructors": true, | ||
| "allDeclaredMethods": true, | ||
| "allPublicMethods": true, | ||
| "allDeclaredClasses": true, | ||
| "allPublicClasses": true | ||
| }, | ||
| { | ||
| "name": "software.amazon.lambda.powertools.e2e.Input", | ||
| "allDeclaredConstructors": true, | ||
| "allPublicConstructors": true, | ||
| "allDeclaredMethods": true, | ||
| "allPublicMethods": true, | ||
| "allDeclaredClasses": true, | ||
| "allPublicClasses": true | ||
| } | ||
| ] |
7 changes: 7 additions & 0 deletions
7
...esources/META-INF/native-image/software.amazon.lambda.powertools.e2e/resource-config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "resources":{ | ||
| "includes":[{ | ||
| "pattern":"\\Qlog4j2.xml\\E" | ||
| }]}, | ||
| "bundles":[] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...in/resources/META-INF/native-image/com.amazonaws/aws-lambda-java-core/reflect-config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| [ | ||
| { | ||
| "name":"com.amazonaws.services.lambda.runtime.LambdaRuntime", | ||
| "methods":[{"name":"<init>","parameterTypes":[] }], | ||
| "fields":[{"name":"logger"}], | ||
| "allPublicMethods":true | ||
| }, | ||
| { | ||
| "name":"com.amazonaws.services.lambda.runtime.LambdaRuntimeInternal", | ||
| "methods":[{"name":"<init>","parameterTypes":[] }], | ||
| "allPublicMethods":true | ||
| } | ||
| ] |
35 changes: 35 additions & 0 deletions
35
.../resources/META-INF/native-image/com.amazonaws/aws-lambda-java-events/reflect-config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| [ | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent", | ||
| "allDeclaredFields": true, | ||
| "allDeclaredMethods": true, | ||
| "allDeclaredConstructors": true | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent$ProxyRequestContext", | ||
| "allDeclaredFields": true, | ||
| "allDeclaredMethods": true, | ||
| "allDeclaredConstructors": true | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent$RequestIdentity", | ||
| "allDeclaredFields": true, | ||
| "allDeclaredMethods": true, | ||
| "allDeclaredConstructors": true | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent", | ||
| "allDeclaredFields": true, | ||
| "allDeclaredMethods": true, | ||
| "allDeclaredConstructors": true | ||
| }, | ||
| { | ||
| "name": "com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent", | ||
| "allDeclaredConstructors": true, | ||
| "allPublicConstructors": true, | ||
| "allDeclaredMethods": true, | ||
| "allPublicMethods": true, | ||
| "allDeclaredClasses": true, | ||
| "allPublicClasses": true | ||
| } | ||
| ] |
11 changes: 11 additions & 0 deletions
11
...A-INF/native-image/com.amazonaws/aws-lambda-java-runtime-interface-client/jni-config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| [ | ||
| { | ||
| "name":"com.amazonaws.services.lambda.runtime.api.client.runtimeapi.LambdaRuntimeClientException", | ||
| "methods":[{"name":"<init>","parameterTypes":["java.lang.String","int"] }] | ||
| }, | ||
| { | ||
| "name":"com.amazonaws.services.lambda.runtime.api.client.runtimeapi.dto.InvocationRequest", | ||
| "fields":[{"name":"id"}, {"name":"invokedFunctionArn"}, {"name":"deadlineTimeInMs"}, {"name":"xrayTraceId"}, {"name":"clientContext"}, {"name":"cognitoIdentity"}, {"name": "tenantId"}, {"name":"content"}], | ||
| "allPublicMethods":true | ||
| } | ||
| ] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.