Commit graph

299 commits

Author SHA1 Message Date
Dave Syer
13f1bfb079 Update to Boot 2.1.0 2018-11-15 04:24:58 +08:00
Stephane Nicoll
895730caf9 Simplify build definition 2018-10-07 13:40:45 +02:00
Stephane Nicoll
d49cc42ae5 Add missing repository definition 2018-10-06 16:40:10 +02:00
Stephane Nicoll
1feea1f441 Polish 2018-10-06 16:37:33 +02:00
Dave Syer
e823df3657 Update to Spring Boot 2.1 2018-10-05 11:36:56 +01:00
Stephane Nicoll
60105d5d9a Use Jacoco rather than cobertura 2018-08-09 10:47:13 +02:00
Stephane Nicoll
73c9ac5acb Upgrade to Spring Boot 2.0.4.RELEASE 2018-08-09 10:12:57 +02:00
Stephane Nicoll
415bd73893 Fix devtools module declaration 2018-07-10 08:43:13 +02:00
Dave Syer
38bd3280cb Update to Boot 2.0.3 2018-06-20 13:58:30 +01:00
Stephane Nicoll
4d6ee8410d Upgrade to Spring Boot 2.0.2.RELEASE 2018-06-04 10:49:45 +02:00
Stephane Nicoll
b527de52f5 Upgrade to Spring Boot 2.0.0.RELEASE 2018-03-14 16:32:27 -04:00
Stephane Nicoll
dfcd30be60 Fix project's version 2018-02-22 10:46:09 +01:00
Stephane Nicoll
cdd802eeee Update webjars-locator dependency 2018-02-21 10:48:01 +01:00
Dave Syer
6730a229a0 Add repository declarations for snapshots 2018-01-20 09:38:36 +00:00
Dave Syer
c91b73e75e Update version of Petclinic 2018-01-11 09:16:04 +00:00
Dave Syer
14ef611d70 Update to Spring Boot 2.0 snapshots 2018-01-09 17:50:14 +00:00
Antoine Rey
162d8d8e45 Add Apache 2.0 license #260 2017-11-03 11:11:31 +00:00
Dave Syer
101c9dc690 Update Spring Boot and Thymeleaf versions 2017-06-30 11:07:07 +01:00
Antoine Rey
fd1c742d4f Do not fail maven build when git directing is missing 2017-03-06 08:12:14 +00: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
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
Dave Syer
90b8df9319 Update to 1.5.1 2017-01-31 15:51:55 +00:00
Dave Syer
0f840cd50b Change artifactId to 'spring-petclinic' 2016-12-20 10:47:45 +00:00
Dave Syer
0c7db646ef Make mysql configuration more first class 2016-12-05 21:50:29 +00:00
Dave Syer
87ee7cadfb Exclude groovy because it isn't used 2016-12-02 12:57:41 +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
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
6ff35b6c22 Update Springboot Petclinic version to 1.4.1 2016-10-01 13:00:46 +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
Antoine Rey
b96e1093d3 Add a Dockefile and configure the docker-maven-plugin 2016-08-29 18:47:47 +02:00
Antoine Rey
2637f65b90 Upgrade to Spring Boot 1.4.0 2016-08-17 18:31:38 +02:00
Antoine Rey
515f8d99fd Fix jQuery version 2016-06-30 20:02:53 +02:00
Antoine Rey
616386803c Revert "Make jar not war"
This reverts commit be048ae2ac.
2016-06-28 20:08:26 +02:00
Antoine Rey
be048ae2ac Make jar not war 2016-06-28 20:01:32 +02:00
Antoine Rey
fd524d05d5 Centralized framework versions to the properties section 2016-06-28 19:52:59 +02:00
Dapeng
eb6f9343ad migrate to webjars for frontend resource management
- petclinic.css is now auto generated, therefore it is put in the
ignore list
- vendor folder is removed in favour of webjars
- remove several maven dependencies which are already managed by spring
boot
- unfortunately, lesscss maven plugin does NOT support importing from
classpath, as a result, bootstrap is unpacked during process-resources
phase, we need need to find a better resolution
- remove bower integration
2016-06-28 18:02:53 +08:00
Dapeng
077f4eb105 simplify content negotiation setup
- remove custom xml view, use springboot builtin xml view
- remove oxm maven dependency
- remove json-simple maven dependency (seems not relevant anymore)
- update vetsXml test using xpath
2016-06-28 11:05:42 +08: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
44b591f537 Using Spring Boot Dataflow UI graphic theme 2016-04-08 18:23:18 +02:00
Antoine Rey
7dcf82af94 Fix #78 Migrate to Bootstrap 3.x 2016-04-04 08:13:51 +02:00
Antoine Rey
482eeb1c21 Revert "Jetty 9.3 support"
This reverts commit 4b1f7a7a58.
2016-03-13 10:14:05 +01:00
Antoine Rey
4b1f7a7a58 Jetty 9.3 support 2016-03-13 10:10:30 +01:00
Antoine Rey
203d20efcc Upgrade to Spring IO Platform 2.0.3 2016-03-09 08:40:57 +01:00
Antoine Rey
843ce282eb Upgrade to Spring IO Platform 2.0.2 2016-02-05 20:21:54 +01:00
Antoine Rey
3a9e0f3f12 Align petclinic version to the Spring Framework one 2016-01-30 14:32:27 +01:00
Antoine Rey
95de1d9f8b Using Mockito and Hamcrest version from the Spring.IO Platform 2016-01-30 14:30:19 +01:00
Antoine Rey
2398c4d798 Merge pull request #119 from colinbut/master
Added test classes for Controllers plus tests for PetTypeFormatter
2016-01-30 14:26:26 +01:00
IHABRITANE
540d31ed21 moving from Webjars to Bower #83 2016-01-25 17:22:41 +00:00
michaelisvy
a768e877ef fixed ehcache dependency 2015-12-22 17:19:34 +01:00
michaelisvy
71fa089df3 Spring IO platform 2.0.1
#121
2015-12-22 17:12:49 +01:00
Colin But
845d31e8ed Added test class for Controllers plus a test for PetTypeFormatter 2015-11-20 13:56:44 +00:00
Tomas Repel
63d8f1213c Update of Dandelion to 1.1.1 2015-10-19 10:53:10 +02:00
Antoine Rey
09ed33a5fc #96 Reformat code with EditorConfig 2015-10-16 09:33:28 +02:00
Antoine Rey
1aef94d6a8 #95 Downgrade to AssertJ 2.2.0 to be compatible with Java 7 2015-10-16 08:03:19 +02:00
Antoine Rey
8b5d980416 Fix #95 migrate to AssertJ 3.2.0 2015-10-14 08:29:37 +02:00
Antoine Rey
cb0504ee97 #92 add some comments to switch from HSQLDB to MySQL 2015-10-13 08:32:15 +02:00
michaelisvy
e0be3a39b6 added temporary fix for json-simple 2015-10-02 15:51:56 +08:00
michaelisvy
39ab8361d4 moved spring-data dependency to boot-starter 2015-07-25 19:44:53 +08:00
michaelisvy
85a2be1c11 adding spring boot starter and removing spring-aop 2015-07-25 19:38:02 +08:00
michaelisvy
8e3848f9c5 upgraded to latest version of Dandelion 2015-07-25 19:30:23 +08:00
Antoine Rey
122c8a74b9 Upgrade to Spring IO platform v1.1.3. 2015-07-15 21:53:05 +02:00
Antoine Rey
7326267c48 #90 Remove the json-path version which be inherited from the spring.io BOM 2015-07-02 18:20:17 +02:00
Antoine Rey
bc9682cfb3 #87 Downgrade to AssertJ 2.1.0 in order to build Petclinic with the JDK 7 2015-07-02 18:15:25 +02:00
Antoine Rey
11af3ae3e9 #90 Reduce the POM size by inheriting from the spring.io BOM 2015-07-02 08:11:02 +02:00
Antoine Rey
8b625617cb #87 Petclinic should be compatible with Java 7 for the time being 2015-06-29 08:50:04 +02:00
Antoine Rey
a07cf69292 Fix #88 upgrading to Hibernate Validator 5.1.3 2015-06-25 18:33:25 +02:00
Antoine Rey
5e56bc222b Using JSP and JSTL version from the <properties> section 2015-06-24 21:15:29 +02:00
Antoine Rey
818529b5b1 #64 Remove N+1 select by using the OneToManyResultSetExtractor of Spring Data Core JDBC Extensions 2015-06-09 08:37:20 +02:00
michaelisvy
b265fc802d Adding instruction to fix build on Maven 3.2.x 2015-05-29 15:16:17 +08:00
michaelisvy
3945cbaeba Fixing #54
Petclinic doesn't work with Java 8
2015-05-20 21:43:19 +08:00
michaelisvy
271225c29a libs upgrade 2015-05-13 01:07:57 +09:00
michaelisvy
4c859ed512 minor update on comment 2015-05-12 19:52:00 +08:00
michaelisvy
a59505897d removed unused dependency to spring-jms 2015-05-12 19:11:11 +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
michaelisvy
c2c404bff5 JSon support
- added json-path to pom.xml
- added a simple test for Veterinarians
2015-05-12 18:55:24 +08:00
michaelisvy
ecd9ccb227 fixed POM configuration issue for Spring Data 2015-05-11 09:44:33 +08:00
michaelisvy
f958964c3c moving to Java 1.8 by default 2015-05-11 08:39:59 +08:00
michaelisvy
f760aaf9d5 removing unneeded dependency-management block 2015-05-10 06:44:17 +08:00
michaelisvy
aeec7104ba Adding Maven config for Cobertura 2015-04-14 09:27:25 +08:00
michaelisvy
74d61b38e0 update libraries 2015-03-26 17:04:22 +08:00
michaelisvy
1dfc3b7a3a Migrated test assertions to AssertJ 2015-01-20 22:02:34 +08:00
michaelisvy
35a179f88b latest versions and imports cleanup 2015-01-20 21:21:27 +08:00
michaelisvy
ecefae2073 Upgraded to latest Spring Data and AspectJ 2014-12-05 13:40:07 +08:00
michaelisvy
8929d373ec upgraded to Spring Data 1.7.0 2014-10-18 23:39:29 +08:00
michaelisvy
475f5f5349 migrated to Spring 4.1.1.RELEASE
Also had to make changes because Spring now uses com.rometools for RSS
feeds
See here for more details: https://jira.spring.io/browse/SPR-11893
2014-10-18 23:36:15 +08:00
michaelisvy
f5cf426e43 upgraded to Joda Time 2.5 2014-10-18 22:28:30 +08:00
Mic
0a03a05590 moved to AspectJ 1.8.2 and Dandelion 0.10.1 2014-08-26 10:51:01 +08:00
Mic
df1596b78c using latest versions of hibernate, spring-data, joda... 2014-08-08 13:55:01 +08:00
Mic
9f6814d7db updated versions of Spring Data and AspectJ 2014-07-02 05:55:16 +08:00
Mic
a04d789db9 versions upgrade. 2014-06-05 00:01:17 +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
Mic
ce7e6e8bdc updated URL on cloud foundry 2014-04-12 23:54:45 +08:00
Mic
8ee6c79fe0 updated lib versions 2014-04-12 23:29:02 +08:00
Mic
c8759c4b9e upgraded version of SLF4J 2014-03-03 21:32:35 +08:00
Mic
a4f18cb238 migrating to Hibernate 4.3.3.Final 2014-03-03 21:26:12 +08:00
Mic
35a94eaa5d migrating to Spring 4.0.2 2014-03-03 21:24:29 +08:00
Mic
53abaf51e5 upgrading jadira-usertype 2014-02-03 09:59:48 +08:00
Mic
1e1a149fec migrated to ehcache 2.6.8 2014-02-03 09:56:07 +08:00
Mic
50f0bc9352 migrated to LogBack 1.1.0 2014-02-03 09:50:56 +08:00
Mic
43216fb185 migrated to Hibernate 4.3.1 2014-02-03 09:48:51 +08:00
Mic
053c84ecc9 migrated to Spring 4.0.1 2014-02-03 09:31:44 +08:00
Mic
ea81fe07d8 Spring Data JPA: migrated to 1.4.3.RELEASE 2013-12-16 20:43:21 +09:00
Mic
377bc63033 migrated pom to Spring 4 and Servlet 3 2013-12-13 10:31:31 +08:00
Mic
8a6714592d migrated to dandelion 0.9.3 2013-12-13 08:15:24 +08:00
Mic
74abfb1a35 migrated to Spring 3.2.5 2013-11-24 17:16:55 +05:30
Mic
c4b9b0b119 migrated to the latest version of jquery and jquery-ui 2013-11-06 08:58:15 +08:00
Mic
31b602287f migrated to latest version of Spring Data and HSQLDB 2013-11-06 08:33:31 +08:00
Mic
18c3dac027 updated to latest version of AspectJ and Dandelion datatables 2013-11-06 08:29:27 +08:00
Mic
f6538959ab migrating to Dandelion 0.9.1 2013-09-25 08:50:22 +08:00
Mic
729275b0cb migrating to Spring Data 1.4.1 2013-09-25 08:47:16 +08:00
michaelisvy
5797f0b7aa Merge pull request #29 from cyrille-leclerc/fix-spring-version
pom:xml: use <dependencyManagement> to force versions of spring-core, spring-context and spring-beans
2013-08-25 02:54:59 -07:00
Mic
91b61f4264 migrated to joda-time 2.3 2013-08-25 17:05:24 +08:00
Cyrille Le Clerc
706b1398b8 pom:xml: use <dependencyManagement> to force versions of spring-core, spring-context and spring-beans to 3.2.x. instead of exclusions on spring-data-jpa dependency because Maven sometimes pulls both versions 3.2.x and 3.1.x versions of coring-core, spring-beans and spring-context. 2013-08-10 19:39:59 +02:00
Mic
657b8688e9 migrated to Spring 3.2.4 2013-08-09 08:05:16 +02:00
Mic
6902cb8cf9 migrated to latest version of Spring Data, tomcat-jdbc and hsqldb 2013-08-01 09:50:56 +02:00
Mic
d279d45a5b version upgrade 2013-06-28 10:10:22 +08:00
Mic
4f8063e9b8 #18 fixing 2 errors related to ValidatorTests
- test didn't have the suffix "Tests" so it was not taken into account
when running Maven in the comand line
- the POM was not configured so it can find Spring config files placed
inside src/test/java
2013-06-08 21:15:34 +08:00
Mic
d1cc655aae migrated from commons-dbcp to tomcat-jdbc 2013-06-05 08:59:59 +08:00
Mic
bd9446e091 removed unneeded dependencies 2013-05-24 18:02:50 +08:00
Mic
6a1b4dd157 updated version of spring data and removed unused dependencies 2013-05-24 10:31:42 +08:00
Mic
46201191e8 upgraded version numbers for ehcache, logback, jadira-usertype, dandelion 2013-05-19 22:46:14 +08:00
Mic
297e98fb05 version upgrades on Hibernate, Dandelion, jadira-usertype 2013-05-06 09:39:41 +08:00
Mic
c88e3d462a added a JUnit test for Bean Validation 2013-05-03 10:36:54 +08:00
Mic
9489b926ec currently reverting to hibernate validator 4.3.1.Final as there seems to be some issues with EL lib 2013-05-02 18:03:32 +08:00
Mic
2b98dcd2af migrated to Hibernate Validator 5.0.1 (see https://hibernate.atlassian.net/browse/HV-790) 2013-05-02 12:28:43 +08:00
Mic
753e8ea1c0 upgraded to latest versions of Logback, jaxb and Joda Time taglibs 2013-05-01 07:43:16 +08:00
Mic
1741e85044 migrated to Hibernate-Validator 5.0.0.Final and solved EL issue
See here for more details about EL issue:
https://hibernate.atlassian.net/browse/HV-790
2013-04-25 09:00:20 +08:00
Mic
94109017de upgrading version of HIbernate Validator
But didn't upgrade to the latest due to an incompatibility with Tomcat
6.x.
2013-04-22 12:48:12 +08:00
Mic
bd0ffc1bed migrated to latest version of dandelion and jadira-usertype 2013-04-22 11:45:02 +08:00
Mic
16e3e4be6d version updates and simplification on some dependencies 2013-04-18 10:09:28 +08:00
Mic
14d1b4d779 simplifying logging dependencies 2013-04-15 17:17:45 +08:00
Mic
357ee0b78e did some cleaning on logging dependencies 2013-04-04 15:11:07 +08:00
Mic
1a42038726 migrated to Dandelion 0.8.9 2013-03-27 12:31:34 +11:00
Mic
0cb2b68eee clarified links for dandelion-datatables and migrated to dandelion 0.8.8 2013-03-20 17:57:07 +08:00
Mic
e2d80d3b49 removing duplicate 2013-03-15 22:14:33 +08:00
Mic
d58d6176a2 upgraded to dandelion 0.8.7 2013-03-15 16:22:15 +08:00
Mic
3b922a1390 added jsp-api dependency back
- transitive dependency didn't have the right version
- that was causing an incompatibility with Tomcat 6
2013-03-15 10:54:51 +08:00
Mic
c0d183ce3d removed lots of unused dependencies 2013-03-15 10:34:09 +08:00
Mic
7c2e6ded0e removed direct dependency to spring-bean because it's already there as a transitive dependency 2013-03-15 10:24:07 +08:00
Mic
d08173dbf1 removed unused dependency jDom 2013-03-15 10:18:24 +08:00
Mic
28b3b296fb removing unused dependency commons-pool 2013-03-15 10:15:50 +08:00
Mic
c49b0ae500 removed unused dependency commons-lang3 2013-03-15 10:13:57 +08:00
Mic
c5bb1e3ec7 removed unused dependency javassist 2013-03-15 10:11:29 +08:00