DynamoDB-backed Spring Boot service for Entity A/B/C (Spring Boot 3.5.7, Java 21) - #1
Open
bolo-van wants to merge 2 commits into
Open
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
Description
3.5.7and added a Java toolchain for Java21, plus AWS SDK v2 DynamoDB and the DynamoDB Enhanced client inbuild.gradle.DynamoDbConfigand table name binding inDynamoDbTableProperties, and addedapplication.propertieskeys for region, table names, and optional endpoint.EntityA,EntityB,EntityC) annotated for the Enhanced client, repository classes that wrapDynamoDbTable, services that handle creation/fetching, and REST controllers plus request DTOs for each entity (endpoints:POST /api/entity-a|b|candGET /api/entity-a|b|c/{id}).README.mdwith DynamoDB configuration and API usage notes (including the decision to use separate tables).Testing
./gradlew testto run tests once added and./gradlew bootRunto start the application for manual verification.Codex Task