Commit graph

1010 commits

Author SHA1 Message Date
jhansi06
7cc3ca8d91 buildcode 2025-12-15 13:00:43 +05:30
jhansi06
d2b6f4d4ab build 2025-12-15 12:54:08 +05:30
Stéphane Nicoll
3e1ce239f4 Polish
Some checks failed
Java CI with Gradle / build (17) (push) Failing after 2s
Java CI with Maven / build (17) (push) Successful in 1m28s
2025-11-26 19:56:03 +01:00
Dave Syer
134c5a3f9d Use more specific test dependencies 2025-11-26 14:55:27 +00:00
Dave Syer
44d5f2100b Remove jspecify annotations 2025-11-26 14:22:44 +00:00
Dave Syer
a9b7c6b4cd Use canonical starter name for Boot 4.0 2025-11-26 14:14:27 +00:00
Dave Syer
828940e5a1 Support building with Java 17
Some checks failed
Java CI with Maven / build (17) (push) Successful in 1m50s
Java CI with Gradle / build (17) (push) Failing after 1m59s
Needed to remove ErrorProne and Nullaway compiler plugins

Fixes #2136
2025-11-26 12:49:50 +00:00
Stéphane Nicoll
fc1c7490ed Revert removal of --release 17
See gh-2133
2025-11-26 10:01:16 +01:00
henribon
8f08b38f2c fix: update MySQL user creation for MySQL 8.0+ compatibility
Some checks failed
Java CI with Gradle / build (25) (push) Failing after 2s
Java CI with Maven / build (25) (push) Successful in 1m24s
Deploy and Test Cluster / deploy-and-test-cluster (push) Failing after 4m10s
Signed-off-by: henribon <henribonrec@gmail.com>
2025-11-25 08:54:07 +00:00
Patrick Baumgartner
37d53152a0 Upgrade to Spring Boot 4.0.0
Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-11-25 08:46:39 +00:00
Stéphane Nicoll
b5a630b199 Remove outdated wrapper
Some checks failed
Java CI with Gradle / build (25) (push) Failing after 1m59s
Java CI with Maven / build (25) (push) Successful in 2m35s
2025-11-12 14:00:13 +01:00
Stéphane Nicoll
9725f6d154 Upgrade to Gradle 9.2.0 2025-11-12 13:57:29 +01:00
Stéphane Nicoll
645c85278b Upgrad to Spring Boot 4.0.0-RC2 2025-11-12 13:50:07 +01:00
Stéphane Nicoll
6feeae0f13 Switch to building the project with Java 25
Some checks failed
Java CI with Gradle / build (25) (push) Failing after 2s
Java CI with Maven / build (25) (push) Successful in 1m45s
Closes gh-2101
2025-10-14 12:37:18 +02:00
Stéphane Nicoll
7deaa78575 Upgrade to Gradle 9.1.0
Closes gh-2100
2025-10-14 12:36:02 +02:00
Stéphane Nicoll
684adfe2ba Merge pull request #2016 from mhalbritter
* pr/2016:
  Upgrade to Spring Boot 4.0.0-M3
  Add NullAway and JSpecify annotations
  Upgrade to Spring Boot 4.0.0-M2

Closes gh-2016
2025-10-14 12:26:25 +02:00
Stéphane Nicoll
47be0ea24f Upgrade to Spring Boot 4.0.0-M3
On the heels of the Spring Boot 4 upgrade, this commit upgrade to the
latest milestone and align the errorprone and NullAway versions.

See gh-2016
2025-10-14 12:25:21 +02:00
Moritz Halbritter
a0aea8e8f8 Add NullAway and JSpecify annotations
See gh-2016

Signed-off-by: Moritz Halbritter <moritz.halbritter@broadcom.com>
2025-10-14 12:13:13 +02:00
Moritz Halbritter
3aa79e3944 Upgrade to Spring Boot 4.0.0-M2
See gh-2016

Signed-off-by: Moritz Halbritter <moritz.halbritter@broadcom.com>
2025-10-14 12:13:03 +02:00
jang8584
66747e344e feat: enhance error page with localized messages for status codes(1)
Some checks failed
Java CI with Gradle / build (17) (push) Failing after 1m56s
Java CI with Maven / build (17) (push) Successful in 4m22s
Signed-off-by: jang8584 <jang8584@gmail.com>
2025-10-14 08:48:02 +01:00
jang8584
b2aee1d14a feat: enhance error page with localized messages for status codes
Signed-off-by: jang8584 <jang8584@gmail.com>
2025-10-14 08:48:02 +01:00
bansalbhumika13-beep
438adfd4d8 docs: update README with note about legacy presentation
The Speakerdeck presentation linked in the README refers to a
pre–Spring Boot version of Petclinic. Added a note clarifying
that the slides are outdated and pointing readers to the
repository/docs for the current Spring Boot–based implementation.


Signed-off-by: bansalbhumika13-beep <bansalbhumika13@gmail.com>
2025-10-14 08:18:02 +01:00
Philippe Marschall
cf2931f881 Remove unused imports
Signed-off-by: Philippe Marschall <philippe.marschall@gmail.com>
2025-10-14 08:13:38 +01:00
shjung1999
196e5aa4b0 docs: capitalize 'JAR' in README for consistency 2025-10-14 07:51:19 +01:00
Patrick Baumgartner
b26f235250 Update to current versions
Some checks failed
Deploy and Test Cluster / deploy-and-test-cluster (push) Successful in 1m18s
Java CI with Gradle / build (17) (push) Failing after 1m55s
Java CI with Maven / build (17) (push) Successful in 5m5s
Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-10-06 19:23:19 +01:00
dejan2609
30aab0ae76 Maven and Gradle version upgrades
Some checks failed
Java CI with Gradle / build (17) (push) Failing after 5s
Java CI with Maven / build (17) (push) Successful in 4m37s
details:
* Gradle changes:
 ** redundant 'apply' plugin declarations are removed
 ** java 'sourceCompatibility' removed in favor of 'toolchain'
* Gradle version upgrade: 8.14 -->> 8.14.3
* Maven version upgrade: 3.9.9 -->> 3.9.10

related links:
 * https://docs.gradle.org/8.14.1/release-notes.html
 * https://docs.gradle.org/8.14.2/release-notes.html
 * https://docs.gradle.org/8.14.3/release-notes.html
 * https://maven.apache.org/docs/3.9.10/release-notes.html
 * https://committing-crimes.com/articles/2024-10-30-using-gradle-toolchains-properly
 * https://docs.gradle.org/8.14.3/userguide/building_java_projects.html#sec:java_cross_compilation

Signed-off-by: dejan2609 <dejan2609@gmail.com>
2025-07-05 17:48:19 +01:00
Denis Fuenzalida
f9399b7a9f Fix typo in visits form which caused button to miss its text
Some checks failed
Java CI with Gradle / build (17) (push) Failing after 1s
Java CI with Maven / build (17) (push) Has been cancelled
Signed-off-by: Denis Fuenzalida <denis.fuenzalida@gmail.com>
2025-06-14 07:45:06 +01:00
Patrick Baumgartner
67643c4137 Remove Reactor workaround for AOT
Some checks failed
Java CI with Gradle / build (17) (push) Failing after 1s
Java CI with Maven / build (17) (push) Failing after 1s
Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-06-13 13:04:05 +01:00
Patrick Baumgartner
cefaf55dd1 Downgrading to mysql 9.2
Some checks failed
Java CI with Gradle / build (17) (push) Failing after 1s
Java CI with Maven / build (17) (push) Failing after 1s
Deploy and Test Cluster / deploy-and-test-cluster (push) Successful in 1m20s
- MySQL 9.3 does not work with testcontainers 1.21.0. Database container terminates with errors

Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-06-05 12:18:10 +01:00
Patrick Baumgartner
2e61f19c66 Updated Copyright to year 2025
Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-06-05 12:18:10 +01:00
Patrick Baumgartner
9faad25ec3 Cleanup maven-enforcer-plugin message
Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-06-05 12:18:10 +01:00
Patrick Baumgartner
47dfd4f388 Cleanup Java Classes
Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-06-05 12:18:10 +01:00
Patrick Baumgartner
142321aa3e Extracted findPetTypes
- Extracted find by findPetTypes because of failing tests
- Extracting helped to keep one repository responsible for an entity type
- Seems like Spring Data is more strict and treats PetType as DTO and generated a Costructor NEW query
- Current approach treats it still like an entity

Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-06-05 12:18:10 +01:00
Patrick Baumgartner
b21890c126 Aligned postgres properties with mysql properties
Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-06-05 12:18:10 +01:00
Patrick Baumgartner
d44ad42886 Upgrading to Spring Boot 3.5
Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-06-05 12:18:10 +01:00
Patrick Baumgartner
4a021e4ccf Upgraded databases
Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-06-05 12:18:10 +01:00
Patrick Baumgartner
9264c4813f Upgrading gradle wrapper to current version
Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-06-05 12:18:10 +01:00
Patrick Baumgartner
af8645561b Cleanup HTML files
- Fixed broken paging and aligned vetList and OwnersList
- Adding Doctype for consistency
- Removed html5shim and respond for IE < 9
- Reformatting HTML

Signed-off-by: Patrick Baumgartner <contact@patbaumgartner.com>
2025-06-05 12:18:10 +01:00
Antoine Rey
3a931080d4 Remove unused findAll method from OwnerRepository and related test setup
Some checks failed
Java CI with Gradle / build (17) (push) Failing after 1s
Java CI with Maven / build (17) (push) Failing after 1s
Signed-off-by: Antoine Rey <antoine.rey@free.fr>
2025-05-14 09:20:26 +01:00
anizmo
c5af32d5a1 Internationalization Enhancement
Some checks failed
Java CI with Gradle / build (17) (push) Failing after 1s
Java CI with Maven / build (17) (push) Failing after 1s
- Added test to ensure there are no string literals
- Added test to ensure a string is translated in all language files
- Added missing strings in properties
- Internationalized remaining strings flagged by the tests

Signed-off-by: anizmo <potdar.anuj@gmail.com>
2025-05-06 13:55:19 +01:00
anizmo
0c88f916db Adding strings for all other languages
Some checks failed
Java CI with Gradle / build (17) (push) Failing after 1s
Java CI with Maven / build (17) (push) Failing after 1s
- Added WebConfiguration class to change language using url param
- Added text from messages to html files wherever required
- Added String to all other languages

Closes #1854

Signed-off-by: anizmo <potdar.anuj@gmail.com>
2025-04-22 09:35:23 +01:00
Dave Syer
332abbcb8a Note about windows shell
Some checks failed
Java CI with Gradle / build (17) (push) Failing after 1s
Java CI with Maven / build (17) (push) Failing after 1s
2025-03-27 16:10:48 +00:00
Antoine Rey
d7cc02f3d7 Use the java.util List.of() instead of the AssetJ Lists class
Some checks failed
Java CI with Gradle / build (17) (push) Failing after 2s
Java CI with Maven / build (17) (push) Failing after 2s
Signed-off-by: Antoine Rey <antoine.rey@free.fr>
2025-03-26 08:52:01 +00:00
Antoine Rey
fceca7754a Associating a <label> with a form control
Signed-off-by: Antoine Rey <antoine.rey@free.fr>
2025-03-26 08:51:24 +00:00
Antoine Rey
7f1af268ec Remove unnecessary @Autowired annotation from the PetTypeFormatter
Signed-off-by: Antoine Rey <antoine.rey@free.fr>
2025-03-26 08:51:00 +00:00
VishantOwO
2aa53f929d Fix pet update functionality
Some checks failed
Java CI with Gradle / build (17) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
- Fixed issue where editing a pet's type or name wasn't persisting
- Updated processUpdateForm to modify existing pet instead of
  adding new one
- Added proper handling of existing pet update

Fixes #1752
2025-03-01 15:29:15 +00:00
Dave Syer
6328d2c9dc Add DCO to README
Some checks failed
Java CI with Gradle / build (17) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
2025-02-12 14:58:27 +00:00
Dave Syer
7bce202762 Add dco config 2025-02-12 14:56:15 +00:00
Dave Syer
aa2273e955 Make sure MySQL test app works
Some checks failed
Java CI with Gradle / build (17) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
2025-02-04 09:15:54 +00:00
Dave Syer
1f89996e1f Update Spring Boot to 3.4.2 2025-02-04 08:47:30 +00:00