Skip to content

Created infrastructure for java21#53

Merged
muhamadto merged 7 commits intomainfrom
java21-infra
Jan 10, 2024
Merged

Created infrastructure for java21#53
muhamadto merged 7 commits intomainfrom
java21-infra

Conversation

@muhamadto
Copy link
Copy Markdown
Owner

@muhamadto muhamadto commented Dec 31, 2023

Hello, Please Review My Pull Request!

description:

  • Run CDK in java 21 with image ghcr.io/muhamadto/spring-native-amazonlinux2-builder:21-amazonlinux2
  • Replaced com.coffeebeans.springnativeawslambda.infra.lambda.CustomRuntime2Function with com.coffeebeans.springnativeawslambda.infra.lambda.CustomRuntime2023FunctionJava21 and updated tests.
  • docker-compose.yml now adopting apigateway functions from ghcr.io/muhamadto/spring-native-amazonlinux2-builder:21-amazonlinux2-awscliv2. However, the lambda is not loading and need some more work.

✔️ Checklist

  • Describe what you did in the pull request description
  • Add Unit and Integration Tests - at least 80% unit tests for new code.
  • Added or updated documentation

@muhamadto muhamadto requested a review from andrew2184 December 31, 2023 12:05
@muhamadto muhamadto force-pushed the java21-infra branch 4 times, most recently from e21dae7 to b20a2c5 Compare December 31, 2023 12:12
@muhamadto muhamadto force-pushed the java21-infra branch 5 times, most recently from aa654c2 to 06ef784 Compare January 6, 2024 13:58
* Run CDK in java 21 with image `ghcr.io/muhamadto/spring-native-amazonlinux2-builder:21-amazonlinux2`
* Replaced `com.coffeebeans.springnativeawslambda.infra.lambda.CustomRuntime2Function` with `com.coffeebeans.springnativeawslambda.infra.lambda.CustomRuntime2023FunctionJava21` and updated tests.
* `docker-compose.yml` now adopting `apigateway` functions from `ghcr.io/muhamadto/spring-native-amazonlinux2-builder:21-amazonlinux2-awscliv2`. However, the lambda is not loading and need some more work.
* Reinstated `native:compile` in `prepare-package` phase. This is to ensure the `spring-native-aws-lambda-function-native-zip.zip` include would include the `spring-native-aws-lambda-function` native executable.

Signed-off-by: matto <muhamadto@gmail.com>
@muhamadto muhamadto changed the base branch from java21 to main January 8, 2024 01:00
# Conflicts:
#	README.md
#	docker-compose.yml
#	spring-native-aws-lambda-function/pom.xml
#	spring-native-aws-lambda-infra/src/main/java/com/coffeebeans/springnativeawslambda/infra/lambda/CustomRuntime2Function.java
#	spring-native-aws-lambda-infra/src/test/java/com/coffeebeans/springnativeawslambda/infra/LambdaTest.java
#	spring-native-aws-lambda-infra/src/test/java/com/coffeebeans/springnativeawslambda/infra/lambda/CustomRuntime2FunctionTest.java
Signed-off-by: matto <muhamadto@gmail.com>
@muhamadto muhamadto force-pushed the java21-infra branch 2 times, most recently from 2dabc50 to 5dda6ac Compare January 10, 2024 07:26
@muhamadto muhamadto linked an issue Jan 10, 2024 that may be closed by this pull request
Signed-off-by: matto <muhamadto@gmail.com>
@sonarqubecloud
Copy link
Copy Markdown

@muhamadto muhamadto merged commit 3f77949 into main Jan 10, 2024
@muhamadto muhamadto deleted the java21-infra branch January 11, 2024 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

create docker-compose file to run the function locally

2 participants