https://github.com/binkley/simple-boot
Simple example Spring Boot
https://github.com/binkley/simple-boot
Last synced: 10 months ago
JSON representation
Simple example Spring Boot
- Host: GitHub
- URL: https://github.com/binkley/simple-boot
- Owner: binkley
- License: unlicense
- Created: 2015-05-15T20:17:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-05T23:51:44.000Z (almost 10 years ago)
- Last Synced: 2025-03-20T10:56:14.361Z (10 months ago)
- Language: Java
- Size: 181 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Simple Boot
## Modules
* [common](common/) - Code shared by other modules
* [config](config) - Spring Cloud Config server
* [local](local/) - "Local" service demonstrating GET calling to POST
* [remote](remote/) - "Remote" service demonstrating POST
## Errata
* Release 15 is bad.
## Features
### Spring Boot
- Context roots:
* Hello World: `/hello-world`
* Remote Hello: `/remote-hello`
### Audit trail
- Example auditing, prints to log.
- Audit controller for querying.
### Management
All management endpoints moved to `/admin`.
### Spring Cloud config
Spring Cloud Config server against a local git repo.
*TODO*: Move config repo to GitHub.
### Error handling
See `X-Correlation-ID` handling in
[CorrelationID*](common/src/main/java/hellp).
### Health
Simple health indicator for a remote service. Several OS/JVM-level checks.
### Heartbeat
A simple timestamp endpoint on `/heartbeat`. Text vs JSON.
### Logging
Configure logging in `application.yml` and `bootstrap.yml`.
### Netflix Feign
GET on local calls to POST on remote via a Feign client. Passes all HTTP
headers from caller through to Feign target. Example required header,
`X-Correlation-ID` on non-management endpoints.
### Netflix Hystrix
Local calls remote with hystrix and fallback.
### RAML
Example of RAML in [remote](remote/src/main/resources/hello/remote-hello.raml).
### Spring Actuator
Example health indicator with `hello.health.RemoteHello`.
### Spring Security
Simply configured Spring security on management endpoints.
### Swagger
Root service path shows Swagger 2 UI.
### Testing
Unit and integration tests.