remove stale comments from addNode

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
add tests for consumer mirror api (GET only)

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
abstract the response type of the get request to make it configurable

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
added tests for update mirror + refactored request json in tests

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
added test for deleting a mirror

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
id field in mirror database should be integer (which is auto-incremented, thus 1 for tests)

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
added additional fields for mirror: name and provider

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
updated patch-api for mirrors from /v1/mirrors -> /v1/mirrors/<id>

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
use the plural of mirrors when deleting an item

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
updated test server to create the mirror object and return the new object's ID

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
changed mirror specs from url -> uri for consistency

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
added implementation for creating a new mirror

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
made the default initialization parameters for mirror creation empty; use member names to assign values instead

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
added the rest endpoint for reading all mirrors

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
added implementation for creating a mirror

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
fixed test methods to correctly send json data with post/patch/put requests

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
implemented method to update mirror data of a specific mirror

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
added restful implementation for updating mirror data for a specific mirror

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
split route to mirrors/<id> by patch and delete for updating and deleting an object

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
implemented method to remove a mirror from the database

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>