Commit graph

243 commits

Author SHA1 Message Date
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
Dapeng
aa8cc431eb simplify jsp layout management
abstract the page layout into “layout.tag”
2016-06-27 17:06:47 +08:00
Dapeng
beb46b2b3b support switching db init script at deployment 2016-06-27 12:35:37 +08:00
Antoine Rey
1f42b7615d #164 Set Dandelion active profile to "prod" when Spring production profile is enabled 2016-06-25 15:27:37 +02:00
Antoine Rey
4da41dbbda #164 Disable cache configuration for unit tests 2016-06-24 21:18:38 +02:00
Antoine Rey
e9f5f7b541 #164 Add main class required by the spring-boot-maven-plugin 2016-06-23 19:46:56 +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
Attilio
ca755be44a Improvements in VisitRepository.findByPetId implementation.
- In the Jdbc implementation: pets belonging to a visit were not added.
- In the Jpa implementation: query variable was wrong.
- Test case: AbstractClinicServiceTests.shouldFindVisitsByPetId()
2016-06-15 22:46:47 +02:00
Antoine Rey
817fabd9ea Fix #155 Fix logback + JMX memory leak on web application reload 2016-06-06 18:37:44 +02:00
Faisal Hameed
ad3d322fc6 Fising squid:S2970, squid:S1192, squid:S1488, squid:UselessParenthesesCheck 2016-05-13 14:59:46 +05:00
Antoine Rey
44b591f537 Using Spring Boot Dataflow UI graphic theme 2016-04-08 18:23:18 +02:00
Antoine Rey
e74b1bc160 #141 Configure Unicode and UTF-8 MySQL database for Chinese language 2016-04-05 22:05:41 +02:00
XIAO XI LIU
e6ca8a37a5 fix issue #144: remove redundant less-than sign 2016-04-05 07:04:33 +08:00
Antoine Rey
9a150fcc45 Merge pull request #131 from ameya-pandilwar/update-link-title
Update link navigation title to make it consistent
2016-04-04 08:36:55 +02:00
Antoine Rey
7dcf82af94 Fix #78 Migrate to Bootstrap 3.x 2016-04-04 08:13:51 +02:00
Antoine Rey
78a2532b33 Merge pull request #136 from lukasz-szewc/staticFiles-jquery-url-fix
Fixes #135 Fixed url for jquery-ui.
2016-03-08 18:23:41 +01:00
lukasz-szewc
87d025f854 fixed url for jquery-ui. There was typo "query" instaed of "jquery" and file cannot be loaded 2016-03-05 18:50:45 +01:00
kadinyazilimci
e7f68999bf owners search has been case insensitive 2016-02-25 09:36:20 +10:00
Ameya Pandilwar
6f349ec2eb Update link navigation title to make it consistent 2016-02-07 18:31:11 -05: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
Tomas Repel
e00dfb3fe0 Using jodatime LocalDate instead of DateTime for visits 2015-11-02 10:51:04 +01:00
Antoine Rey
92de6557e1 Fix #111 For pet's birthday we are now using jodatime LocalDate instead of DateTime 2015-10-28 08:57:42 +01:00
Antoine Rey
4aa89ae4e2 Fix #110 owner and pet validators failed 2015-10-28 08:30:44 +01:00
Antoine Rey
dd552f4970 Fix #108 owner update 2015-10-26 18:35:40 +01:00
Antoine Rey
3bcf84543e #77 move Session scope attributes to the request scope instead 2015-10-23 08:42:27 +02:00
Tomas Repel
2270e2466b Removal of redundant comments 2015-10-16 15:04:17 +02:00
Antoine Rey
09ed33a5fc #96 Reformat code with EditorConfig 2015-10-16 09:33:28 +02:00
Antoine Rey
566fdac3f9 Merge pull request #99 from trepel/removalofputmethod
Removed HTTP PUT method - it is not supported in JSP 2.3
2015-10-14 08:30:22 +02:00
michaelisvy
77bd960b69 Merge pull request #98 from freemansoft/master
Add comments to describe when AOP invoked
2015-10-14 05:17:54 +08:00
Antoine Rey
4bb829cbd1 Fix #101 display the pet type when using the JDBC profile 2015-10-13 18:41:18 +02:00
Antoine Rey
cb0504ee97 #92 add some comments to switch from HSQLDB to MySQL 2015-10-13 08:32:15 +02:00
Tomas Repel
f7498c79df Removed HTTP PUT method - it is not supported in JSP 2.3 2015-10-02 11:33:57 +02:00
Joe Freeman
5a6c108efb Added comments when CallMonitoringAspect called
CallMonitoringAspect is not invoked when spring-data-jpa is used.  Spent
4 hours trying to understand why jmx bean wasn't showing message counts.
Use JPA or JDBC if you want call counts exposed via JMX / AOP
2015-09-30 21:20:34 -04:00
Antoine Rey
06be7eb5be #92 Use column alias 2015-08-20 08:19:57 +02:00
Antoine Rey
91d19d17b8 #92 Fix column 'visits.id' not found on MySql 2015-08-19 18:55:52 +02:00
Antoine Rey
0fdd1504b4 Removing deprecated javadoc 2015-06-29 09:03:58 +02:00
Antoine Rey
7fe5184bc8 Servlet 3.0, JSP 2.2 and EL 2.2 are the minimum required to deploy Petclinic 2015-06-29 09:01:08 +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
80ff54ac03 Fix #89 Web layer: use @Valid whenever possible 2015-06-29 08:37:29 +02:00
Antoine Rey
71f2424542 Remove explicit unboxing 2015-06-24 08:12:43 +02:00
Antoine Rey
6f6fa64dd7 Remove unused VisitRepository from constructor 2015-06-24 08:11:09 +02:00
Antoine Rey
735fb1149b Remove explicit unboxing 2015-06-17 21:07:10 +02:00
michaelisvy
dc0fb9abd8 removing unused method #85 2015-06-17 13:10:00 -05:00
Antoine Rey
5570366cfd Use a simple RowMapper instead of a BeanPropertyRowMapper 2015-06-17 08:30:26 +02:00
michaelisvy
8d20340518 removed unused attribute #64 2015-06-09 17:14:53 +08:00
Antoine Rey
fb64465802 Add some javadoc 2015-06-09 08:40:49 +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