xerx593
0787ad6a22
improve jmeter test
...
---------------------
- jmeter update
- reduced owner + pet count (99% fixes "(Post) New Visit" issues)
- fixed JSS: jquery->bootstrap ;)
- changed post params from "body" to "form value" (better!)
- added "test" for GET and POST new pet
--------------------------------2023-04-25 22:47:37,313 INFO o.a.j.r.Summariser: summary = 65000 in 00:08:42 = 124.4/s Avg: 3526 Min: 4 Max: 20838 Err: 4 (0.01%)
2023-05-09 10:45:07 +01:00
Dave Syer
b2ec2204c2
Latest Java version
2023-05-09 10:35:25 +01:00
jcw1031
8a5a14e88a
Owner class addVisit() method return type void
2023-05-09 10:35:06 +01:00
Andrii Abramov
6e71aaa44c
Fix typo in OwnerRepository.java
2023-04-13 14:11:33 +01:00
ross
b94d30626f
Fix typo
...
fix typo of org.springframework.samples.petclinic.owner.Owner.getPet(java.lang.String) annotation.
2023-04-13 14:10:05 +01:00
Brian Demers
7b1abb3ca9
Add user friendly error when Java < 17 is used
...
Add an enforcer rule with a custom message to detect if the JVM version is too old
2023-04-13 14:09:09 +01:00
Patrick Baumgartner
0962ed7e8f
Updating dependencies and docker containers to current versions
...
See #1157
2023-03-10 14:00:30 +00:00
Duncan Casteleyn
cc4667122d
Resource bundle not included in native image
2023-03-10 08:10:28 +00:00
Dave Syer
2ceb8c16fd
Bump Spring Boot to 3.0.4
2023-03-10 08:04:18 +00:00
Will 保哥
bac74f7a99
Update .gitattributes
...
If I won't keep *.java file as LF newline, I can't run app because I can't pass "io.spring.javaformat:spring-javaformat-maven-plugin:0.0.31:validate" goal when I mount files into container.
2023-03-08 10:17:47 +00:00
Will 保哥
dd54a40501
Create .gitattributes
...
fixes #1149
2023-03-08 10:17:47 +00:00
Tugdual Grall
5ceba6d95c
issue #1176 codespaces badged
2023-03-08 10:12:09 +00:00
Yan Zhang
68fb7acacf
Update devcontainer.json
...
publisher id of vscode-boot-dev-pack has been changed from `pivotal` to `vmware`.
2023-03-08 10:07:16 +00:00
Dave Syer
f2d9c9b63f
Remove unnecessary native hint
2023-02-24 09:23:35 +00:00
Dave Syer
1079767adc
Update actions
2023-02-22 09:45:28 +00:00
Dave Syer
635b0a9755
Update to Spring Boot 3.0.2
2023-02-21 11:50:38 +00:00
Dave Syer
b298af380d
Remove unnecessary model attribute
2023-02-21 11:46:22 +00:00
Dave Syer
ca055dbbe1
Update references to Java version in README
...
Fixes #1151
2023-01-27 09:56:03 +00:00
Dave Syer
10b13eb5b1
Address review comment
2023-01-27 09:41:58 +00:00
SmolParascythe
6be2a5870d
Concise readme and link edits
2023-01-27 09:41:24 +00:00
Dave Syer
05468bc14b
Update build.gradle
2023-01-14 14:10:28 +00:00
Dave Syer
6580e8b6cf
Bump Spring Boot and tidy up plugins
2023-01-09 11:55:04 +00:00
Dave Syer
e8e37b35c3
Fix CI
2022-12-20 11:41:53 +00:00
Dave Syer
f5b1ebc965
Update Gradle build
2022-12-20 11:09:10 +00:00
Dave Syer
dade7fcf31
Tweaks for Boot 3.0.0
2022-12-20 10:44:30 +00:00
Sébastien Deleuze
f3a8d244b2
Upgrade to Spring Boot 3.0 RC1
2022-10-25 21:37:40 +02:00
Sébastien Deleuze
f53e0d098e
Additional setup to support native image creation.
...
- Switch to Caffeine for caching since it is supported on native unlike Ehcache
- Use latest metadata repository 0.2.3 (will be the default with Native Build Tools 0.9.15)
- Registers resource hints for WebJars and db resource directory
2022-10-25 21:37:25 +02:00
Oliver Drotbohm
1e56f6fd80
Add JAXB API to compile time dependencies.
...
Needed for JAXB annotations in the sources on Java 17.
2022-10-25 21:34:03 +02:00
Dave Syer
1315cf6e1f
Migrate to Spring Boot 3
2022-10-25 21:34:03 +02:00
Oliver Drotbohm
9ecdc1111e
Polish Thymeleaf templates.
...
Make sure we use the suggested fragment inclusion syntax. Use th:insert instead of th:include. Use simpler URI path segment templating to avoid duplication of expressions.
Avoid trailing slashes in URIs creates as upcoming Spring Boot versions will not map the trailing slash flavors of defined URI mappings.
2022-10-25 21:27:58 +02:00
Sébastien Deleuze
a5cbb8505a
Use WebJars versioned URLs ( #1099 )
...
In order to improve efficiency (see spring-projects/spring-framework#27619 )
and allow native image compatibility, this commit uses WebJars versioned URLs
which are supported out of the box on Spring Boot via /META-INF/resources
default resource location configuration, removing the need to use
webjars-locator-core dependency and WebJarsResourceResolver.
I have been able to measure a consistent 5% startup time improvement on
the JVM with that simple change on my local machine.
2022-10-16 16:12:23 +01:00
Dave Syer
89f7b4ee96
Tweak devcontainer so java and permissions work
2022-09-27 17:14:13 +00:00
Kiyeon Cho
f48227aea0
Readability improvements & Use stream instread of forEach ( #1055 )
...
* Use stream instead of forEach on find PetType logic of parse()
* Improve controllers readability
* Rollback stream instead of for-each
2022-09-24 06:40:31 +01:00
Dave Syer
7e91b98f71
Change CI step names
2022-09-15 07:47:28 +00:00
Dave Syer
70f615afd1
Add support and CI tests for Java 8
2022-09-14 17:05:06 +00:00
Martin Lippert
53343c27ab
launch java tooling in standard mode right away
2022-09-13 11:34:16 +00:00
Dave Syer
d3aabf8462
Attempt to fix codespaces
2022-09-12 11:05:37 +00:00
Dave Syer
39b3ef8b31
Ensure gradle home is set in container
2022-09-05 13:19:53 +00:00
dgcd
276880edef
Upgrade to Gradle 7.5.1 and to Spring Boot 2.7.3
2022-09-05 11:48:27 +00:00
Dave Syer
6f9dbf5a9e
Mention Gradle at top level in README
2022-08-22 11:56:41 +00:00
Shweta Tyagi
c5763046dd
Removed unnecessary semicolons ( #998 )
2022-08-22 10:59:52 +00:00
robertson-neil
a3294f2df7
Upgrade build.grade to spring-boot-starter 2.7.1 ( #1016 )
...
@pivotal-cla This is an Obvious Fix
This fixes a compilation error in PetClinicIntegrationTests
Upgrade to same version as used in pom.xml
2022-08-22 11:48:24 +01:00
Dave Syer
3f8468432d
Upgrade to Boot 2.7.1
2022-06-28 08:35:54 +01:00
Julien Dubois
4f3cbaa9aa
Add the Pivotal extension pack to devcontainers ( #994 )
...
Add Spring Boot extensions
2022-06-16 12:03:22 +01:00
Julien Dubois
5aef5c380c
use Java 17 in devcontainers
2022-06-16 12:02:31 +01:00
Julien Dubois
cbf80df5cc
remove unused import
2022-06-16 12:02:02 +01:00
Dave Syer
5ef819085b
Move vscode settings up a level
2022-06-15 17:39:31 +01:00
kvaithin
80d03f3cef
985 remove lastName method param from OwnerController
2022-06-15 16:15:15 +00:00
Tagir Valeev
2a12048e78
Update javadoc: it incorrectly said to return 'true'
2022-06-15 17:12:59 +01:00
Dave Syer
21b94869e8
Whitespace tidy
2022-06-15 17:01:47 +01:00