Added testCase for all Services
This commit is contained in:
committed by
giuseppe.bueti
parent
09c853477e
commit
6263054087
@@ -17,6 +17,12 @@ public interface ServicesInterface {
|
||||
Movie movieByImdbID(@QueryParam("imdbID") String imdbID);
|
||||
|
||||
|
||||
@GET
|
||||
@Path("/listmovies")
|
||||
@Produces({"application/json"})
|
||||
List<Movie> listMovies();
|
||||
|
||||
|
||||
@POST
|
||||
@Path("/addmovie")
|
||||
@Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML})
|
||||
@@ -34,9 +40,5 @@ public interface ServicesInterface {
|
||||
Response deleteMovie(@QueryParam("imdbID") String imdbID);
|
||||
|
||||
|
||||
@GET
|
||||
@Path("/listmovies")
|
||||
@Produces({"application/json"})
|
||||
List<Movie> listMovies();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user