SuccessChanges

Summary

  1. tsk5 Fixes the story service to provide the latest published stories (details)
Commit 4c2644edaeab9c512a5472a1a9c0b68d0cd4b004 by fercamta
tsk5 Fixes the story service to provide the latest published stories
Fixes the sql sentence of the method in service layer to properly return
the 6 most recent published storioes. This method called "last" is
properly renamed to "getRecent". In addition, the service test have been
reworked (involving the datasets) to check the requirements of getting 6
stories and returning those published in order by date. Consequently,
the jsf and rest layers have been adapted to the changes in the method
of service. Finally, it has been corrected the missing of the two topics
in the isEqualToStory class.
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/teama/microstories/domain/Story.java (diff)
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/teama/microstories/jsf/StoryManagedBean.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/StoriesDataset.java (diff)
The file was modifiedtests/src/main/resources/datasets/stories.xml (diff)
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/teama/microstories/rest/StoryResource.java (diff)
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/IsEqualToStory.java (diff)
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/teama/microstories/service/StoryService.java (diff)
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/teama/microstories/service/test/StoryServiceIntegrationTest.java (diff)