Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Administrator can perform CRUD through REST on Item #11

Closed
gary-rowe opened this issue May 29, 2012 · 0 comments
Closed

Administrator can perform CRUD through REST on Item #11

gary-rowe opened this issue May 29, 2012 · 0 comments

Comments

@gary-rowe
Copy link
Owner

In order to administer the Item entity
As an Administrator
I want to perform CRUD operations

Estimated time (days): 2

Acceptance Criteria

Scenario 1: Developer level acceptance
Given a running MBM platform
And a local in-memory database
When a GET request against /item is issued with admin credentials
Then the response will contain a HAL representation of all Items owned by the admin
Done?

Scenario 2: Developer level acceptance
Given a running MBM platform
And a local in-memory database
When a POST request against /item is issued with admin credentials
And the request contains a valid CreateItem entity represented in HAL
Then the response will contain a HAL representation of the new Item
Done?

Scenario 3: Developer level acceptance
Given a running MBM platform
And a local in-memory database
When a PUT request against /item/{itemId} is issued with admin credentials
And the request contains a valid UpdateItem entity represented in HAL
Then the response will contain a HAL representation of the updated Item
Done?

Scenario 4: Developer level acceptance
Given a running MBM platform
And a local in-memory database
When a DELETE request against /item/{itemId} is issued with admin credentials
Then the response will contain a confirmation of the delete
Done?

@ghost ghost assigned gary-rowe Sep 28, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant