Commit graph

981 commits

Author SHA1 Message Date
TomPGrid
2ba17ecb45 add build image 2025-02-28 11:19:14 +01:00
TomPGrid
a0807d5f3a skip checkstyle in test 2025-02-28 10:49:55 +01:00
TomPGrid
ea70b9bcd9 add test stage 2025-02-28 10:46:44 +01:00
TomPGrid
487f87820e skip the checktyle in build 2025-02-28 10:43:01 +01:00
TomPGrid
40992f8f54 skip the checktyle in build 2025-02-28 10:40:53 +01:00
TomPGrid
2c8fffa147 commented unnecesary part 2025-02-28 09:20:47 +01:00
TomPGrid
ef30b7e563 commented unnecesary part 2025-02-28 09:19:45 +01:00
TomPGrid
1ef7f8a7d9 commented unnecesary part 2025-02-28 09:11:22 +01:00
TomPGrid
43f4a3f015 changed pom.xml to adjust the checkstyle plugin 2025-02-27 14:06:53 +01:00
TomPGrid
82e86404ce add build stage to Jenkinsfile 2025-02-27 13:58:28 +01:00
TomPGrid
eceaf61394 change jnkinsfile 2025-02-27 09:36:21 +01:00
TomPGrid
6bf48d17d6 change jenkinsfile 2025-02-26 11:45:58 +01:00
TomPGrid
9324e6ef3d add simplet test jenkinsfile 2025-02-26 11:36:50 +01:00
TomPGrid
841083a729 add dockerfile 2025-02-26 10:45:34 +01:00
Tomasz Prusałowicz
a36b67da68 release prepare for next development iteration 2025-01-21 16:41:45 +01:00
Tomasz Prusałowicz
96802d66cf release prepare release release-1.0.0 2025-01-21 16:41:41 +01:00
Tomasz Prusałowicz
62ce4306ea added distributionmanagament 2025-01-21 16:41:08 +01:00
Tomasz Prusałowicz
36978d02cd release prepare for next development iteration 2025-01-21 15:50:35 +01:00
Tomasz Prusałowicz
ca950a53ca release prepare release spring-petclinic-1.0.0 2025-01-21 15:50:29 +01:00
Tomasz Prusałowicz
486c194722 release rollback the release of spring-petclinic-1.0.0 2025-01-21 15:35:22 +01:00
Tomasz Prusałowicz
cc4a7d68aa release prepare for next development iteration 2025-01-21 15:33:16 +01:00
Tomasz Prusałowicz
5f66156c7a release prepare release spring-petclinic-1.0.0 2025-01-21 15:33:12 +01:00
Tomasz Prusałowicz
41d7d1dc32 release 2025-01-21 15:32:43 +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
Dave Syer
90bbb98ea6 Update readme to refer to test main classes 2024-11-05 08:24:50 +00:00
João Bertholino
bbb237928f feat: Adds support for the Portuguese language. 2024-10-20 17:25:23 +01:00
ruabooe
912de1648e feat: add russian 2024-10-20 12:08:50 +01:00
Antoine Rey
62dbfa8e9a Remove the unnecessary includeFilters 2024-10-10 07:53:08 +01:00
Mousa Al Bateh
ae1bb8228c Minor code changes are the following:
-Removed unused variables from few files.
-Added null assertions in some tests.
-Removed unnecessary throw exceptions.
2024-10-10 07:50:06 +01:00
Guilherme Soares
fc442120ce fix(jmx): strip spaces before path 2024-09-30 21:42:09 +01:00
Patrick Baumgartner
f8001e0add Change chmod like other files 2024-09-30 21:41:01 +01:00