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 modifieddomain/src/test/java/es/uvigo/esei/dgss/letta/domain/entities/UserTest.java (diff)
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/UserResource.java (diff)
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/UserResourceUnitTest.java (diff)
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/letta/service/EventEJB.java (diff)
The file was modifiedrest/src/test/resources/web.xml (diff)
The file was modifiedrest/src/main/webapp/WEB-INF/web.xml (diff)
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/EventResourceRestTest.java (diff)
The file was modifiedjsf/src/main/java/es/uvigo/esei/dgss/letta/jsf/ModifyEventController.java (diff)
The file was addedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/util/RestIntegrationTestBuilder.java (diff)
The file was addedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/util/RestIntegrationTestUtils.java (diff)
The file was addedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/util/mappers/EJBAccessExceptionMapper.java (diff)
The file was removedrest/src/test/resources-wildfly-embedded-h2/beans.xml (diff)
The file was addedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/JaxRsActivator.java (diff)
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/EventResource.java (diff)
The file was modifiedrest/src/main/java/es/uvigo/esei/dgss/letta/rest/util/mappers/SecurityExceptionMapper.java (diff)
The file was modifieddomain/src/main/java/es/uvigo/esei/dgss/letta/domain/entities/User.java (diff)
The file was modifieddomain/src/test/java/es/uvigo/esei/dgss/letta/domain/entities/EventTest.java (diff)
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/EventResourceUnitTest.java (diff)
The file was addedrest/src/test/resources-wildfly-embedded-h2/beans-mailer.xml (diff)
The file was modifiedrest/src/test/java/es/uvigo/esei/dgss/letta/rest/UserResourceRestTest.java (diff)