File tree 5 files changed +6
-6
lines changed
src/test/java/org/springframework/boot/cli
spring-boot-sample-actuator
spring-boot-sample-actuator-ui
spring-boot-starters/spring-boot-starter-actuator
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
package org.test
2
2
3
- @Grab (" org.springframework.boot:spring-boot-starter-ops :0.5.0.BUILD-SNAPSHOT" )
3
+ @Grab (" org.springframework.boot:spring-boot-starter-actuator :0.5.0.BUILD-SNAPSHOT" )
4
4
5
5
@Controller
6
6
class SampleController {
Original file line number Diff line number Diff line change @@ -160,8 +160,8 @@ public void uiSample() throws Exception {
160
160
}
161
161
162
162
@ Test
163
- public void opsSample () throws Exception {
164
- start ("samples/ops .groovy" );
163
+ public void actuatorSample () throws Exception {
164
+ start ("samples/actuator .groovy" );
165
165
String result = FileUtil .readEntirely (new URL ("http://localhost:8080" )
166
166
.openStream ());
167
167
assertEquals ("{\" message\" :\" Hello World!\" }" , result );
Original file line number Diff line number Diff line change 15
15
<dependencies >
16
16
<dependency >
17
17
<groupId >${project.groupId} </groupId >
18
- <artifactId >spring-boot-starter-ops </artifactId >
18
+ <artifactId >spring-boot-starter-actuator </artifactId >
19
19
<version >${project.version} </version >
20
20
</dependency >
21
21
<dependency >
Original file line number Diff line number Diff line change 15
15
<dependencies >
16
16
<dependency >
17
17
<groupId >${project.groupId} </groupId >
18
- <artifactId >spring-boot-starter-ops </artifactId >
18
+ <artifactId >spring-boot-starter-actuator </artifactId >
19
19
<version >${project.version} </version >
20
20
<exclusions >
21
21
<exclusion >
Original file line number Diff line number Diff line change 20
20
</dependency >
21
21
<dependency >
22
22
<groupId >${project.groupId} </groupId >
23
- <artifactId >spring-boot-ops </artifactId >
23
+ <artifactId >spring-boot-actuator </artifactId >
24
24
<version >${project.version} </version >
25
25
</dependency >
26
26
</dependencies >
You can’t perform that action at this time.
0 commit comments