You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a sample project that has the quarkus-smallrye-graphql & quarkus-amazon-lambda-rest dependencies to test how would the integration look like. I'm planning on putting it in an AWS APIGateway and that worked just fine but when I try to inject the request context variables from API Gateway, I get nothing.
I attached my sample project. It's pretty barebones, just trying to get it to print the context.
I have successfully deployed it to an aws apigateway using the container native runtime and everything works except the context variables.
geoand
changed the title
Small-rye + lambda extension is not injecting any request context variables
Smallrye + lambda extension is not injecting any request context variables
Sep 28, 2023
Describe the bug
Hi everyone,
I created a sample project that has the quarkus-smallrye-graphql & quarkus-amazon-lambda-rest dependencies to test how would the integration look like. I'm planning on putting it in an AWS APIGateway and that worked just fine but when I try to inject the request context variables from API Gateway, I get nothing.
I attached my sample project. It's pretty barebones, just trying to get it to print the context.
I have successfully deployed it to an aws apigateway using the container native runtime and everything works except the context variables.
Appreciate any guidance or help with this!
Thanks
sample project.zip
Expected behavior
Context variables should get injected
Actual behavior
I don't get any of the context variables in my output
How to Reproduce?
as the body
Output of
uname -a
orver
No response
Output of
java -version
Java(TM) SE Runtime Environment Oracle GraalVM 17.0.8+9.1 (build 17.0.8+9-LTS-jvmci-23.0-b14)
GraalVM version (if different from Java)
GraalVM 17.0.8+9.1
Quarkus version or git rev
3.4.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)cmd /c call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat" && mvn install -Dnative -DskipTests -Dquarkus.native.container-build=true -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:22.3-java17
Additional information
No response
The text was updated successfully, but these errors were encountered: