Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mpalourdio/springboottemplate
Spring Boot example application with spring cloud integration
https://github.com/mpalourdio/springboottemplate
hibernate jpa junit mockito spring-boot spring-cloud springboottest wtf
Last synced: 16 days ago
JSON representation
Spring Boot example application with spring cloud integration
- Host: GitHub
- URL: https://github.com/mpalourdio/springboottemplate
- Owner: mpalourdio
- License: mit
- Created: 2015-10-10T15:24:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T15:15:16.000Z (17 days ago)
- Last Synced: 2024-10-27T17:38:19.806Z (16 days ago)
- Topics: hibernate, jpa, junit, mockito, spring-boot, spring-cloud, springboottest, wtf
- Language: Java
- Homepage:
- Size: 617 KB
- Stars: 6
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[![CI](https://github.com/mpalourdio/SpringBootTemplate/actions/workflows/main.yml/badge.svg)](https://github.com/mpalourdio/SpringBootTemplate/actions/workflows/main.yml)
Spring Boot 3.x example application.
=======================================More a reminder for some dirty tricks than anything else...
Include examples for :
- @SpringBootTest
- @DataJpaTest
- @AutoConfigureMockMvc
- JUnit & Mockito 2
- EventListener : non void ``@EventListener`` method triggers automatically another event
- Async Event (Annotation Driven)
- Request Forwarding
- DataSource auto-configuration
- Thymeleaf
- HttpSecurity Cache Control
- Externalized configuration
- Travis CI Build
- Custom logging configuration
- Logout example
- GZip compression for some content-type
- org.hibernate.java8 to handle LocalDate API in entities
- Mock EntityManager (@PersistenceContext)
- File Download with HttpServletResponse and ResponseEntity
- Excel Generation with Apache POI
- Basic auth protected endpoint (/basicauth) and how to test this kind of (silly) protection (lol)
- Async static Logger event driven
- Spring Cloud configuration server integration
- Refreshable controller with @RefreshScope
- Mockito 2 integration with Strict Stubs checking
- @EnableConfigurationProperties examples
- JSON Serialization/Unserialization examples
- Custom MediaType
- ...