File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed
spring-boot-modules/spring-boot-libraries-3 Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 96
96
<version >${h2.version} </version >
97
97
<scope >test</scope >
98
98
</dependency >
99
+ <dependency >
100
+ <groupId >org.jolokia</groupId >
101
+ <artifactId >jolokia-support-spring</artifactId >
102
+ <version >${jolokia-support-spring.version} </version >
103
+ </dependency >
99
104
</dependencies >
100
105
101
106
106
111
<awaitility .version>4.2.0</awaitility .version>
107
112
<postgresql .version>42.3.1</postgresql .version>
108
113
<h2 .version>2.2.224</h2 .version>
114
+ <jolokia-support-spring .version>2.2.1</jolokia-support-spring .version>
109
115
</properties >
110
116
111
117
</project >
Original file line number Diff line number Diff line change @@ -26,3 +26,8 @@ spring:
26
26
dialect : org.hibernate.dialect.PostgreSQLDialect
27
27
hbm2ddl.auto : create
28
28
29
+ management :
30
+ endpoints :
31
+ web :
32
+ exposure :
33
+ include : jolokia
Original file line number Diff line number Diff line change
1
+ <restrict >
2
+ <remote >
3
+ <host >0:0:0:0:0:0:0:1</host >
4
+ </remote >
5
+ <commands >
6
+ <command >read</command >
7
+ <command >list</command >
8
+ </commands >
9
+ <allow >
10
+ <mbean >
11
+ <name >java.lang:type=Memory</name >
12
+ <operation >gc</operation >
13
+ </mbean >
14
+ </allow >
15
+
16
+ <deny >
17
+ <mbean >
18
+ <name >jdk.management.jfr:type=FlightRecorder</name >
19
+ <attribute >*</attribute >
20
+ <operation >*</operation >
21
+ </mbean >
22
+ </deny >
23
+ </restrict >
You can’t perform that action at this time.
0 commit comments