SuccessChanges

Summary

  1. tsk5 Changes id generation, adds class Story to persistence.xml file, (details)
Commit 1e41c576924567f1dc6b00e1617c0327f24184e3 by jspilva17
tsk5 Changes id generation, adds class Story to persistence.xml file,
create StoryEJB, adds testEJB and fix stories.xml and stories DataSet
The id changes are mades to avoid the creation of a table calls
hibernate. In the persistence.xml (service), the story class adds to
creates in DB. Adds StoryEJB ,this contains a method to get 6 recent
stories. Also,adds TestStoryEJB and TestSuite adds configuration to test
method getRecentStories from StoryEJB. On StoryDataset adds method
recent Stories to get last 6 Stories to compares to method
getRecentStories in the TestStoryEJB.
Fixes: stories.xml (adds six correct dates). Theme.java add correct
enum, changes story for HISTORIC, SCIFI for SCIENCE_FICTION and CHILDISH
for CHILD.
The file was addedrest/dgss2223-teamA-microstories-rest.iml (diff)
The file was addedservice/src/test/java/es/uvigo/esei/dgss/teama/microstories/service/TestStoryEJB.java (diff)
The file was addeddomain/dgss2223-teamA-microstories-domain.iml (diff)
The file was addedjsf/dgss2223-teamA-microstories-jsf.iml (diff)
The file was addedservice/src/test/resources-wildfly-embedded-h2/test-persistence.xml (diff)
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/StoryDataset.java (diff)
The file was addedtests/dgss2223-teamA-microstories-tests.iml (diff)
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/Story.java (diff)
The file was addedservice/dgss2223-teamA-microstories-service.iml (diff)
The file was modifiedtests/src/main/resources/datasets/stories.xml (diff)
The file was addedear/dgss2223-teamA-microstories-ear.iml (diff)
The file was addedservice/src/test/java/es/uvigo/esei/dgss/teama/microstories/service/ServiceIntegrationTestSuite.java (diff)
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/IsEqualToStory.java (diff)
The file was modifiedservice/src/test/resources/beans.xml (diff)
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/Theme.java (diff)
The file was addedservice/src/main/java/es/uvigo/esei/dgss/teama/microstories/service/StoryEJB.java (diff)
The file was modifiedservice/src/main/resources/META-INF/persistence.xml (diff)