1. 18 Sep, 2023 1 commit
    • Administrator's avatar
      Updates the project for the 22/23 course · 0fbda179
      Administrator authored
      Project's repository URL in README.md has been updated.
      
      The JSF test have been disabled by default, because there is a known
      issue with the default Firefox installed in Ubuntu 22.04 (installed
      from Snap) and the Gecko driver that causes the tests to fail.
      0fbda179
  2. 19 Sep, 2022 1 commit
  3. 21 Oct, 2021 1 commit
    • Administrator's avatar
      Modifies REST API for a easier client integration · 06472395
      Administrator authored
      The REST API methods for entity creation and modification have been
      simplified with more basic entities.
      
      In addition, the UserResource class has been added so that it is
      possible now for clients to use it for user authentication.
      06472395
  4. 28 Sep, 2021 2 commits
  5. 18 Oct, 2020 1 commit
  6. 17 Oct, 2020 1 commit
  7. 04 Oct, 2020 1 commit
    • Administrator's avatar
      Fixes an error with the tests · eae2d5a0
      Administrator authored
      The change of the pets list in the owner to a Set makes it not
      possible to use the pet's ids in the tests. Therefore, this commit
      removes id comparisons for pets.
      eae2d5a0
  8. 27 Sep, 2020 1 commit
  9. 19 Sep, 2019 2 commits
  10. 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
  11. 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
  12. 10 Oct, 2018 2 commits
  13. 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
  14. 21 Apr, 2017 1 commit
  15. 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
  16. 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
  17. 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
  18. 19 Oct, 2016 1 commit
  19. 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
  20. 05 Oct, 2016 3 commits
  21. 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
  22. 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
  23. 08 Nov, 2015 4 commits
  24. 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
  25. 02 Nov, 2015 1 commit