Skip to content

Commit 95e68bf

Browse files
committed
Prepare actuator sample to show how to use the telnet connector
1 parent 8127695 commit 95e68bf

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,20 @@
4242
<groupId>${project.groupId}</groupId>
4343
<artifactId>spring-boot-starter-shell-remote</artifactId>
4444
</dependency>
45+
<!--<dependency>
46+
<groupId>org.crashub</groupId>
47+
<artifactId>crash.connectors.telnet</artifactId>
48+
<exclusions>
49+
<exclusion>
50+
<groupId>log4j</groupId>
51+
<artifactId>log4j</artifactId>
52+
</exclusion>
53+
<exclusion>
54+
<groupId>commons-logging</groupId>
55+
<artifactId>commons-logging</artifactId>
56+
</exclusion>
57+
</exclusions>
58+
</dependency>-->
4559
</dependencies>
4660
<build>
4761
<plugins>

spring-boot-samples/spring-boot-sample-actuator/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ security.require_ssl: false
99
service.name: Phil
1010
shell.ssh.enabled: true
1111
shell.ssh.port: 2222
12-
shell.telnet.enabled: false
12+
#shell.telnet.enabled: false
1313
#shell.telnet.port: 1111
1414
shell.auth: spring
1515
#shell.auth: key

0 commit comments

Comments
 (0)