Commit graph

435 commits

Author SHA1 Message Date
Antoine Rey
1080006218 Merging AbstractClinicServiceTests and ClinicServiceSpringDataJpaTests then using the Spring Boot @DataJpaTest annotation 2016-08-19 18:29:17 +02:00
Antoine Rey
2637f65b90 Upgrade to Spring Boot 1.4.0 2016-08-17 18:31:38 +02:00
AndrejGajdos
dbd1e54492 responsive menu fix
responsive menu fix - data-target attribute added
2016-08-16 19:09:35 +02:00
Antoine Rey
bbc1c8bb80 Add some missing trimDirectiveWhitespaces on JSPs 2016-06-30 19:07:54 +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
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
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
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
Colin But
845d31e8ed Added test class for Controllers plus a test for PetTypeFormatter 2015-11-20 13:56:44 +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
Antoine Rey
6a94d7e60a Remove uncessary _method=put parameter and enable the "POST new visit" HTTP request 2015-10-21 08:25:07 +02:00
Antoine Rey
5e11b4bbcc JMeter script from Julien Dubois 2015-10-20 18:59:55 +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
98d9bbb629 Removing reference to the unknown UserResource class 2015-06-24 18:43:45 +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
ca3bb07fa4 Remove unused WebApplicationContext property 2015-06-18 18:29:49 +02:00
Antoine Rey
1b4d4256c4 Fix typo into javadoc 2015-06-18 18:28:31 +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
michaelisvy
cb6bd875de Putting encoding filter first per #80 2015-05-29 15:20:10 +08:00
michaelisvy
72dc0c882f Merge pull request #48 from 7footmoustache/patch-1
Fixed some typos in comments
2015-05-20 23:28:00 +08:00
michaelisvy
83301cb602 Centering content 2015-05-20 23:21:37 +08: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
c553d39f8d Merge pull request #67 from mklose/patch-1
fix typo
2015-05-20 23:13:04 +08:00
michaelisvy
c8e360298b fixed bug: vets.html did not display properly 2015-05-13 01:07:46 +09: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
4c859ed512 minor update on comment 2015-05-12 19:52:00 +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
9914056a81 removing test that causes lots if issues
Happens since introduction of new mvc namespace tag for
content-negotiation
2015-05-10 06:45:39 +08:00
michaelisvy
694390d0c2 migrated assertion to assertJ 2015-05-10 06:33:10 +08:00
Vlad Selpukhin
099b848b62 Update JDBC file naming in MySQL steup instruction 2015-04-23 15:43:48 +03:00
michaelisvy
38a5b28e29 Improving/fixing comments 2015-04-14 09:27:41 +08:00
mklose
3f2d3ba72a fix typo 2015-04-01 16:39:51 +02:00
michaelisvy
cc4ae966c6 removed deprecated Mapper in Jdbc 2015-01-21 18:22:46 +08:00
michaelisvy
d8a2b5c737 cleanup on tests 2015-01-20 22:25:24 +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
3e4512781e Sonar review: made code more readable 2015-01-16 09:25:36 +08:00
michaelisvy
1c9b401248 cleaned up if statement in controller 2015-01-16 09:22:40 +08:00
michaelisvy
5c9ab6bd06 test methods:used should/shouldNot 2015-01-16 09:08:22 +08:00
michaelisvy
7080682d3e workaround because there seems to be a conflict
There seems to be a conflict between the following:

1) New MVC namespace syntax:
<mvc:content-negotiation use-not-acceptable="true">
	    	<mvc:default-views>
	      		<bean class="org.springframework.web.servlet.view.JstlView">
	      			<property name="url" value="" />
	      		</bean>
	    	</mvc:default-views>
	  	</mvc:content-negotiation>

2) Inside my Unit test:
ResultActions actions =
this.mockMvc.perform(get("/vets.xml").accept(MediaType.TEXT_XML));
        actions.andDo(print()); // action is logged into the console

        actions.andExpect(status().isOk());
2014-12-05 13:41:55 +08:00
michaelisvy
d7b100f90d Removed 'Help' from menu
We were planning to create a ‘help’ but it never happened
2014-11-28 13:54:31 +09:00
michaelisvy
49c39b65dc renamed headTag.jsp -> staticFiles.jsp 2014-11-28 13:52:09 +09:00
michaelisvy
85c8237fb5 added comment on <mvc:default-servlet-handler /> 2014-11-28 13:40:46 +09:00
michaelisvy
6e079b23bb Error control on description was missing
Took that opportunity to use custom tag (14 lines versus 2 lines)
2014-11-28 13:25:17 +09:00
michaelisvy
f0bf692767 Moving "visit" object to request scope
Previously was in session scope (doesn’t scale as well)
2014-11-28 13:19:25 +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
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
74f683aaa9 Fixed typo 2014-10-18 22:13:01 +08:00
Craig Dennis
de73bdce6b Fixed some typos in comments 2014-07-07 21:19:40 -07: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
3f0bfbbdbe updates logo 2014-04-12 23:28:53 +08:00
Mic
622291aba7 Merge branch 'master' of https://github.com/SpringSource/spring-petclinic 2014-04-12 11:27:53 +08:00
michaelisvy
7dc6da25d8 Merge pull request #39 from arey/patch-1
Remove public to methods from the ClinicService
2014-04-12 11:27:32 +08:00
Mic
5e329e1766 Merge branch 'master' of https://github.com/SpringSource/spring-petclinic 2014-04-11 21:28:09 +08:00
Antoine Rey
67ae72f324 Remove public to methods from the ClinicService
Any method you define in an interface is by definition public
2014-03-23 17:43:58 +01:00
Mic
35a94eaa5d migrating to Spring 4.0.2 2014-03-03 21:24:29 +08:00
Antoine Rey
076a124e0a Fixes #37 with other default locale than english
Test in error with french default Locale:
org.junit.ComparisonFailure: expected:<[ne peut pas être vide]> but was:<[may not be empty]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.springframework.samples.petclinic.model.ValidatorTests.emptyFirstName(ValidatorTests.java:39)
2014-02-24 14:05:02 +01:00
Mic
08d84ed2b3 added comment for welcome file 2013-12-16 21:00:51 +09:00
Mic
5cfd482edc removed default profile and replaced with "jpa" 2013-12-16 20:58:15 +09:00
Mic
3e8829f372 adding explicit reference to default profile because it doesn't seem to work on on some environments 2013-12-13 08:15:10 +08:00
Mic
34d8ca46ac chaining validation so we can see multiple error messages when there are multiple validation errors 2013-11-06 09:18:33 +08:00
Mic
c4b9b0b119 migrated to the latest version of jquery and jquery-ui 2013-11-06 08:58:15 +08: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
Mic
4c01d60b36 removing Serializable because it creates a lot of warnings
App should be as simple as possible for beginners
2013-07-25 16:35:37 +02:00
michaelisvy
6412e4805b Merge pull request #25 from boly38/patch-1
Update BaseEntity.java
2013-07-20 14:04:13 -07:00
boly38
e50583f58e Update BaseEntity.java
This fix the following error :

   "setAttribute: Non-serializable attribute owner"

In the following context :

  - hsql database configuration (updating data-access.properties only)

  - mvn clean install bees:run (cloudbees local run)
2013-07-12 10:22:38 +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
a2a12c4d52 #18 Simplified Validator test so it doesn't have to use Spring config anymore 2013-06-14 09:39:46 +08:00
Mic
754e27c001 removing unneeded attribute name 2013-06-12 11:34:05 +08:00
Mic
7b8a9ec8bc #18 fixing error related to VisitsViewTests
- test didn't have the suffix "Tests" so it was not taken into account
when running Maven in the comand line
2013-06-08 21:17:35 +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
eb8ba79ba1 moved cache config files to dedicated folder 2013-06-05 09:04:41 +08:00
Mic
d1cc655aae migrated from commons-dbcp to tomcat-jdbc 2013-06-05 08:59:59 +08:00
TejasM
f0b00da185 Select Tag to validate pet type 2013-05-27 14:28:24 -04:00
Mic
bca9c48e92 unused imports 2013-05-25 06:24:19 +08:00
Mic
2b0d07bbba moved from Model to Map so we do not use a Spring-specific class 2013-05-25 06:20:44 +08:00
Mic
6a1b4dd157 updated version of spring data and removed unused dependencies 2013-05-24 10:31:42 +08:00
Mic
840c0a417d fixing JPA query for Vets 2013-05-09 01:26:48 +08:00
Mic
5bf31dbe5a fixed JPA issue when updating existing owners/pets 2013-05-09 01:09:21 +08:00
Mic
80159fa3d7 fixed bug in JPA implementation: "save" methods were implemented using "merge" instead of "persist" 2013-05-07 10:54:35 +08:00
Mic
c88e3d462a added a JUnit test for Bean Validation 2013-05-03 10:36:54 +08:00
Mic
193e7583f1 added encoding configuration so people can enter Chinese characters inside all the forms. 2013-05-02 18:33:24 +08:00
Mic
a485521b6d changed file path. Thanks to @cmourouvin for letting me know. 2013-05-02 11:32:03 +08:00
Mic
993257f5a8 We're now able to use Spring Data there
see: https://jira.springsource.org/browse/DATAJPA-292
2013-04-18 10:10:16 +08:00
Mic
628e142708 fixing URL pattern issue 2013-04-05 10:01:47 +08:00
Mic
357ee0b78e did some cleaning on logging dependencies 2013-04-04 15:11:07 +08:00
Mic
ed226f70b5 fixing typo 2013-03-25 22:39:14 +11:00
Mic
6086dec5c3 updated copyright information 2013-03-20 15:33:29 +08:00
Mic
bb32cd842b adding HTML 5 doctype header 2013-03-18 21:37:01 +08:00
Mic
f1603221a2 Added comment because https://jira.springsource.org/browse/DATAJPA-292 has been resolved 2013-03-18 14:14:24 +08:00
Mic
fa1e1a8f86 isEnabled -> enabled 2013-03-15 16:36:26 +08:00
Mic
8e59a812e3 Integer Instantiation 2013-03-15 16:11:38 +08:00
Mic
c0d183ce3d removed lots of unused dependencies 2013-03-15 10:34:09 +08:00
Mic
024811d252 simplifying access to Integer 2013-03-14 18:04:36 +08:00
Mic
c4dbb1f648 added comment 2013-03-11 11:24:18 +08:00
Mic
96cd34dfd6 renamed jdbc.properties -> data-access.properties 2013-03-11 11:07:39 +08:00
Mic
3fe122db45 moved caching to the Service layer 2013-03-11 11:04:51 +08:00
Mic
e0ba8bfa74 organized imports 2013-03-11 09:22:58 +08:00
Mic
842f9ac9ec added comments about OSIV 2013-03-11 09:22:01 +08:00
Mic
dd0eb5a55e improved/updated Javadoc in JUnit tests 2013-03-04 12:15:20 +08:00
Mic
46fa288388 fixing Spring config file naming issue in web.xml 2013-03-01 06:40:05 +08:00
Mic
bf41a4b4ed integrate dandelion config for Servlet 2 compatibility 2013-02-26 17:41:47 +08:00
Mic
95e8b64a5a merged pull request to integrate dandelion 2013-02-26 17:39:26 +08:00
Mic
faca0eb1c2 moved to tests to service level package 2013-02-26 17:38:06 +08:00
Mic
ebfa300f91 fixed issue with jqueryui path 2013-02-26 17:27:29 +08:00
Mic
d7f5cd17a5 renaming dao-config.xml -> business-config.xml 2013-02-26 17:25:31 +08:00
Mic
be403a3017 migrate all JUnit Integration tests from the repo layer to the service layer (step 1) 2013-02-26 17:20:55 +08:00
michaelisvy
3d9a37fe70 Merge pull request #3 from tduchateau/master
Added Dandelion-Datatables
2013-02-25 18:42:58 -08:00
Mic
82d6f5e870 Merge branch 'master' of https://github.com/SpringSource/spring-petclinic 2013-02-26 08:39:00 +08:00
Julien Dubois
d28f4e5257 Adding a DISTINCT clause so we only have users once 2013-02-25 22:40:24 +01:00
Julien Dubois
b3b536194a Transactions should be on the root application context (or Hibernate will not be able to persist entities) 2013-02-25 22:33:08 +01:00
Thibault Duchateau
65065a8979 Added compatibility with Servlet2.x containers 2013-02-24 21:36:36 +01:00
Thibault Duchateau
e44552ea4c Added Dandelion-Datatables
New dependencies added
Old tables replaced by Datatables using Dandelion-Datatables
2013-02-24 20:36:09 +01:00
Mic
223ca19736 adding a text file in case some people are confused about not finding Spring config files inside WEB-INF 2013-02-22 10:18:10 +08:00
Mic
9ee5e6f096 visit dates were not consistent 2013-02-21 14:50:00 +08:00
Mic
fde14bedb0 improved layout 2013-02-21 14:46:43 +08:00
Mic
70c046a927 Fixed test using Spring MVC Test framework 2013-02-21 14:27:13 +08:00
Mic
9cd3c9ef3d embedded server: moved from Jetty to Tomcat 2013-02-21 09:44:38 +08:00
Mic
9ba5811de3 Integrating Gordon's work
- integrated Gordon's comments in the POM
- removed antlr from the POM that we don't need anymore
- changed webjars versions inside headTag.jsp
2013-02-20 09:40:48 +08:00
Gordon Dickens
14f882221f file formatting and missing @Override on Java classes 2013-02-19 10:56:21 -05:00
Gordon Dickens
46260018d1 switched to modern logback for logging, see logback.xml and logback-test.xml for configuration 2013-02-19 10:44:33 -05:00
Gordon Dickens
cf9a540e94 more comments 2013-02-19 10:20:11 -05:00
Gordon Dickens
2c8f0351b1 Updated Project configuration for best practices 2013-02-19 10:00:14 -05:00
Mic
cec8110236 moved Spring config files and changed AtomView example so it is based on Vets instead of Visits 2013-02-19 16:36:23 +08:00
Mic
d92d53110b test doesn't run for now, disabling it until bug is solved 2013-02-16 03:27:43 +01:00
Mic
057015c14c Spring MVC Test Framework and migration to Spring 3.2.1
- migrated to Spring 3.2.1
- added hamcrest to the POM so it can be used with the Spring MVC Test
Framework
- Started migrating a JUnit test to Spring MVC Test Framework (at this
stage, it stills doesn't work. It could be because of a conflict with
ContentNegotiatingViewResolver)
2013-02-15 15:31:04 +08:00
Mic
e36bff7e7f removed unusued jpa configuration file (because Spring configuration doesn't rely on it) 2013-02-15 10:01:26 +08:00
Mic
ddbe4b5c14 renamed test packages so they are aligned with main packages 2013-02-15 09:58:19 +08:00
Mic
6a8edd99af removed unused AOP config 2013-02-15 09:54:15 +08:00
Mic
b2626bd509 reviewed Javadoc for abstract test classes 2013-02-15 09:53:47 +08:00
Mic
54a0186dd4 added Javadoc and licence info for jdbc implementation 2013-02-14 23:00:10 +08:00
Mic
790ebb5da0 improved javadoc for jpa implementation 2013-02-14 22:53:50 +08:00
Mic
a81b3330e3 added Javadoc comments for Spring Data JPA 2013-02-14 22:48:07 +08:00
Mic
d9cce68cff javadoc cleanup for repository interfaces 2013-02-14 22:34:35 +08:00
Mic
7a5af7a13b improved Javadoc comments and added licence info 2013-02-14 11:56:45 +08:00
Mic
254d05a008 minor issue in javadoc comment 2013-02-14 11:45:14 +08:00
Mic
ebe7551076 added exception stacktrace into an html comment 2013-02-14 11:18:30 +08:00
Mic
0c09ec3bd1 added @Cacheable support with ehcache 2013-02-14 11:12:36 +08:00
Mic
4ccf1eaa05 did some clean up for ViewResolvers configuration 2013-02-13 11:22:41 +08:00
Mic
c5ca72e80b made sure @Transactional is not set on the Repository layer 2013-02-13 09:37:42 +08:00
Mic
4e91b4468e removed TopLink-specific and Hibernate-specific properties 2013-02-13 09:29:18 +08:00
Mic
23314c5428 moved all model classes to a dedicated 'model' package 2013-02-13 08:06:37 +08:00
Mic
0a5ea0b5fb moved aspect to util package 2013-02-13 07:57:51 +08:00
Mic
e924e8737a moved Validator to the web package 2013-02-13 07:55:12 +08:00
Mic
539f7631a5 adding licence information to all files in the web layer 2013-02-12 22:51:51 +08:00
Mic
cd88b8caae Javadoc and xml documentation improvements 2013-02-12 09:12:51 +08:00
Mic
ed3df00bd7 Pets were getting old
Changed the birth date for all the pets (so we do not have a 12 year
old hamster where their life expectancy is 2-3 years :)  )
2013-02-12 08:29:13 +08:00
Mic
a994785f73 made sure the ClinicService facade is used by all Controllers 2013-02-12 08:22:39 +08:00
Rossen Stoyanchev
3e66379be1 Polish
Use ContentNegotiationManagerFactoryBean
Use URI variables in redirect URLs
2013-02-10 18:16:18 -05:00