SuccessChanges

Summary

  1. tsk29-32 Refactors Event and completes EventTest (details)
Commit 4a10e0be753111ad7848068246295d56dfe3411c by agjacome
tsk29-32 Refactors Event and completes EventTest
Event entity has been completely refactored, deleting the only
bidirectional relationship with the User in the User side and keeping
only the Event side. Names and types of some fields have also been
changed, and JPA converters and XML Adapters (for JSON serialization)
have been created where required. EventTest has been completed, using a
new EventParameters util class.
As this causes lots of  breaking changes, all the upper layers and
datasets had to also be updated, including the SQL creation scripts.
The file was modifiedtests/src/main/resources/datasets/events-less-than-twenty.xml
The file was modifiedpom.xml
The file was modifiedjsf/src/main/webapp/listJoinedEvents.xhtml
The file was modifiedadditional-material/db/letta.full.sql
The file was addeddomain/src/test/java/es/uvigo/esei/dgss/letta/domain/entities/EventParameters.java
The file was modifieddomain/src/test/java/es/uvigo/esei/dgss/letta/domain/entities/UserTest.java
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/User.java
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/EventResourceRestTest.java
The file was removedtests/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/IsEqualsToRegistration.java
The file was modifieddomain/src/test/java/es/uvigo/esei/dgss/letta/domain/entities/EventTest.java
The file was addedtests/src/main/java/es/uvigo/esei/dgss/letta/domain/matchers/IsEqualToEntity.java
The file was removedtests/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/IsEqualsToEntity.java
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/letta/jsf/JoinEventController.java
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/letta/service/UserAuthorizationEJBTest.java
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/EventResource.java
The file was addedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/util/filters/CORSFilter.java
The file was removeddomain/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/EventType.java
The file was modifiedtests/src/main/resources/datasets/events-less-than-five.xml
The file was removedtests/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/IsEqualToEvent.java
The file was modifiedtests/src/main/resources/datasets/events.xml
The file was removedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/util/mapper/SecurityExceptionMapper.java
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/letta/jsf/CreateEventController.java
The file was removedtests/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/IsEqualsToUser.java
The file was modifiedadditional-material/db/letta.test.sql
The file was addedtests/src/main/java/es/uvigo/esei/dgss/letta/domain/matchers/IsEqualToUser.java
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/letta/jsf/util/EventMappings.java
The file was removedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/util/mapper/CORSFilter.java
The file was removedtests/src/main/resources/datasets/users-create-event.xml
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/letta/jsf/UserPrivateController.java
The file was addeddomain/src/main/java/es/uvigo/esei/dgss/letta/domain/util/adapters/LocalDateTimeAdapter.java
The file was modifieddomain/pom.xml
The file was removedtests/src/main/resources/datasets/user-joins-event.xml
The file was addedtests/src/main/resources/datasets/new-event.xml
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/EventsDataset.java
The file was removedtests/src/main/resources/datasets/anne-joins-event-15.xml
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/UserUnitTest.java
The file was addedtests/src/main/java/es/uvigo/esei/dgss/letta/domain/matchers/IsEqualToRegistration.java
The file was addeddomain/src/main/java/es/uvigo/esei/dgss/letta/domain/util/converters/InternetAddressConverter.java
The file was addeddomain/src/main/java/es/uvigo/esei/dgss/letta/domain/util/annotations/VisibleForJPA.java
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/Event.java
The file was modifiedjsf/src/main/webapp/user_private.xhtml
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/UserPrivateRest.java
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/letta/service/EventEJB.java
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/letta/jsf/IndexPageController.java
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/letta/service/util/ServiceIntegrationTestBuilder.java
The file was modifiedjsf/src/main/webapp/searchResults.xhtml
The file was addedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/util/mappers/SecurityExceptionMapper.java
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/UserRestTest.java
The file was addedtests/src/main/java/es/uvigo/esei/dgss/letta/domain/matchers/IsEqualToEvent.java
The file was modifiedjsf/src/main/webapp/index.xhtml
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/letta/service/util/exceptions/EventAlredyJoinedException.java
The file was addedtests/src/main/resources/datasets/anne-attends-event-15.xml
The file was modifiedtests/src/main/resources/scripts/cleanup.sql
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/EventResourceUnitTest.java
The file was addeddomain/src/main/java/es/uvigo/esei/dgss/letta/domain/util/annotations/VisibleForTesting.java
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/letta/jsf/ListJoinedEventsController.java
The file was removedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/util/mapper/IllegalArgumentExceptionMapper.java
The file was addedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/util/mappers/IllegalArgumentExceptionMapper.java
The file was addeddomain/src/main/java/es/uvigo/esei/dgss/letta/domain/util/converters/LocalDateTimeConverter.java
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/letta/jsf/EventSearchController.java
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/letta/service/EventEJBTest.java
The file was addedtests/src/main/resources/datasets/event-attendees.xml