Commit graph

961 commits

Author SHA1 Message Date
Antoine Rey
162d8d8e45 Add Apache 2.0 license #260 2017-11-03 11:11:31 +00:00
Jeric Bryle Sy Dy
cdbfafe077 set pet to owner to avoid null owner when user gets an error on new pet page 2017-09-21 13:31:05 +01:00
Dave Syer
101c9dc690 Update Spring Boot and Thymeleaf versions 2017-06-30 11:07:07 +01:00
Antoine Rey
ffa967c94b spring-petclinic-angular1 repo renamed to spring-petclinic-angularjs 2017-04-12 21:41:00 +02:00
Antoine Rey
fd1c742d4f Do not fail maven build when git directing is missing 2017-03-06 08:12:14 +00:00
Stephane Nicoll
f792522b3d Merge pull request #229 from henri-tremblay:ehcacheback
* pr/229:
  Polish contribution
  Put Ehcache back
2017-02-17 12:32:01 +01:00
Stephane Nicoll
75912a06c5 Polish contribution
Closes gh-229
2017-02-17 12:30:57 +01:00
Henri Tremblay
443d35eae2 Put Ehcache back 2017-02-17 06:22:26 -05:00
Dave Syer
63dadcc07f Make all entity fields private
Encapsulation is better that way (and tere is a getter for all of them
anyway).
2017-02-03 10:04:36 +00:00
Dave Syer
0a51540ad0 Fix serializability of Vet 2017-02-03 10:03:11 +00:00
Stephane Nicoll
be13722cc5 Polish 2017-02-03 08:37:02 +01:00
Stephane Nicoll
d2ec371496 Restore actuator access with Spring Boot 1.5 2017-02-03 08:36:48 +01:00
Stephane Nicoll
126bd97971 Polish 2017-02-03 08:36:08 +01:00
Dave Syer
c7657df854 Remove ehcache (at least temporarily)
The fact that it was still there on the classpath means it needs to
be configured (and fails silently if you don't). Removed to give
us some tmie to reconsider.
2017-02-02 16:04:55 +00:00
Huang YunKun
e8882e8b27 Update CacheConfig link 2017-02-02 16:56:54 +01:00
Dave Syer
90b8df9319 Update to 1.5.1 2017-01-31 15:51:55 +00:00
Dave Syer
80269539e2 Configure caching properly to avoid error in vets 2017-01-08 15:45:30 +00:00
Dave Syer
0f840cd50b Change artifactId to 'spring-petclinic' 2016-12-20 10:47:45 +00:00
Dave Syer
6da37c30d3 Use default cache configuration 2016-12-06 12:04:23 +00:00
Dave Syer
0c7db646ef Make mysql configuration more first class 2016-12-05 21:50:29 +00:00
Dave Syer
8b76a54814 Update mysql readme 2016-12-05 12:05:01 +00:00
Oscar Utbult
837483f1d0 Fix incorrect glyphicon name 2016-12-05 11:46:01 +00:00
Kristof Neirynck
61be1bac41 Fix #207 set pet owner when for has an error 2016-12-05 11:45:37 +00:00
Kristof Neirynck
ca2a66500f Correct view as xml url 2016-12-05 11:45:04 +00:00
Oscar Utbult
7dcae7cc86 Fix Javadoc error 2016-12-05 11:44:37 +00:00
Oscar Utbult
706c6fc647 Replace anonymous class with lambda 2016-12-05 11:44:14 +00:00
Dave Syer
87ee7cadfb Exclude groovy because it isn't used 2016-12-02 12:57:41 +00:00
Dave Syer
cb3156efb2 Add ignores 2016-11-22 11:12:07 +00:00
Dave Syer
195903bdf7 Clarify nature of GitHub org split 2016-11-17 10:58:51 +00:00
Dave Syer
131a588e09 Use wro4j instead of lesscss plugin
It's better maintained and it seems to provide more features
as well.
2016-11-17 10:51:36 +00:00
Antoine Rey
e20b96a4c2 Reference spring-petclinic/spring-framework-petclinic project instead of the legacy branch 2016-11-17 08:34:11 +01:00
Dave Syer
83ff9a50e3 Modularize and migrate to aggregate-oriented domain
Vet, Owner, Visit. The Visit "aggregate" is a little artificial
but it demonstrates a useful point about not holding on to
references of "parent" (reference data) objects, i.e. the Visit has
an Integer petId, instead of a Pet field. In principle this app is
now almost ready to migrate to multiple services if anyone wanted
to do that.
2016-11-14 15:36:21 +00:00
Antoine Rey
8c8599298a Add reference to the spring-petclinic-microservices fork 2016-11-13 19:37:45 +01:00
Antoine Rey
adc92a49cc Using absolute URL 2016-11-12 12:15:19 +01:00
Antoine Rey
2052b0c0a1 Adding "Interesting Spring Petclinic branches and forks" section 2016-11-12 12:13:44 +01:00
Antoine Rey
97f6d4ca0a #192 Adding screenshot 2016-11-12 12:13:29 +01:00
Antoine Rey
0c0da7ac0c Fixing markdown table layout 2016-11-11 22:30:22 +01:00
Dave Syer
9c11c70163 Update readme for Spring Boot fetaures 2016-11-11 09:29:01 +00:00
Dave Syer
095b1a35d9 Move util class to test code 2016-11-10 17:45:54 +00:00
Dave Syer
e38a9feebe Convert to jar with thymeleaf 2016-11-10 17:22:02 +00:00
Antoine Rey
3450c3d99e Add Git commit information to the /manage/info endpoint 2016-10-17 08:29:36 +02:00
Antoine Rey
d69b89691c Fix #171 Jetty 9 support by removing Dandelion 2016-10-08 09:50:04 +02:00
Antoine Rey
f78ee5d76e Using the @CacheResult JSR-107 JCache annotation 2016-10-06 20:01:50 +02:00
Antoine Rey
6ff35b6c22 Update Springboot Petclinic version to 1.4.1 2016-10-01 13:00:46 +02:00
Antoine Rey
b889abbe7f Replace SpringJUnit4ClassRunner by SpringRunner 2016-10-01 13:00:25 +02:00
Antoine Rey
c0ac1ffda6 Upgrade to Spring Boot 1.4.1 2016-09-25 18:33:13 +02:00
Dapeng
a9b6565fcf Remove dependency with joda time to simplify the project dependencies 2016-09-25 18:25:33 +02:00
Antoine Rey
4d90e7e394 Display build-related information into the /manage/info endpoint 2016-09-15 20:28:57 +02:00
Antoine Rey
d189dbf4be Merge pull request #182 from snicoll/ehcache3
Upgrade to Ehcache 3 and Java config
2016-08-29 22:18:22 +02:00
Stephane Nicoll
a41b83a2fd Upgrade to Ehcache 3
I saw on twitter the reference of an article (in french):
http://javaetmoi.com/2016/08/migrer-vers-spring-boot/

That article concludes with something along the lines of  "Besides the
EhCache and Maven configuration, Petclinic does not hold a single line
of XML anymore".

Looking at the code, we can remove more XML if you want. This PR migrates
the cache infrastructure to EhCache 3 and JCache (JSR-107). This also
reduces the number of dependencies.
2016-08-29 18:48:12 +02:00