Description / Background
We'd like some client code to call the REST API to add a Sleeper table. This should be usable in users' application code, and for system tests.
Technical Notes / Implementation Details
This can sit in the clients module. It can use the same SerDe code that's used by the REST API implementation.
We can test this with WireMock, since we can't reproduce API Gateway in tests. We can point to WireMock by setting the CDK-defined instance property sleeper.rest.api.url in a test.
Description / Background
We'd like some client code to call the REST API to add a Sleeper table. This should be usable in users' application code, and for system tests.
Technical Notes / Implementation Details
This can sit in the clients module. It can use the same SerDe code that's used by the REST API implementation.
We can test this with WireMock, since we can't reproduce API Gateway in tests. We can point to WireMock by setting the CDK-defined instance property
sleeper.rest.api.urlin a test.