Description / Background
Under parent issue:
Follows up from:
We'd like to be able to use a REST API to add a Sleeper table to an instance.
Acceptance Criteria
Given I create a configuration for a Sleeper table
When I call the REST API to add the table
Then the table is created
And the state store is initialised
And I am able to add data to the table
Given I create a Sleeper table
When I call the REST API to add the same table again
Then it fails because the table already exists
Technical Notes / Implementation Details
This is in RestApiStack and RestApiLambda. The behaviour should be similar to the class AddTable.
Description / Background
Under parent issue:
Follows up from:
We'd like to be able to use a REST API to add a Sleeper table to an instance.
Acceptance Criteria
Given I create a configuration for a Sleeper table
When I call the REST API to add the table
Then the table is created
And the state store is initialised
And I am able to add data to the table
Given I create a Sleeper table
When I call the REST API to add the same table again
Then it fails because the table already exists
Technical Notes / Implementation Details
This is in RestApiStack and RestApiLambda. The behaviour should be similar to the class AddTable.