https://github.com/robwin/spring-endpoint-demo
Spring Custom Actuator Endpoint demo
https://github.com/robwin/spring-endpoint-demo
Last synced: about 2 months ago
JSON representation
Spring Custom Actuator Endpoint demo
- Host: GitHub
- URL: https://github.com/robwin/spring-endpoint-demo
- Owner: RobWin
- Created: 2018-03-19T14:11:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T14:11:26.000Z (over 8 years ago)
- Last Synced: 2025-01-25T11:41:15.344Z (over 1 year ago)
- Language: Java
- Size: 52.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This demo shows that Spring Boot 2 custom actuator endpoints require the `-parameters` compiler option to work when compiled with Gradle.
The Spring Boot Gradle Plugin configures the compiler option automatically, but when you are a framework developer and don't use the Spring Boot Gradle
Plugin you have to add the option yourself.
The test fails, but when you uncomment `options.compilerArgs += ["-parameters"]` in the `build.gradle` file, the test is successful.