1. 27 Sep, 2020 1 commit
  2. 19 Sep, 2019 2 commits
  3. 17 Oct, 2018 1 commit
    • Administrator's avatar
      Fixes MySQL test configuration · c4ab8bb8
      Administrator authored
      The Arquillian configuration for MySQL tests was wrong, as it was
      using the H2 data type factory instead of MySQL's. This commit fixes
      this error and now tests with MySQL should work fine.
      c4ab8bb8
  4. 16 Oct, 2018 2 commits
    • Administrator's avatar
      Changes pet list to edit by id instead of entity · fb006883
      Administrator authored
      The pet list "Edit" button was calling a method in the managed bean
      that received the Pet entity. This caused lots of unnecessary queries
      in the database. In order to avoid this, the edit method now receives
      the pet identifier instead of the entity.
      fb006883
    • Administrator's avatar
      Adds JavaScript libraries to the tests execution · f98e32e4
      Administrator authored
      The JavaScript libraries used in the JSF project are now included by
      using the Maven resolver library. In fact, all the runtime and
      testing dependencies declared in the POM are included.
      f98e32e4
  5. 10 Oct, 2018 2 commits
  6. 27 Sep, 2017 1 commit
    • Administrator's avatar
      Updates the project for the 17/18 course · 98a7160b
      Administrator authored
      The project dependencies have been updated, including a change from
      WildFly 8.2.1 to 10.1.0. This change affects the project configuration
      in several ways, specially in tests configuration.
      
      The README.md file has been updated to reflect the configuration
      changes.
      98a7160b
  7. 21 Apr, 2017 1 commit
  8. 15 Nov, 2016 4 commits
    • Administrator's avatar
      Reviews and refactors the tests code · 1fb6f62c
      Administrator authored
      The tests code for rest and service modules have been reviewed to
      simplify and make it more readable. This change includes some
      improvements on the OwnersDataset and some matchers classes.
      1fb6f62c
    • Administrator's avatar
      Adds Bootstrap as a Maven dependency · 0e34458e
      Administrator authored
      The Bootstrap libraries (CSS and JavaScript libraries) were inserted in
      the web pages (JSF module) through a CDN. Now, these libraries are added
      as Maven dependencies, using the Webjars project packages.
      
      In addition, the link and script tags used in the JSF template have been
      replaced by the h:outputStylesheet and h:outputScript tags from JSF, as
      this tags make consistent the use of relative paths though the different
      pages of the application.
      
      Finally, a minor error has been solved in the pets.xhtml file, as the
      placeholder text for the birth field was assigned to the animal type
      field.
      0e34458e
    • Administrator's avatar
      Improves wildfly-mysql-run profile reducing startup time · e06cd56a
      Administrator authored
      The wildfly-mysql-run profile has been improved by changing the wildfly
      goal added to the install phase to deploy-only instead of deploy. This
      should reduce the startup time.
      e06cd56a
    • Administrator's avatar
      Disables JSF test execution · aced3815
      Administrator authored
      The JSF test execution has been disabled due to an error in the Gecko driver
      that makes these test fail in some environments.
      aced3815
  9. 09 Nov, 2016 2 commits
    • Administrator's avatar
      Fixes JSF testing problems · c8daff52
      Administrator authored
      The default FirefoxDriver from Selenium no longer supports Firefox since
      version 47 without a native web driver. This commit adds support to
      native drivers, downloading and configuring this drivers depending on
      the current OS (only Unix, Windows and Mac OS supported at this moment).
      c8daff52
    • Administrator's avatar
      Replaces JSF annotations by CDI annotations · 7ba792b4
      Administrator authored
      The JSF 2.2 specification recommends using CDI annotations (e.g. @Named,
      @RequestScoped, etc.) instead of specific JSF annotations (e.g.
      @ManagedBean, @RequestScoped, etc.). This commit replaces these
      annotations following the recommendations. This change has some side
      effects, as now the container does not automatically recognizes the
      /faces route and JSF must be configured in the web.xml file. The new
      configuration now processes every XHTML page as a JSF and the /faces
      paths are no longer required or recognized.
      7ba792b4
  10. 25 Oct, 2016 1 commit
    • Administrator's avatar
      Allows both application execution and deployment with Maven · c4d17fa9
      Administrator authored
      The previous Maven configuration included a WildFly Maven plugin
      configuration in the H2 and MySQL profiles that allowed the application
      execution directly from Maven (with the mvn wildfly:start wildfly:deploy
      command). As this configuration included a custom WildFly deployment
      configuration (that modified the standalone.xml of the WildFly where the
      application will be deployed), the mvn wildfly:deploy couldn't be used
      to deploy the application in a local WildFly instance.
      
      This commit adds a new profile (wildfly-mysql-run) that can be used to
      execute the application directly from Maven (with the mvn install
      command). The custom WildFly plugin configuration has been removed from
      the other profiles, allowing users to normally deploy the application in
      a running WildFly instances.
      
      Instructions on how to use the profiles for application execution and
      deployment can be found in the README.md file.
      c4d17fa9
  11. 19 Oct, 2016 1 commit
  12. 18 Oct, 2016 1 commit
    • Administrator's avatar
      Improves the IsEqualToEntity abstract matcher · 259a6760
      Administrator authored
      The IsEqualToEntity matcher (previously, IsEqualsToEntity) has been
      improved to allow property comparison by functional reference to the
      getter methods of the properties to compare. Specifically, the
      "checkAttribute" methods added allow providing a Function<T, R> as a
      getter, where T is the type of the entity to compare and R is the type
      returned by the getter method.
      259a6760
  13. 05 Oct, 2016 3 commits
  14. 28 Sep, 2016 2 commits
    • Administrator's avatar
      Disables, temporarily, the JSF tests · ebf380df
      Administrator authored
      The JSF tests are misbehaving with the latest Firefox versions and,
      therefore, they have been temporaly disabled.
      ebf380df
    • Administrator's avatar
      Updates the project for the 16/17 course · 6840294c
      Administrator authored
      The README.md has been update to reference the new course and the new
      Eclipse version. In addition, the general pom.xml file has been updated
      to include the newer versions of the dependencies, and the ear/pom.xml
      has been modified to include more project information in the generated
      EAR.
      
      On the other hand, the testing mysql-ds.xml have been removed and the
      standalone.xml testing files have been updated to include the datasource
      data.
      6840294c
  15. 09 Nov, 2015 1 commit
    • Administrator's avatar
      Minor fixes to solve some compilation warnings · 0a51d50a
      Administrator authored
      Missing version for compiler, javadoc, source and deploy plugin in POM was
      causing some warning messages during the compilation with Maven.
      
      In addition, the Javadoc was fixed in the OwnerService and PetService
      classes.
      0a51d50a
  16. 08 Nov, 2015 4 commits
  17. 03 Nov, 2015 2 commits
    • Administrator's avatar
      Updates the README.md explaining how to run the application · 9663e093
      Administrator authored
      This commit adds the instructions to run the application in a WildFly server.
      9663e093
    • Administrator's avatar
      Adds the JSF and EAR projects · f5c55dc2
      Administrator authored
      This commit adds the JSF project with a web application that allows the
      management of owners (by the administrators) and pets (by the owners).
      The JSF project includes the functional tests for the owners management
      page.
      
      The EAR project only contains a POM that creates an EAR distribution of
      the system.
      f5c55dc2
  18. 02 Nov, 2015 2 commits
  19. 27 Oct, 2015 3 commits
    • Administrator's avatar
      Explains the Arquillian configuration in the README.md file · e28f2a5e
      Administrator authored
      An explanation of how Arquillian tests are configured and how to run the
      Arquillian tests in the Eclipse project has been added to the root
      README.md.
      e28f2a5e
    • Administrator's avatar
      Adds the HasHttpStatus matcher · 40bf4a1a
      Administrator authored
      This matchers makes the Response status easier to check in tests.
      40bf4a1a
    • Administrator's avatar
      Adds the REST layer implementation partially tested · f739d617
      Administrator authored
      The REST layer has been added but with incomplete tests. Students will
      have to complete the tests.
      
      This commit includes an important refactorization regarding tests. Test
      classes and datasets have been moved from the "service" project to a new
      "tests" project. This way, any project can include this "tests" project
      as a dependency in order to have access to these common testing
      resources.
      f739d617
  20. 25 Oct, 2015 1 commit
    • Administrator's avatar
      Adds the service layer implementation · 7fe00cf8
      Administrator authored
      This commit adds the OwnerService and PetService EJBs to the
      implementation. This commit also includes the tests for this EJBs with
      two different Wildfly profiles: a H2 profile and a MySQL profile.
      7fe00cf8
  21. 23 Oct, 2015 2 commits
  22. 05 Oct, 2015 1 commit