Commit graph

379 commits

Author SHA1 Message Date
Dave Syer
3eba970fff Fix page links 2021-11-19 13:34:47 +00:00
Dave Syer
8bfe9e68bf Tidy imports 2021-10-19 10:55:07 +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
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
Cesarion Pshebytski
8b1ac6736e Updated user for mysql
Updated creation of user for mysql db. Previously lack of quotes resulted in creation of incorrect user (petclinic@% instead of just petclinic)
2020-11-06 11:13:25 +00:00
Rognetta
4953f87917 Update application-mysql.properties
Add some environment variables with defaults for the MySQL
credentials.

Closes #506
2020-06-25 17:12:30 +01:00
aleVeD
0390e85c25 adding new message in Spanish 2020-06-23 19:17:42 +01:00
Dave Syer
07b9d5aa45 Ensure fragment for menu items is not itself rendered
Formerly there was a "ghost" menu item with no text and no icon
because Thymeleaf had not been instructed to remove the fragment
definition. This change tidies that up and also removes the use of
the "path" variable, which Thymeleaf populates from the current
request context, and poses a potential security threat as a
result (if users type malicious characters in the URL).
2020-06-13 14:56:10 +01:00
Jay
410abc21f3 remove trailing slash 2020-06-13 14:06:34 +01:00
Stephane Nicoll
628862206b Switch actuator to standard path 2020-05-02 08:02:49 +02:00
Stephane Nicoll
8805eaa721 Disable open-in-view explicitly to remove warning on startup 2020-03-20 18:27:18 +01:00
Stephane Nicoll
c0847b7571 Add support for H2
Closes gh-584
2020-03-20 18:27:18 +01:00
Dave Syer
5c35771a20
Wrong name for user.sql script 2020-03-10 08:29:36 +00:00
Stephane Nicoll
1cc942a4ad Add nohttp check 2020-01-31 17:31:19 +01:00
Dave Syer
4e1f87407d Apply spring-format plugin 2020-01-03 11:22:05 +00:00
Dave Syer
5d57e0d5e2 Re-organise mysql scripts so the app runs without root access
It works better that way with test containers and in k8s.
2020-01-03 05:29:11 -05:00
Dave Syer
1561eb5506 Add proxyBeanMethods = false
It's slightly faster, and we don't need proxies in this app.
2019-11-20 10:21:33 +00:00
Dave Syer
2c98a681ca Uncomment sql initialization for mysql 2019-11-20 09:56:32 +00:00
Stephane Nicoll
253e6fde5f Polish "Migrate tests to JUnit 5"
See gh-360
2019-10-20 16:49:17 +02:00
Antoine Rey
ac69dbba23 Migrate tests to JUnit 5
See gh-360
2019-10-20 16:43:25 +02:00
Stephane Nicoll
ce7c3f93de Upgrade to Spring Boot 2.2.0.RELEASE 2019-10-20 16:40:04 +02:00
trisberg
e280d12144 Fix docs on mysql, use initialization-mode 2019-09-23 22:14:15 +02:00
Dave Syer
7ef045dac8 Make Pet.visits @Transient
In that way the Pet and Visit entities are more modular, and we
don't have to rely on a bit of a hack which is that Hibernate
happily maps Pet to its ID in the entity generation (but fails
if you do it at compile time).
2019-09-06 09:14:44 +01:00
Dave Syer
e157f200f8 Clarify the docs on mysql 2019-06-21 14:45:39 +01:00
Choonghee Lee
11d0ed4358 update table id attribute in ownersList.html
"vets" to "owners"
2019-06-05 13:41:27 +01:00
Stephane Nicoll
8919c7317b Polish "Cleanup tests by using more idiomatic assertj assertions"
See gh-418
2019-06-01 18:09:33 +02:00
Johannes Wengert
3f838c2df2 Cleanup tests by using more idiomatic assertj assertions
See gh-418
2019-06-01 18:03:52 +02:00
Stephane Nicoll
be24e0c15e Fix Apache license headers 2019-03-21 11:08:00 +01:00
Stephane Nicoll
765680c010 Polish "URL Cleanup"
Closes gh-397
2019-03-21 11:05:45 +01:00
Spring Operator
f4bed3cc17 URL Cleanup
See gh-397
2019-03-21 11:04:51 +01:00
Stephane Nicoll
0c59090c1a Polish 2019-03-20 11:13:21 +01:00
Dave Syer
827dc12325 Revert "Remove redundant component scan filter"
This reverts commit ab56724285.
2019-02-11 08:08:57 +00:00
Dave Syer
ab56724285 Remove redundant component scan filter
The @DataJpaTests creates all the repositories. There's no need
for a filter (and there aren't any matching @Service beans anyway).
2018-12-17 16:41:44 +00:00
Stephane Nicoll
895730caf9 Simplify build definition 2018-10-07 13:40:45 +02:00
Stephane Nicoll
893a18f595 Polish "Clarify cache configuration"
Closes gh-335
2018-07-13 16:57:48 +02:00
Jens Wilke
22ff39853d Clarify cache configuration
See gh-335
2018-07-13 16:52:34 +02:00
Stephane Nicoll
895422b8c8 Polish "Enable caching of static resources"
Closes gh-332
2018-07-10 09:10:03 +02:00
Antoine Rey
46babdad7c Enable caching of static resources
See gh-332
2018-07-10 08:57:21 +02:00
Stephane Nicoll
3c9afdc138 Polish 2018-07-10 08:55:27 +02:00
Stephane Nicoll
5ff057d90b Remove misleading production profile
Closes gh-333
2018-07-10 08:50:58 +02:00
Antoine Rey
e7eabca111 Adapt JMeter script to recent changes
Closes gh-330
2018-07-09 17:52:35 +02:00
Stephane Nicoll
4c22d010ea Polish "Use Java 8 LocalDate instead of java.util.Date"
Closes gh-328
2018-07-09 16:47:34 +02:00
Antoine Rey
c0748e3e82 Use Java 8 LocalDate instead of java.util.Date
See gh-328
2018-07-09 16:47:16 +02:00
Stephane Nicoll
5270246eb5 Polish 2018-06-04 10:54:27 +02:00
Stephane Nicoll
eebca43df8 Polish "Fix content negotiation for /vets"
Closes gh-326
2018-06-04 10:48:39 +02:00
Aiden-at-508687582768
8eb5074770 Fix content negotiation for /vets
See gh-326
2018-06-04 10:39:21 +02:00