-
Notifications
You must be signed in to change notification settings - Fork 0
phase2 demo
Pedro Felix edited this page Apr 29, 2016
·
1 revision
- Clone the group repo to a new folder.
- Checkout the phase 2 tag.
- Use gradle to clean the project.
- Build project and run tests with gradle.
- Use gradle to clean the project.
- Run tests again.
- Run the application with the
Nothing
argument. - Run
OPTIONS
command directly from the console (not from inside the application). Ensure the application ends after showing the available commands. - List movies directly from the console. Ensure the application ends after showing an empty list.
- Start the application without any parameters and execute the following commands from inside the application.
- Add three movies to the catalog
- Try to add another without a releaseYear
- List all movies, for each one of the following options:
-
text/plain
- output directly to the console. -
text/html
- output to a file. - without headers - Sorted descending by the date the movie was added to the catalog.
-
- Submit ratings for the first movie added:
- rating 3 - 1 vote
- rating 5 - 3 votes
- try rating 7
- Show the rating average and the number of votes for each rating value of the previous movie
- Create two reviews for the second movie, with rating values 1 and 4
- List all reviews for the two movies using the
text/html
format and the a file output - Show the details for the movie with the lower average rating
- List the 2 movies with higher review count
- List movies using the
text/html
format and paging parameters top=2 and skip=1 - List the movies using a page of length 2, going through all the pages, and using the following sort orders:
-
addedData
- sorted by the date the movie was added to the catalog -
yearDesc
- sorted descending by the year the movie was released -
title
- sorted by the movie title. -
ratingDesc
- sorted descending by the movie rating.
- Create two collections
- Add two movies to the second collection
- List collections, using the
text/plain
format - List the movies in the second collection, using the
text/html
format - Remove one movie from the second collection
- List again the movies in the second collection, using the
text/html
format - Exit the application.