Commit graph

111 commits

Author SHA1 Message Date
Alan Drozd
d568bcaf0b Fix including template in layout fragment
Closes gh-319
2018-05-13 11:08:45 +02:00
Antoine Rey
d92a4218dd Add placeholder YYYY-MM-DD for date input field
Closes gh-303
2018-02-22 11:03:05 +01:00
Stephane Nicoll
106226929b Fix actuator exposure 2018-02-22 10:57:12 +01:00
Ray Tsang
c5abf45cbc Fix datasource initialization property
Closes gh-301
2018-02-22 10:35:34 +01:00
Dave Syer
14ef611d70 Update to Spring Boot 2.0 snapshots 2018-01-09 17:50:14 +00:00
Dave Syer
c36452a2c3 Use leading / in app URL
Fixes gh-267
2017-11-03 14:17:56 +00:00
thetric
5b0f037d06 fix: make id 'lastName' in findOwners.html unique
previously the div.control-group and the containing input shared the same id
2017-11-03 11:32:19 +00:00
dastier
3e65dee237 fix button text in createOrUpdatePetForm.html in case of new pet (issue #252) 2017-11-03 11:31:53 +00:00
Henri Tremblay
443d35eae2 Put Ehcache back 2017-02-17 06:22:26 -05: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
Dave Syer
80269539e2 Configure caching properly to avoid error in vets 2017-01-08 15:45:30 +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
ca2a66500f Correct view as xml url 2016-12-05 11:45:04 +00: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
Dave Syer
e38a9feebe Convert to jar with thymeleaf 2016-11-10 17:22:02 +00:00
Antoine Rey
d69b89691c Fix #171 Jetty 9 support by removing Dandelion 2016-10-08 09:50:04 +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
Dapeng
beb46b2b3b support switching db init script at deployment 2016-06-27 12:35:37 +08:00
Antoine Rey
4da41dbbda #164 Disable cache configuration for unit tests 2016-06-24 21:18:38 +02:00
Antoine Rey
a6e81a51a0 #164 Spring Boot version of Petclinic ready to deploy to an external web container (ie Tomcat) 2016-06-23 19:42:02 +02:00
Antoine Rey
817fabd9ea Fix #155 Fix logback + JMX memory leak on web application reload 2016-06-06 18:37:44 +02:00
Antoine Rey
e74b1bc160 #141 Configure Unicode and UTF-8 MySQL database for Chinese language 2016-04-05 22:05:41 +02:00
Antoine Rey
7dcf82af94 Fix #78 Migrate to Bootstrap 3.x 2016-04-04 08:13:51 +02:00
kadinyazilimci
e7f68999bf owners search has been case insensitive 2016-02-25 09:36:20 +10:00
thinksh
0504ec9fe3 Update petclinic_db_setup_mysql.txt
Correct initialization script file's name
2016-02-03 23:19:46 -05:00
Antoine Rey
c65cfb6c11 moving from Webjars to Bower #83: renaming bower_components to vendor, update readme.md 2016-01-30 14:00:12 +01:00
IHABRITANE
540d31ed21 moving from Webjars to Bower #83 2016-01-25 17:22:41 +00:00
Antoine Rey
09ed33a5fc #96 Reformat code with EditorConfig 2015-10-16 09:33:28 +02:00
Antoine Rey
cb0504ee97 #92 add some comments to switch from HSQLDB to MySQL 2015-10-13 08:32:15 +02:00
michaelisvy
54b7d87ff2 Fixing log back warning per #59 2015-05-20 23:18:19 +08:00
michaelisvy
c00d1abf23 Merge pull request #72 from ka2m/master
Update JDBC file naming in MySQL setup instruction
2015-05-20 23:14:45 +08:00
michaelisvy
91ed548481 removing xdd version number
so we always use the latest in the classpath
2015-05-12 19:55:15 +08:00
michaelisvy
80c1d243a1 Removed RSS/rome and added JSon
RSS is becoming outdated, JSon is a better example
2015-05-12 19:07:35 +08:00
Vlad Selpukhin
099b848b62 Update JDBC file naming in MySQL steup instruction 2015-04-23 15:43:48 +03:00
michaelisvy
85c8237fb5 added comment on <mvc:default-servlet-handler /> 2014-11-28 13:40:46 +09:00
michaelisvy
92e7ab43be Simplified ContentNegoViewResolver config
- Now using namespace, much simpler (11 lines instead of 27)
- Just a minor issue with:
<bean class="org.springframework.web.servlet.view.JstlView">
	<property name="url" value="" />
</bean>
(should investigate later if we can remove “url” attribute
2014-11-28 12:45:57 +09:00
michaelisvy
ce50e80736 Merge pull request #42 from bram-atmire/documentation-fix
update db_readme.txt to reflect properties rename
2014-06-02 08:41:51 +08:00
Thibault Duchateau
e99c67a4bb Upgraded Dandelion-Datatables to the latest release (v0.10.0)
* The old datatables-servlet2 dependency has been removed from the pom.xml
 * Some attributes have been renamed (e.g. paginate => pageable)
 * Starting from the v0.10.0, all web components (servlet, filter) must be explicitely declared in the web.xml file. That's why I added the following declaration: DandelionFilter, DandelionServlet and DatatablesFilter
 * Added a new datatables.properties file in order to disable the asset management brought by Dandelion-Core. This is equivalent to the old cdn=true table attribute
2014-05-31 11:02:32 +02:00
Bram Luyten
1341c12d1f update db_readme.txt to reflect properties rename
jdbc.properties was renamed to data-access.properties, but this file still referred to the old name.
2014-05-11 18:37:42 +02:00
Mic
5cfd482edc removed default profile and replaced with "jpa" 2013-12-16 20:58:15 +09:00
Mic
b7764e39b2 Added comments to explain how database dialect is configured #33 2013-09-27 09:33:09 +08:00
Cyrille Le Clerc
e15e45b5e2 Spring MVC should server static resources (*.html, ...) located in src/main/webapp instead of returning "404 Not Found" 2013-08-10 19:49:01 +02:00
Cyrille Le Clerc
2eaf4983a1 Introduce a "jee" Spring profile to retrieve the datasource with a JNDI lookup. 2013-07-01 12:13:29 +02:00
Cyrille Le Clerc
8c5bbed6d0 Allow to override data-access.properties with System Properties 2013-06-28 11:32:04 +02:00
Mic
c13f141251 introducing a "default" profile so default configuration is simpler 2013-06-28 12:00:29 +08:00
Mic
eb8ba79ba1 moved cache config files to dedicated folder 2013-06-05 09:04:41 +08:00