SuccessChanges

Summary

  1. tsk24: Implements User entity and story authorship (details)
Commit 273348a5338421b8c491c289f449af3b9b9b6416 by devpablogg
tsk24: Implements User entity and story authorship
A new User entity has been introduced to represent application users,
including properties for authentication and role management via a new
UserType enum. The Story entity was updated to establish a mandatory
Many-to-One relationship with the User, representing the author of the
content. This change involved updating the database schema definitions
to include the user table and foreign key constraints, as well as
modifying the data insertion scripts. Additionally, unit tests for the
new entity were created, and existing integration tests and datasets
were adjusted to account for the required author association.
The file was addedtests/src/main/resources/datasets/users.xml (diff)
The file was modifiedadditional-material/db/microstories-mysql.creation.sql (diff)
The file was modifieddomain/src/main/java/es/uvigo/esei/microstories/domain/entities/Story.java (diff)
The file was modifieddomain/src/test/java/es/uvigo/esei/microstories/domain/entities/StoryTest.java (diff)
The file was modifiedservice/src/main/resources/META-INF/persistence.xml (diff)
The file was modifiedadditional-material/db/microstories-mysql.data.sql (diff)
The file was modifiedadditional-material/db/microstories-mysql.full.sql (diff)
The file was addeddomain/src/main/java/es/uvigo/esei/microstories/domain/entities/User.java (diff)
The file was modifiedtests/src/main/resources/scripts/cleanup.sql (diff)
The file was modifiedadditional-material/db/microstories-mysql.delete.sql (diff)
The file was modifiedservice/src/test/java/es/uvigo/esei/microstories/services/StoryServiceIntegrationTest.java (diff)
The file was modifiedadditional-material/db/microstories-mysql.drop.sql (diff)
The file was modifiedtests/src/main/resources/datasets/stories.xml (diff)
The file was modifiedservice/src/test/resources-wildfly-embedded-h2/cleanup-autoincrement-stories.sql (diff)
The file was addeddomain/src/test/java/es/uvigo/esei/microstories/domain/entities/UserTest.java (diff)
The file was addeddomain/src/main/java/es/uvigo/esei/microstories/domain/types/UserType.java (diff)
The file was modifiedrest/src/test/java/es/uvigo/esei/microstories/rest/StoryResourceRestTest.java (diff)