Commit graph

374 commits

Author SHA1 Message Date
Antoine Rey
b541b50a8f Talk about the master branch with is using XML configuration. 2015-05-29 08:04:34 +02:00
Antoine Rey
50e9269f7c Finish to remove Atom feed 2015-05-27 21:48:50 +02:00
Antoine Rey
f0a44efe56 Update readme.md with Java Configuration classes 2015-05-27 21:47:34 +02:00
Antoine Rey
f157360eb9 Migrate to the Spring MVC Java Configuration 2015-05-27 21:42:32 +02:00
Antoine Rey
fbd2946e8f Add class header with Apache License and Copyright 2015-05-27 21:33:21 +02:00
Antoine Rey
3bb4af2853 Migrate XML datasource definition beans to Java configuration 2015-05-27 21:30:25 +02:00
Antoine Rey
9a29cc7eab Display Spring active profiles at startup 2015-05-27 21:29:13 +02:00
Antoine Rey
32c59a5c58 Migrate the tools-config.xml XML context configuration file to ToolsConfig.java 2015-05-27 21:28:01 +02:00
Antoine Rey
54420cd610 Add cobertura empty check configuration 2015-05-27 21:12:06 +02:00
Antoine Rey
0a646c4267 Replace XML to Java configuration for business layer 2015-05-27 18:57:47 +02:00
Antoine Rey
00339371a1 Setup Java configuration into the web.xml 2015-05-27 18:43:23 +02:00
michaelisvy
e8ba735e05 updates on links
- updated some links
- removed some broken links
2015-05-23 09:41:21 +08:00
michaelisvy
546ba6b5e9 minor presentation fix 2015-05-23 09:34:03 +08:00
michaelisvy
19ef3be859 adding Java Config to links on github homepage 2015-05-23 09:32:04 +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
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
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
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
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
f760aaf9d5 removing unneeded dependency-management block 2015-05-10 06:44:17 +08:00
michaelisvy
b20ba1aeef Merge branch 'Cobertura' 2015-05-10 06:35:43 +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
michaelisvy
aeec7104ba Adding Maven config for Cobertura 2015-04-14 09:27:25 +08:00
mklose
3f2d3ba72a fix typo 2015-04-01 16:39:51 +02:00
michaelisvy
74d61b38e0 update libraries 2015-03-26 17:04:22 +08: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
ecefae2073 Upgraded to latest Spring Data and AspectJ 2014-12-05 13:40:07 +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