Upgrade to Spring Boot, Spring 5 and Spring Security 5
This has upgraded the catalogue to Spring Boot
Spring Boot
- Dependency versions managed by Spring Boot
- Improved testing of controllers with MockMvc
- Embedded Tomcat server
HttpMessageConverters
- Reconfigured to allow template rendering, removed from default strategies as not working.
Controller testing
Controllers are tested through http and all security considerations applied
Spring bean wiring
- Made more components and services automatically create instances.
- Explicitly created beans have dependencies applied through method parameters rather than autowired, avoids difficulties with with ordering of creation.
Freemarker templates
- Converted to autoescaping templates .ftlh for html templates and .ftlx for xml
- Contacts function turned into macro as more readable, better templating.
Integration Tests
Integration tests removed as not being run and replaced by Spring Boot Controller testing with Mock MVC.
Edited by Rod Scott