SuccessChanges

Summary

  1. tsk40 Adds REST endpoint to create stories (details)
Commit 36395f68894f7ff55991bb1d9c4b0001a0a8518a by aggarcia3
tsk40 Adds REST endpoint to create stories
This commit adds the necessary REST controller method, in addition to
the related unit and integration tests and DTOs.
The test story matcher was modified to allow ignoring comparing dates,
as when a story is created its creation date is set automatically by the
EJB to the current date, and thus it is not predictable beforehand.
Likewise, I realized that the @ShouldMatchDataSet annotation has an
additional parameter to ignore the unpredictable date column, so let's
get rid of a helper method I implemented in a previous commit to pass
tests.
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/teamB/microstories/rest/StoryResourceRestTest.java (diff)
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teamB/microstories/entities/IsEqualToStory.java (diff)
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/teamB/microstories/rest/StoryResourceUnitTest.java (diff)
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/teamB/microstories/rest/StoryResource.java (diff)
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/teamB/microstories/service/StoryServiceTest.java (diff)
The file was modifiedtests/src/main/resources/datasets/stories-new.xml (diff)
The file was addedrest/src/main/java/es/uvigo/esei/dgss/teamB/microstories/rest/dtos/StoryCreationDto.java (diff)
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/teamB/microstories/service/StoryService.java (diff)