SuccessChanges

Summary

  1. tsk81 Updates method to get favorites filtered by title (details)
Commit 61b8e6cee60a044bc2dd044ec5c53408ae6c5a4d by martinperez.patricia
tsk81 Updates method to get favorites filtered by title
The REST method to get the favorites of a user has been modified in
order to be able to filter them by the title. The filter is applied on
the favourite list of the AuthorEntity, instead of querying the
database. In addition, a test for this method has been added to check if
the filter works as expected. For this, a favorite list of the logged in
user was added to the StoryDataset.
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/teama/microstories/rest/StoryResource.java (diff)
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/teama/microstories/service/AuthorEJB.java (diff)
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/teama/microstories/rest/StoryResourceRestTest.java (diff)
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/StoryDataset.java (diff)