SuccessChanges

Summary

  1. tsk39 Refactors REST layer and its tests (details)
Commit b525b000d6a6ea8a5106b82bd64e2bddeac7a5fc by agjacome
tsk39 Refactors REST layer and its tests
REST layer base route configuration has been moved out of 'web.xml'
files and onto a new JaxRsActivator class. With this, paths can be
extracted programatically from tests, without the need to hard-code the
different resource paths as Strings. New utils for REST testing have
also been added and existing tests refactored to use them.
Some methods have also been moved from UserResource to EventResource, as
they are mostly related with Events and not with Users.
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/EventResourceUnitTest.java
The file was modifiedrest/src/test/resources/web.xml
The file was addedrest/src/test/resources-wildfly-embedded-h2/beans-mailer.xml
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/UserResourceUnitTest.java
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/EventResourceRestTest.java
The file was addedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/util/mappers/EJBAccessExceptionMapper.java
The file was modifiedrest/src/main/webapp/WEB-INF/web.xml
The file was addedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/util/RestIntegrationTestUtils.java
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/UserResourceRestTest.java
The file was addedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/JaxRsActivator.java
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/letta/jsf/ModifyEventController.java
The file was addedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/util/RestIntegrationTestBuilder.java
The file was modifieddomain/src/test/java/es/uvigo/esei/dgss/letta/domain/entities/EventTest.java
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/util/mappers/SecurityExceptionMapper.java
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/letta/service/EventEJB.java
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/User.java
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/UserResource.java
The file was removedrest/src/test/resources-wildfly-embedded-h2/beans.xml
The file was modifieddomain/src/test/java/es/uvigo/esei/dgss/letta/domain/entities/UserTest.java
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/EventResource.java