SuccessChanges

Summary

  1. tsk20 Adds get most readed functionality to service (details)
Commit 87f1e7dbea153cddd61f4d5cd38c950c51f6bbb5 by fercamta
tsk20 Adds get most readed functionality to service
Adds get most readed functionality, that's returning the two most readed
stories from each type in a date range, orded by number of reads and
publication date. The method accepts two paremeters according to initial
and final date. Due to this, adds number of reads field to the entity,
and modifies entity tests, dataset and sql files, as well as the matcher
to adapt them.
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/StoriesDataset.java (diff)
The file was modifieddomain/src/test/java/es/uvigo/esei/dgss/teama/microstories/domain/entities/StoryTest.java (diff)
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/teama/microstories/service/test/StoryServiceIntegrationTest.java (diff)
The file was modifiedadditional-material/db/microstories-mysql.data.sql (diff)
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/IsEqualToStory.java (diff)
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/teama/microstories/domain/Story.java (diff)
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/teama/microstories/service/StoryService.java (diff)
The file was modifiedtests/src/main/resources/datasets/stories.xml (diff)
The file was modifiedadditional-material/db/microstories-mysql.creation.sql (diff)