SuccessChanges

Summary

  1. tsk19 (Fix) Changes how story views are registered (details)
Commit 38d8d601bb4e301d3710339a1c18998ce3344944 by mvaugusto
tsk19 (Fix) Changes how story views are registered
Adds entity View, with its tests, that tracks when each view was created
and updates sql script for automatic data insertion after deployment. It
changes how REST sends stories, using a DTO instead of a Story, in order
to prevent LazyInitializationException when retrieving data. Finally, it
updates all tests and datasets, add its required matchers, so they keep
working after the entity changes.
The file was addedrest/src/test/java/es/uvigo/esei/dgss/teamc/microstories/rest/IsEqualToStoryDTO.java
The file was addedtests/src/main/java/es/uvigo/esei/dgss/teamc/microstories/entities/IsEqualToView.java
The file was modifieddomain/src/main/resources/META-INF/data.sql
The file was modifiedtests/src/main/resources/datasets/stories-remove.xml
The file was modifiedtests/src/main/resources/datasets/stories-search.xml
The file was modifieddomain/src/test/java/es/uvigo/esei/dgss/teamc/microstories/entities/EntitiesTestSuite.java
The file was addeddomain/src/main/java/es/uvigo/esei/dgss/teamc/microstories/entities/View.java
The file was modifieddomain/src/test/java/es/uvigo/esei/dgss/teamc/microstories/entities/StoryTest.java
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/teamc/microstories/rest/GenericTypes.java
The file was modifiedtests/src/main/resources/datasets/stories-create.xml
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/teamc/microstories/service/StoryServiceIntegrationTest.java
The file was modifieddomain/src/main/resources/META-INF/persistence.xml
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teamc/microstories/entities/StoriesDataset.java
The file was addedrest/src/main/java/es/uvigo/esei/dgss/teamc/microstories/rest/StoryDTO.java
The file was modifiedservice/src/main/resources/META-INF/persistence.xml
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/teamc/microstories/rest/StoryResourceRestTest.java
The file was modifiedtests/src/main/resources/datasets/stories.xml
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/teamc/microstories/rest/StoryResource.java
The file was addeddomain/src/test/java/es/uvigo/esei/dgss/teamc/microstories/entities/ViewTest.java
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/teamc/microstories/rest/StoryResourceUnitTest.java
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/teamc/microstories/service/StoryService.java
The file was modifiedtests/src/main/resources/datasets/stories-update.xml
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/teamc/microstories/entities/Story.java
The file was modifiedtests/src/main/resources/datasets/stories-less-than-six.xml