Commit graph

773 commits

Author SHA1 Message Date
Thomas Risberg
778161f018 Update to Boot 2.6.2 2021-12-24 06:16:55 +00:00
Dave Syer
a7439c74ea Mention Gradle build in readme 2021-12-16 11:46:05 +00:00
Dave Syer
094d3021e9 Upgrade to Spring Boot 2.6.1 and fix Maven build 2021-12-16 11:39:30 +00:00
Dave Syer
f0155739c3 Update for recent changes in mvn build 2021-12-16 11:33:35 +00:00
Dave Syer
4df621b41e Make build work with Gradle 2021-12-16 11:25:09 +00:00
Fabian Muscariello
ce626da705 Add support for PostgreSQL
See #636
2021-12-07 16:55:01 +00:00
Fabian Muscariello
20adfb71be Update docker-compose.yml to version 2.2
The current docker-compose.yml is still in version 1, which is
deprecated: https://docs.docker.com/compose/compose-file/compose-versioning/

So if you try to run `docker-compose up` with a recent version of
docker-compose, the following error occurs:
    (root) Additional property mysql is not allowed

Version 2.2 was chosen because it's not deprecated, but it also has been
released some time ago: Compose version 2.2 requires docker engine
version 1.13.0, which was released on 2017-01-18. So, with this version,
hopefully no users will have any issues either with deprecation warnings
or with a version that is not yet supported by their docker-engine.
2021-12-07 09:08:38 +00:00
Dave Syer
eff7c9529f Use "date" type for date inputs
In 2021 we really should be using the browser's own date picker.
2021-12-06 14:33:58 +00:00
Dave Syer
67c8bf6a1f Fix ignores 2021-11-24 11:39:25 +00:00
Dave Syer
83e074940b Tidy up properties in build config 2021-11-24 11:15:44 +00:00
Dave Syer
576c4eb58b Remove unused css files 2021-11-24 09:27:15 +00:00
Dave Syer
4ecc4c34c4 Make buttons look normal again 2021-11-24 09:14:14 +00:00
Dave Syer
ff2febe09f Put CSS generation in a Maven profile 2021-11-24 07:50:15 +00:00
Dave Syer
7ea283613d Alternative approach with libsass-maven-plugin 2021-11-24 07:48:14 +00:00
Dave Syer
4d4727fce1 No need for jquery 2021-11-24 07:48:14 +00:00
Dave Syer
1095a15f0e Convert to SCSS and Bootstrap 5 2021-11-24 07:48:14 +00:00
Dave Syer
4f2f8fab73 Remove redundant interface 2021-11-19 15:30:56 +00:00
Dave Syer
3eba970fff Fix page links 2021-11-19 13:34:47 +00:00
Dave Syer
b45f5be820 Update to Spring Boot 2.5.6 2021-11-19 07:54:21 +00:00
Dave Syer
bc35c402a2 Remove travis config file 2021-10-29 13:14:59 +00:00
Antoine Rey
30d0e2a856 Use the provided maven wrapper 2021-10-29 13:50:55 +01:00
Antoine Rey
198f5e288c Replace Travis badge by GitHub actions one 2021-10-29 13:50:55 +01:00
Antoine Rey
0016ae9112 Add GitHub actions maven-build.yml 2021-10-29 13:50:55 +01:00
Dave Syer
01621077cb Add note on Java version 2021-10-21 10:36:58 +01:00
Dave Syer
af9a0a423e Update to Boot 2.5.5 2021-10-19 15:34:07 +01:00
Dave Syer
8bfe9e68bf Tidy imports 2021-10-19 10:55:07 +01:00
Thomas Risberg
0a1b3dd1e5 Add license file 2021-10-05 16:49:36 +01:00
Dave Syer
e57ef71e54 Ensure real database is used if mysql profile active 2021-10-05 13:36:50 +01:00
Dave Syer
e11a594ec2 Tidy up test 2021-10-01 15:09:25 +01:00
simrin051
8ad9c05f74 Add pagination for owners and vets lists in HTML
Fixes #91
2021-10-01 08:31:38 +01:00
Dave Syer
25ba1621a9
Add delimiter to list of pets 2021-09-14 17:33:24 +01:00
Stephane Nicoll
11f1234b42 Upgrade to Spring Boot 2.5.4 2021-08-26 16:31:33 +02:00
Stephane Nicoll
321cfa7181 Merge pull request #805 from DanielFran
* pr/805:
  Upgrade to Maven 3.8.2

Closes gh-805
2021-08-26 16:30:02 +02:00
Daniel Franco
5149957061 Upgrade to Maven 3.8.2
See gh-805
2021-08-26 16:29:34 +02:00
lsap
e7c879ed3a Update petclinic_db_setup_mysql.txt
Hey Team, thanks in advance!
2021-05-14 16:17:25 +01:00
Frank Migliorino
b91e21378c Fix docs for setting profiles
Add using -Dspring-boot.run.jvmArguments to the notes for how to set up using MySQL.
2021-05-14 13:01:26 +01:00
Dave Syer
8954fa9585 Add note about autocrlf on windows 2021-05-12 10:45:14 +01:00
Dave Syer
0d8a80da65 Clarify that a JDK is needed 2021-05-12 10:41:09 +01:00
Dave Syer
525dc6a2d0 Only attempt to login to docker on main 2021-05-12 10:40:13 +01:00
Dave Syer
d0e4e7731b Only attempt to login to docker on main 2021-05-11 16:21:54 +01:00
Dave Syer
af1857cda1 Add javaformat plugin to Eclipse workaround 2021-05-04 11:37:31 +01:00
Jinbo Wang
39d60e2761 Configure an inline m2e lifecycle mapping for wro4j-maven-plugin
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
2021-04-29 07:15:16 +01:00
Dave Syer
09e07869ac Update Spring Boot to 2.4.5 2021-04-29 07:11:20 +01:00
Dave Syer
e2fbc56130 Only publish docker image from main branch 2021-01-28 12:01:57 +00:00
Diego Lemos
a0d743cfed Do not fail packaging if repo info is absent
As part of a process to build a BOSH release, I encountered the error
below while running `./mvnw package`:

```
[ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:3.0.1:revision (default) on project spring-petclinic: Could not complete Mojo execution...: Error: Could not get HEAD Ref, are you sure you have set the dotGitDirectory property of this plugin to a valid path? -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
```

That's because we are just interested on the source files for the BOSH
release, we don't care about repo metadata (so we exclude them).

Going through the [git-commit-id-maven-plugin
docs](https://github.com/git-commit-id/git-commit-id-maven-plugin/blob/master/maven/docs/using-the-plugin.md)
we learned it is possible to prevent the failure above via
configuration.

We propose then to set
`<failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>`,
enabling use cases similar to ours.

FWIW `failOnNoGitDirectory` is already set to false.
2021-01-28 10:13:23 +00:00
Dave Syer
3a040886fe Add docker push to CI 2021-01-28 09:57:17 +00:00
Dave Syer
04471aec49 Update to Boot 2.4.2 2021-01-28 09:55:39 +00:00
Stephane Nicoll
02babdd8cb Upgrade to Spring Boot 2.4.1 2020-12-25 13:02:48 +01:00
Stephane Nicoll
8065ad00e2 Merge pull request #707 from Arka-Bandyopadhyay
* pr/707:
  Downgrade to wro4j 1.8.0
  remove .vscode folder from project repository

Closes gh-707
2020-11-29 11:44:14 +01:00
Arka Bandyopadhyay
0573cda3c2 Downgrade to wro4j 1.8.0
This commit downgrades the wro4j plugin to 1.8.0 as the latest version
requires Java 11.

See gh-707
2020-11-29 11:43:28 +01:00