Skip to content
Snippets Groups Projects
  1. Feb 03, 2017
  2. Jan 08, 2017
  3. Nov 14, 2016
    • Dave Syer's avatar
      Modularize and migrate to aggregate-oriented domain · 83ff9a50
      Dave Syer authored
      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.
      83ff9a50
  4. Nov 10, 2016
  5. Oct 01, 2016
  6. Sep 25, 2016
  7. Aug 23, 2016
  8. Aug 19, 2016
  9. Aug 17, 2016
  10. Jun 28, 2016
  11. Jun 24, 2016
  12. Jun 23, 2016
  13. Jun 15, 2016
  14. May 13, 2016
  15. Jan 30, 2016
  16. Jan 25, 2016
  17. Nov 20, 2015
  18. Oct 28, 2015
  19. Oct 21, 2015
  20. Oct 20, 2015
  21. Oct 16, 2015
  22. Oct 13, 2015
  23. Jun 24, 2015
  24. Jun 18, 2015
  25. May 12, 2015
  26. May 10, 2015
  27. Apr 01, 2015
  28. Jan 20, 2015
  29. Jan 16, 2015
  30. Dec 05, 2014
    • michaelisvy's avatar
      workaround because there seems to be a conflict · 7080682d
      michaelisvy authored
      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());
      7080682d
  31. Feb 24, 2014
    • Antoine Rey's avatar
      Fixes #37 with other default locale than english · 076a124e
      Antoine Rey authored
      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)
      076a124e
Loading