You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/spring-boot-samples/spring-boot-sample-actuator
Dave Syer 7a452d5bc0 Fix test that fails because of pretty printing 11 years ago
..
src Fix test that fails because of pretty printing 11 years ago
README.md Add build.gradle samples and rename runJar->bootRun 11 years ago
build.gradle Add support for reloading resources in Gradle plugin 11 years ago
build.xml Update ant example to 1.0.0.BUILD-SNAPSHOT 11 years ago
ivy.xml Update ant example to 1.0.0.BUILD-SNAPSHOT 11 years ago
ivysettings.xml Add basic build.xml to actuator sample 11 years ago
pom.xml Add Tld scanning exceptions to Tomcat startup 11 years ago
start.groovy Ops -> Actuator 11 years ago

README.md

Spring Boot Actuator Sample

You can build this sample using Maven (>3) or Gradle (1.6).

With Maven:

$ mvn package
$ java -jar target/*.jar

Then access the app via a browser (or curl) on http://localhost:8080 (the user name is "user" and look at the INFO log output for the password to login).

With gradle:

$ gradle build
$ java -jar build/libs/*.jar

The gradle build contains an intentionally odd configuration to exclude the security dependencies from the executable JAR. So the app run like this behaves differently than the one run from the Maven-built JAR file. See comments in the build.gradle for details.