Getting started with Spring Boot, DynamoDB, Spring Cloud AWS, and AWS Java SDK version 2. Write DynamoDB dynamic queries with DynamoDbTemplate. Seed DynamoDB data to run your Integration Tests with Testcontainers and Docker - Complete Source Code
Complete source code for the content / guide / tutorial covered at:
https://tech.asimio.net/2024/10/28/spring-boot-dynamodb-aws-java-sdk-spring-cloud-aws-starter-dynamic-queries-dynamodbtemplate.html
Getting started with Spring Boot, DynamoDB, Spring Cloud AWS, and AWS Java SDK version 2.
Write DynamoDB dynamic queries with DynamoDbTemplate.
Seed DynamoDB table data and run integration tests for your Spring Boot applications with Testcontainers.
Your team uses Java, Spring Boot, and Amazon DynamoDB to write functional requirements.
Is the team running integration tests to verify that DynamoDB interactions go as expected?
The Spring Boot application source code you'll get with this purchase could save your team one or two 2-weeks Sprints worth of time and costs by starting with a fully working code base.
What does the source code include?
- A RESTful controller, business logic, and repository classes to interact with a DynamoDB table.
- A custom Spring TestExecutionListener implementation that adds support to seed DynamoDB data from JSON files.
- A working integration test class with a handful of tests that seed data using different strategies.
Class-level support, Method-level annotations support similar to @SqlGroup, @Sql annotations to specify how to seed a DynamoDB table, including Global Secondary Indexes. - The integration test class might use an existing DynamoDB instance, or might start new amazon/dynamodb-local Docker containers via Testcontainers, using a random, available port.
- A custom Jupiter/JUnit 5 callback extension implementation to reuse the same DynamoDB Docker container across all integration test classes, helping your organization to reduce your tests suite execution time.
A fully working Spring Boot application source code that gets you started with DynamoDB, AWS Java SDK version 2 and dynamic queries using DynamoDbTemplate. Seed DynamoDB data to run your Integration Tests with Testcontainers and Docker.