Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
c5786c21
Commit
c5786c21
authored
Oct 14, 2018
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
f96d73f3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
10 deletions
+3
-10
OnlyOnceLoggingDenyMeterFilter.java
...autoconfigure/metrics/OnlyOnceLoggingDenyMeterFilter.java
+1
-1
CloudFoundryWebFluxEndpointIntegrationTests.java
...reactive/CloudFoundryWebFluxEndpointIntegrationTests.java
+0
-7
PathMappedEndpointsTests.java
...k/boot/actuate/endpoint/web/PathMappedEndpointsTests.java
+1
-1
MetricsWebFilterTests.java
...te/metrics/web/reactive/server/MetricsWebFilterTests.java
+1
-1
No files found.
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/OnlyOnceLoggingDenyMeterFilter.java
View file @
c5786c21
...
@@ -28,7 +28,7 @@ import org.slf4j.LoggerFactory;
...
@@ -28,7 +28,7 @@ import org.slf4j.LoggerFactory;
import
org.springframework.util.Assert
;
import
org.springframework.util.Assert
;
/**
/**
* {@link MeterFilter} to log only once a warning message and deny {@
link
Meter.Id}.
* {@link MeterFilter} to log only once a warning message and deny {@
code
Meter.Id}.
*
*
* @author Jon Schneider
* @author Jon Schneider
* @author Dmytro Nosan
* @author Dmytro Nosan
...
...
spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/reactive/CloudFoundryWebFluxEndpointIntegrationTests.java
View file @
c5786c21
...
@@ -167,13 +167,6 @@ public class CloudFoundryWebFluxEndpointIntegrationTests {
...
@@ -167,13 +167,6 @@ public class CloudFoundryWebFluxEndpointIntegrationTests {
.
jsonPath
(
"_links.test-part"
).
doesNotExist
()));
.
jsonPath
(
"_links.test-part"
).
doesNotExist
()));
}
}
private
AnnotationConfigReactiveWebServerApplicationContext
createApplicationContext
(
Class
<?>...
config
)
{
AnnotationConfigReactiveWebServerApplicationContext
context
=
new
AnnotationConfigReactiveWebServerApplicationContext
();
context
.
register
(
config
);
return
context
;
}
private
ContextConsumer
<
AssertableReactiveWebApplicationContext
>
withWebTestClient
(
private
ContextConsumer
<
AssertableReactiveWebApplicationContext
>
withWebTestClient
(
Consumer
<
WebTestClient
>
clientConsumer
)
{
Consumer
<
WebTestClient
>
clientConsumer
)
{
return
(
context
)
->
{
return
(
context
)
->
{
...
...
spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/web/PathMappedEndpointsTests.java
View file @
c5786c21
...
@@ -91,7 +91,7 @@ public class PathMappedEndpointsTests {
...
@@ -91,7 +91,7 @@ public class PathMappedEndpointsTests {
@Test
@Test
public
void
getPathWhenMissingIdShouldReturnNull
()
{
public
void
getPathWhenMissingIdShouldReturnNull
()
{
PathMappedEndpoints
mapped
=
createTestMapped
(
null
);
PathMappedEndpoints
mapped
=
createTestMapped
(
null
);
assertThat
(
mapped
.
get
Root
Path
(
"xx"
)).
isNull
();
assertThat
(
mapped
.
getPath
(
"xx"
)).
isNull
();
}
}
@Test
@Test
...
...
spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/reactive/server/MetricsWebFilterTests.java
View file @
c5786c21
...
@@ -48,7 +48,7 @@ public class MetricsWebFilterTests {
...
@@ -48,7 +48,7 @@ public class MetricsWebFilterTests {
MockClock
clock
=
new
MockClock
();
MockClock
clock
=
new
MockClock
();
this
.
registry
=
new
SimpleMeterRegistry
(
SimpleConfig
.
DEFAULT
,
clock
);
this
.
registry
=
new
SimpleMeterRegistry
(
SimpleConfig
.
DEFAULT
,
clock
);
this
.
webFilter
=
new
MetricsWebFilter
(
this
.
registry
,
this
.
webFilter
=
new
MetricsWebFilter
(
this
.
registry
,
new
DefaultWebFluxTagsProvider
(),
REQUEST_METRICS_NAME
);
new
DefaultWebFluxTagsProvider
(),
REQUEST_METRICS_NAME
,
true
);
}
}
@Test
@Test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment