This PR introduces a start-up check for the carts service that verifies a query can be executed on the DynamoDB table if it is enabled. This provides quicker feedback in the event of misconfiguration, and also formats the feedback in a manner that is easier to understand via a Spring FailureAnalyzer.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes:
This PR introduces a start-up check for the carts service that verifies a query can be executed on the DynamoDB table if it is enabled. This provides quicker feedback in the event of misconfiguration, and also formats the feedback in a manner that is easier to understand via a Spring
FailureAnalyzer
.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.