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
d238a31d
Commit
d238a31d
authored
Feb 13, 2018
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
214c7ebd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
5 deletions
+23
-5
package-info.java
...ctuate/autoconfigure/metrics/web/tomcat/package-info.java
+20
-0
AbstractWebFluxEndpointHandlerMapping.java
...t/web/reactive/AbstractWebFluxEndpointHandlerMapping.java
+0
-1
MongoReactiveHealthIndicator.java
...work/boot/actuate/mongo/MongoReactiveHealthIndicator.java
+3
-4
No files found.
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/web/tomcat/package-info.java
0 → 100644
View file @
d238a31d
/*
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Auto-configuration for Tomcat actuator metrics.
*/
package
org
.
springframework
.
boot
.
actuate
.
autoconfigure
.
metrics
.
web
.
tomcat
;
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/reactive/AbstractWebFluxEndpointHandlerMapping.java
View file @
d238a31d
...
@@ -297,7 +297,6 @@ public abstract class AbstractWebFluxEndpointHandlerMapping
...
@@ -297,7 +297,6 @@ public abstract class AbstractWebFluxEndpointHandlerMapping
return
arguments
;
return
arguments
;
}
}
@SuppressWarnings
(
"unchecked"
)
private
Map
<
String
,
String
>
getTemplateVariables
(
ServerWebExchange
exchange
)
{
private
Map
<
String
,
String
>
getTemplateVariables
(
ServerWebExchange
exchange
)
{
return
exchange
.
getAttribute
(
HandlerMapping
.
URI_TEMPLATE_VARIABLES_ATTRIBUTE
);
return
exchange
.
getAttribute
(
HandlerMapping
.
URI_TEMPLATE_VARIABLES_ATTRIBUTE
);
}
}
...
...
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/mongo/MongoReactiveHealthIndicator.java
View file @
d238a31d
...
@@ -42,9 +42,9 @@ public class MongoReactiveHealthIndicator extends AbstractReactiveHealthIndicato
...
@@ -42,9 +42,9 @@ public class MongoReactiveHealthIndicator extends AbstractReactiveHealthIndicato
@Override
@Override
protected
Mono
<
Health
>
doHealthCheck
(
Health
.
Builder
builder
)
{
protected
Mono
<
Health
>
doHealthCheck
(
Health
.
Builder
builder
)
{
Mono
<
Document
>
buildInfo
=
this
.
reactiveMongoTemplate
.
executeCommand
(
Mono
<
Document
>
buildInfo
=
this
.
reactiveMongoTemplate
"{ buildInfo: 1 }"
);
.
executeCommand
(
"{ buildInfo: 1 }"
);
return
buildInfo
.
map
(
document
->
up
(
builder
,
document
));
return
buildInfo
.
map
(
(
document
)
->
up
(
builder
,
document
));
}
}
private
Health
up
(
Health
.
Builder
builder
,
Document
document
)
{
private
Health
up
(
Health
.
Builder
builder
,
Document
document
)
{
...
@@ -52,4 +52,3 @@ public class MongoReactiveHealthIndicator extends AbstractReactiveHealthIndicato
...
@@ -52,4 +52,3 @@ public class MongoReactiveHealthIndicator extends AbstractReactiveHealthIndicato
}
}
}
}
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