<mavenModuleSetBuild _class='hudson.maven.MavenModuleSetBuild'><action _class='hudson.model.CauseAction'><cause _class='hudson.triggers.SCMTrigger$SCMTriggerCause'><shortDescription>Started by an SCM change</shortDescription></cause></action><action></action><action></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><origindevelop _class='hudson.plugins.git.util.Build'><buildNumber>40</buildNumber><marked><SHA1>2ce7965e018a3ab3d12cdc011d5a578bfa29cd8a</SHA1><branch><SHA1>2ce7965e018a3ab3d12cdc011d5a578bfa29cd8a</SHA1><name>origin/develop</name></branch></marked><revision><SHA1>2ce7965e018a3ab3d12cdc011d5a578bfa29cd8a</SHA1><branch><SHA1>2ce7965e018a3ab3d12cdc011d5a578bfa29cd8a</SHA1><name>origin/develop</name></branch></revision></origindevelop></buildsByBranchName><lastBuiltRevision><SHA1>2ce7965e018a3ab3d12cdc011d5a578bfa29cd8a</SHA1><branch><SHA1>2ce7965e018a3ab3d12cdc011d5a578bfa29cd8a</SHA1><name>origin/develop</name></branch></lastBuiltRevision><remoteUrl>http://sing-group.org/dt/gitlab/dgss-2526-teamA/microstories.git</remoteUrl><scmName></scmName></action><action _class='hudson.plugins.git.GitTagAction'></action><action></action><action></action><action _class='hudson.maven.reporters.MavenAggregatedArtifactRecord'></action><action _class='hudson.maven.reporters.SurefireAggregatedReport'><failCount>1</failCount><skipCount>0</skipCount><totalCount>1</totalCount><urlName>testReport</urlName></action><action></action><action></action><action></action><action></action><building>false</building><displayName>#40</displayName><duration>86797</duration><estimatedDuration>250022</estimatedDuration><fullDisplayName>microstories-2526-teamA #40</fullDisplayName><id>40</id><keepLog>false</keepLog><number>40</number><queueId>42</queueId><result>UNSTABLE</result><timestamp>1762197250202</timestamp><url>http://sing.ei.uvigo.es/dt/jenkins/user/prosi/my-views/view/All/job/microstories-2526-teamA/40/</url><builtOn></builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tests/src/main/resources/scripts/cleanup.sql</affectedPath><affectedPath>tests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/IsEqualToStory.java</affectedPath><affectedPath>rest/src/test/resources/test-persistence.xml</affectedPath><affectedPath>tests/src/main/resources/stories.xml</affectedPath><affectedPath>tests/src/main/resources/datasets/stories.xml</affectedPath><affectedPath>service/src/main/java/es/uvigo/esei/microstories/mappers/StoryMapper.java</affectedPath><affectedPath>rest/src/test/resources/web.xml</affectedPath><affectedPath>tests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/StoriesDataset.java</affectedPath><affectedPath>rest/src/test/java/es/uvigo/esei/microstories/rest/GenericTypes.java</affectedPath><affectedPath>rest/src/test/java/es/uvigo/esei/microstories/rest/StoryResourceRestTest.java</affectedPath><affectedPath>rest/src/test/java/es/uvigo/esei/microstories/rest/ResourceUnitTestSuite.java</affectedPath><affectedPath>rest/src/test/resources/beans.xml</affectedPath><commitId>2ce7965e018a3ab3d12cdc011d5a578bfa29cd8a</commitId><timestamp>1762197050000</timestamp><author><absoluteUrl>http://sing.ei.uvigo.es/dt/jenkins/user/devpablogg</absoluteUrl><fullName>devpablogg</fullName></author><authorEmail>devpablogg@gmail.com</authorEmail><comment>tsk8: Implements REST tests for recent stories
This commit introduces REST integration tests for the
`/api/microstories/recents` endpoint, verifying that the service
correctly retrieves and orders the 6 most recent stories. To ensure
consistent results, the timestamp handling in `StoriesDataset` and the
XML datasets was adjusted to align with DBUnit expectations. The dataset
files now use SQL-style timestamps (`yyyy-MM-dd HH:mm:ss`), and
`StoriesDataset` uses
`LocalDateTime` instead of `Instant.parse()` to avoid timezone
discrepancies. The dataset file was moved to the datasets/ directory,
matching the framework’s default lookup path. Additionally, a
cleanup.sql script was introduced to clear test tables between
executions, ensuring isolation and preventing residual data issues.
</comment><date>2025-11-03 20:10:50 +0100</date><id>2ce7965e018a3ab3d12cdc011d5a578bfa29cd8a</id><msg>tsk8: Implements REST tests for recent stories</msg><path><editType>add</editType><file>tests/src/main/resources/scripts/cleanup.sql</file></path><path><editType>edit</editType><file>service/src/main/java/es/uvigo/esei/microstories/mappers/StoryMapper.java</file></path><path><editType>add</editType><file>rest/src/test/java/es/uvigo/esei/microstories/rest/StoryResourceRestTest.java</file></path><path><editType>add</editType><file>rest/src/test/java/es/uvigo/esei/microstories/rest/ResourceUnitTestSuite.java</file></path><path><editType>edit</editType><file>rest/src/test/resources/test-persistence.xml</file></path><path><editType>edit</editType><file>tests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/IsEqualToStory.java</file></path><path><editType>edit</editType><file>rest/src/test/resources/web.xml</file></path><path><editType>edit</editType><file>tests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/StoriesDataset.java</file></path><path><editType>add</editType><file>tests/src/main/resources/datasets/stories.xml</file></path><path><editType>add</editType><file>rest/src/test/java/es/uvigo/esei/microstories/rest/GenericTypes.java</file></path><path><editType>delete</editType><file>tests/src/main/resources/stories.xml</file></path><path><editType>edit</editType><file>rest/src/test/resources/beans.xml</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>http://sing.ei.uvigo.es/dt/jenkins/user/devpablogg</absoluteUrl><fullName>devpablogg</fullName></culprit><mavenArtifacts></mavenArtifacts><mavenVersionUsed>3.6.3</mavenVersionUsed></mavenModuleSetBuild>