1. 27 Feb, 2017 3 commits
  2. 26 Feb, 2017 9 commits
  3. 16 Feb, 2017 3 commits
  4. 08 Feb, 2017 4 commits
  5. 07 Feb, 2017 4 commits
    • Administrator's avatar
      Adds automatic deployment capabilities to Tomcat execution · b0904247
      Administrator authored
      The run-tomcat-mysql allows the execution of the project in a Tomcat 8 server
      with a MySQL database through the "cargo:run" or "cargo:start" goals. This
      commit adds the fizzed-watcher-maven-plugin to provide the project with
      automatic redeployment when using the aforementioned profile.
      
      For example, executing the Maven command the application will be served in a
      Tomcat server an automatically redeployed when any file changes:
      
      mvn -DskipTest=true -Prun-tomcat-mysql cargo:start fizzed-watcher:run
      b0904247
    • Administrator's avatar
      Updates the POM configuration · 8696114a
      Administrator authored
      This commit updates the dependency and plugin versions in the POM file.
      The most important update is the one relative to Selenium, as recent
      Firefox browsers do not work with old Selenium Firefox drivers. Now,
      during the construction, the Gecko driver is downloaded to work with
      recent Firefox browsers.
      8696114a
    • Administrator's avatar
      Fixes the login token in PeopleWebTest · 9addf09a
      Administrator authored
      The login token was incorrectly set to "admin:admin" instead of
      "admin:adminpass". This commit fixes this and sets the valid token
      value.
      9addf09a
    • Administrator's avatar
      Removes WebContent directory · e75d5730
      Administrator authored
      The WebContent directory was not used in this project.
      e75d5730
  6. 10 Jun, 2016 3 commits
  7. 19 Apr, 2016 3 commits
  8. 29 Feb, 2016 2 commits
    • Administrator's avatar
      Fixes column nullability in MySQL scripts · 62db9925
      Administrator authored
      Some columns of the MySQL database created by the scripts in the "db"
      directory where incorrectly set as nullable. This commit fixes this
      error and sets them as non nullable columns.
      62db9925
    • Administrator's avatar
      Sets UTF-8 as the source encoding · e0a21f1e
      Administrator authored
      The POM has been updated to fix UTF-8 as the source code encoding. This
      avoids problems when building the project in Windows systems.
      e0a21f1e
  9. 24 Feb, 2016 2 commits
    • Administrator's avatar
      LoginFilter adds the login to the HTTP session · 053d0cfb
      Administrator authored
      When a user is correctly logged in, the LoginFilter adds the user login
      to the HTTP session. This allows, for example, the REST layer to
      retrieve the current logged user.
      053d0cfb
    • Administrator's avatar
      Refactorizes and improves the tests · 234b3fb9
      Administrator authored
      The tests classes have been simplified by delegating some of the
      functions in the test classes to external utility classes. For example,
      a PeopleDataset has been added to manage the dataset or the
      IsEqualToEntity Hamcrest matcher has been added to simplify entity
      comparisons.
      
      In addition, a PersonUnitTest class has been added to test the Person
      entity.
      234b3fb9
  10. 16 Feb, 2016 1 commit
    • Administrator's avatar
      Refactorizes the whole project for a simpler testing and execution · bf91733b
      Administrator authored
      A big refactorization has been done in this commit, focused on
      simplifying the testing and execution process. The Spring-DbUnit library
      has been added to allow the use of DbUnit through annotations in the
      test classes. This change has been complemented with two new test
      listeners that allow the creation of custom initial contexts and the use
      of custom SQL scripts to create and destroy the database tables before
      and after the test execution, respectively. In addition, all the tests
      are executed now using a HSQLDB database.
      
      The datasource configuration has been pulled out of the project, and now
      it must be provided by the container.
      
      The sample classes have been reviewed, refactorized and documented with
      JavaDoc.
      
      The POM file has been reworked to ease test and application execution
      using maven. The new execution modes are:
      	- The default execution includes unit, integration and acceptance (with
      Selenium) test execution.
      	- No acceptance tests: mvn -P -acceptance-tests-cargo <phase>
      	- Run server for manual acceptance tests: mvn
      -Dcargo.tomcat.start.skip=true -Dcargo.tomcat.run.skip=false
      -DskipTests=true pre-integration-test 
      	- Run server with MySQL database: mvn -P
      run-tomcat-mysql,-acceptance-tests-cargo -DskipTests=true package
      cargo:run
      bf91733b
  11. 18 Feb, 2015 1 commit
  12. 11 Feb, 2015 2 commits
    • Administrator's avatar
      Testing improvement · 63347867
      Administrator authored
      Several testing improvement have been done:
      	- Cobertura plugin was replaced by JaCoCo plugin that supports Java 8
      syntax.
      	- Unit tests with a controller fixtured using EasyMock were added for
      PeopleDAO and PeopleResource.
      	- POM was reviewed, reordered and reformatted.
      	- Test classes naming was reviewed and standarized.
      	- Three test suites were added to group the unit, integration, and
      acceptance tests.
      	- Naming context management done in TestUtils was improved. 
      63347867
    • Administrator's avatar
      Scope adjustment of some test libraries · a42e8ca4
      Administrator authored
      The libraries jersey-test-framework-provider-grizzly2 and commons-dbcp
      are only used in the test, but they had the default scope. Now, they are
      test scoped.
      a42e8ca4
  13. 04 Feb, 2015 3 commits