SuccessChanges

Summary

  1. tsk21 Modifies the method for counting the number of visits of a Story (details)
  2. tsk21 Adds resource to get the most read stories (details)
  3. tsk21 Adds the necessary tests for the new resource (details)
Commit f7c4697c1b239174e9920b5a6a225e0d10a9b729 by yruben98
tsk21 Modifies the method for counting the number of visits of a Story
Modifies the way of counting the number of visits to be sent, only those
carried out in the current month are taken into account.
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/teamB/microstories/rest/dtos/StoryDto.java (diff)
Commit 7763c05b7dcc73970a9f4a993a4926ac8dd82768 by yruben98
tsk21 Adds resource to get the most read stories
Add the resource in the path /microstory/hottest
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/teamB/microstories/rest/StoryResource.java (diff)
Commit c0fdcc4fb67b1f7a664246acdab1bcacbc54b99c by yruben98
tsk21 Adds the necessary tests for the new resource
Adds unit and resource tests to ensure good behavior
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teamB/microstories/entities/StoriesDataset.java (diff)
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/teamB/microstories/rest/StoryResourceRestTest.java (diff)
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/teamB/microstories/rest/StoryResourceUnitTest.java (diff)