Commit graph

988 commits

Author SHA1 Message Date
Milos Obrenovic
14f84d4285 [update] gradlew version 2025-02-14 14:53:13 +01:00
Milos Obrenovic
c37eed1cb8 [update] try to fix the TEST failed phase 2025-02-14 14:09:20 +01:00
Milos Obrenovic
4f8bd90f97 [fix] artifact location 2025-02-14 14:01:58 +01:00
Milos Obrenovic
1360cecbdf Merge branch 'actions' of github.com:obrenovicm/spring-petclinic into actions 2025-02-14 13:59:46 +01:00
Milos Obrenovic
2e9fd23040 [update] update the steps in the pipeline 2025-02-14 13:59:25 +01:00
obrenovicm
107caf53b8
Merge branch 'main' into actions
Signed-off-by: obrenovicm <mobrenovic@griddynamics.com>
2025-02-14 13:51:07 +01:00
Milos Obrenovic
979eaa74c6 [add] workflow for pull req 2025-02-14 13:49:39 +01:00
Milos Obrenovic
5eb70956ff [update] docker tag in workflow.yml 2025-02-14 12:11:44 +01:00
Milos Obrenovic
aa78251dc8 [update] fix Dockerfile w/ versioning 2025-02-14 11:10:52 +01:00
Milos Obrenovic
466cc92c52 [add] Action for task b; push to main repo 2025-02-14 10:54:31 +01: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
Milos Obrenovic
856058c92d [add] Docker task 2025-02-04 16:32:18 +01: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
Antoine Rey
73d73609b5 Use Java Streams to sort the Specialty objects by their name
Signed-off-by: Antoine Rey <antoine.rey@free.fr>
2025-02-04 08:09:03 +00:00
Antoine Rey
b46b97a3e7 Remove unused Transactional import
Signed-off-by: Antoine Rey <antoine.rey@free.fr>
2025-02-04 08:07:44 +00:00
Milos Obrenovic
c46b19e1a9 [add] deploy artifacts to nexus 2025-01-29 12:32:57 +01:00
Milos Obrenovic
b7daf5bab0 [add] connections 2025-01-28 12:02:33 +01:00
Milos Obrenovic
6df374602f [maven-release-plugin] prepare for next development iteration 2025-01-28 11:50:25 +01:00
Milos Obrenovic
0f8ad422f5 [maven-release-plugin] prepare release spring-petclinic-4.0.2 2025-01-28 11:48:55 +01:00
Milos Obrenovic
b192d86cf6 [add] prepare for release 2025-01-28 11:48:15 +01:00
Milos Obrenovic
9e8ed41256 [revert] invalid connection url 2025-01-28 11:47:13 +01:00
Milos Obrenovic
cd28849425 [maven-release-plugin] prepare release spring-petclinic-4.0.1 2025-01-28 11:45:10 +01:00
Milos Obrenovic
68080fcdc1 [update] snapshot version 2025-01-28 11:44:21 +01:00
Milos Obrenovic
82dea045f4 [maven-release-plugin] prepare release spring-petclinic-4.0.0 2025-01-28 11:39:08 +01:00
Milos Obrenovic
554fe38231 [add] changes to version 2025-01-28 11:38:15 +01:00
Milos Obrenovic
0a396dd621 [add] prepare for change of version 2025-01-28 11:36:53 +01:00
Milos Obrenovic
c07f7a3a51 [add] mvn release plugin 2025-01-28 11:35:58 +01:00
Milos Obrenovic
88fb7dc93b [update] Change in the build file 2025-01-27 15:01:20 +01:00
Antoine Rey
6148ddd967 Uses the date property of the Visit entity
Some checks failed
Java CI with Gradle / build (17) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
2024-12-17 16:09:29 +00:00
Antoine Rey
ee8f8dcdad Migrate Spring links for issues from Jira to GitHub 2024-12-17 16:07:36 +00:00
feelgood1987
22caee3d03 feat: add Persian and Turkish localization files for application messages 2024-12-04 12:47:27 +00:00
Dave Syer
42e2c74b0b Add a Dockerfile for dev environments other than codespaces 2024-11-28 14:45:59 +00:00
Dave Syer
3b90fac983 Fix occasional stale volume in postgres tests
Fixes #1522
2024-11-28 14:40:54 +00:00
Dave Syer
300597fc6c Update tomestamp for reproducible builds 2024-11-28 14:40:54 +00:00
YiXuan Ding
40a41375e6 Add new test file
-<modify>: remove `@Transactional`.
-<add>: create unit-test file related to `PetValidator`.
-<refactor>: move pet objects initialization to `@BeforeEach` setup.
2024-11-28 09:52:29 +00:00
YiXuan Ding
214a8fb87f <fix>: rename the DI variable name in constructor. 2024-11-28 09:51:42 +00:00
Patrick Baumgartner
a0ba075bd8 Futher updates for Spring Boot 3.4 2024-11-27 11:24:18 +00:00
Dave Syer
91f55a4f71 Versionless webjars (again)
Spring Boot 3.4 supports the webjars-locator-lite which in turn
supports native images, so we are back to versionless URLs for
webjars assets in templates.
2024-11-27 08:32:35 +00:00
Dave Syer
9f1cda1c08 Update to Boot 3.4 2024-11-25 11:04:49 +00:00
Andrey Litvitski
317562a170 Implement K8S deployment testing using Kind in GitHub Actions 2024-11-11 21:41:36 +00:00
YiXuan Ding
1cad4124b7 Refactor code logic
<refactor>: remove useless logic cod.
<refactor>: detele useless annotation which is provided by Jpa.
<refactor>: refactor implement of `findByLastName`, use Jpa to simplify query.
2024-11-11 17:55:34 +00:00
YiXuan Ding
668629d5bd refactor OwnerRepository:
-<replace>: use `JpaRepository` to replace `Repository` in `OwnerRepository` class.
-<remove1>: remove `save()` method. JpaRepository provides it by default.
-<remove2>: remove `@Query` because in `Owner` class, the `@OneToMany` annotiation achieved `fetch` in query.
-<refactor1>: use `Optional<Owner>` to recieve the result from `findById()`, and if is null, throw `IllegalArugmentExpection`.
-<refactor2>: achieve the assert to judge return value in tests.
-<add>: add name to `@author` tag.
2024-11-10 09:14:42 +00:00
Andrey Litvitski
a3026bddbb Add Kubernetes support 2024-11-08 09:23:59 +00:00
YiXuan Ding
50866def72 Refactor the logic and add unit test
-<add>: add `@NotBlank` validation to pet's name.
-<refactor>: delete useless code and add unit test to check duplicate Pet name validation logic.
-<modify>: add `Id` to pet in unit test.
-<refactor>: classify unit test.

<modify>: adjust code format.
2024-11-07 22:34:46 +08:00
YiXuan Ding
14af47d4e5 Refactor:
- <optimize>: delete logic `add owner to model` because of the comment `@ModelAttribute("owner")`.
- <fix>: add logical judgment in ordet to avoid `owner` from `form` and `ownerId` from `url` mismatch.
2024-11-06 18:46:58 +00:00
YiXuan Ding
fdc40a7048 Fix harmless bugs.
- <fix>: use `equals` to replace `==` to compare `Integer` variable.
- <delete>: remove redundant 'toLowerCase()' method and simplify pet lookup logic.
- <update>: rewrite method `getName()` comments.
2024-11-05 16:31:25 +00:00
Patrick Baumgartner
a50bfb65bb Update Spring Boot release, adding Gradle build and cleanup
- Update Spring Boot release, Checkstyle, Mysql.
- Formatting pom.xml with sortpom-maven-plugin.
- Rename README to standard file name.
- Adding GitHub Action for Gradle.
2024-11-05 12:56:29 +00:00
João Bertholino
dff45cf70c fix: Temporarily removing accentuation from messages. 2024-11-05 08:27:02 +00:00