Browse Source

Ops -> Actuator

pull/9/head
Phillip Webb 13 years ago
parent
commit
4c067a89fe
  1. 2
      spring-boot-cli/samples/actuator.groovy
  2. 4
      spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java
  3. 2
      spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml
  4. 2
      spring-boot-samples/spring-boot-sample-actuator/pom.xml
  5. 2
      spring-boot-starters/spring-boot-starter-actuator/pom.xml

2
spring-boot-cli/samples/ops.groovy → spring-boot-cli/samples/actuator.groovy

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
package org.test
@Grab("org.springframework.boot:spring-boot-starter-ops:0.5.0.BUILD-SNAPSHOT")
@Grab("org.springframework.boot:spring-boot-starter-actuator:0.5.0.BUILD-SNAPSHOT")
@Controller
class SampleController {

4
spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java

@ -160,8 +160,8 @@ public class SampleIntegrationTests { @@ -160,8 +160,8 @@ public class SampleIntegrationTests {
}
@Test
public void opsSample() throws Exception {
start("samples/ops.groovy");
public void actuatorSample() throws Exception {
start("samples/actuator.groovy");
String result = FileUtil.readEntirely(new URL("http://localhost:8080")
.openStream());
assertEquals("{\"message\":\"Hello World!\"}", result);

2
spring-boot-samples/spring-boot-sample-actuator-ui/pom.xml

@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-starter-ops</artifactId>
<artifactId>spring-boot-starter-actuator</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>

2
spring-boot-samples/spring-boot-sample-actuator/pom.xml

@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-starter-ops</artifactId>
<artifactId>spring-boot-starter-actuator</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>

2
spring-boot-starters/spring-boot-starter-actuator/pom.xml

@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-ops</artifactId>
<artifactId>spring-boot-actuator</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

Loading…
Cancel
Save