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
ba1ef52e
Commit
ba1ef52e
authored
Nov 29, 2018
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.0.x'
parents
ac322a8e
893d5666
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
15 deletions
+16
-15
WebMvcMetricsAutoConfiguration.java
...e/metrics/web/servlet/WebMvcMetricsAutoConfiguration.java
+3
-0
JerseyAutoConfiguration.java
...rk/boot/autoconfigure/jersey/JerseyAutoConfiguration.java
+8
-10
JsonController.java
.../autoconfigure/web/reactive/webclient/JsonController.java
+1
-1
WebFluxTestAutoConfigurationIntegrationTests.java
...bclient/WebFluxTestAutoConfigurationIntegrationTests.java
+1
-1
LaunchedApplication.java
...ingframework/boot/devtools/tests/LaunchedApplication.java
+1
-1
LocalApplicationLauncher.java
...amework/boot/devtools/tests/LocalApplicationLauncher.java
+1
-1
RemoteApplicationLauncher.java
...mework/boot/devtools/tests/RemoteApplicationLauncher.java
+1
-1
No files found.
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/web/servlet/WebMvcMetricsAutoConfiguration.java
View file @
ba1ef52e
...
...
@@ -105,6 +105,9 @@ public class WebMvcMetricsAutoConfiguration {
return
new
MetricsWebMvcConfigurer
(
meterRegistry
,
tagsProvider
);
}
/**
* {@link WebMvcConfigurer} to add metrics interceptors.
*/
static
class
MetricsWebMvcConfigurer
implements
WebMvcConfigurer
{
private
final
MeterRegistry
meterRegistry
;
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration.java
View file @
ba1ef52e
...
...
@@ -106,16 +106,6 @@ public class JerseyAutoConfiguration implements ServletContextAware {
customize
();
}
private
String
resolveApplicationPath
()
{
if
(
StringUtils
.
hasLength
(
this
.
jersey
.
getApplicationPath
()))
{
return
this
.
jersey
.
getApplicationPath
();
}
else
{
return
findApplicationPath
(
AnnotationUtils
.
findAnnotation
(
this
.
config
.
getApplication
().
getClass
(),
ApplicationPath
.
class
));
}
}
private
void
customize
()
{
this
.
customizers
.
orderedStream
()
.
forEach
((
customizer
)
->
customizer
.
customize
(
this
.
config
));
...
...
@@ -127,6 +117,14 @@ public class JerseyAutoConfiguration implements ServletContextAware {
return
this
::
resolveApplicationPath
;
}
private
String
resolveApplicationPath
()
{
if
(
StringUtils
.
hasLength
(
this
.
jersey
.
getApplicationPath
()))
{
return
this
.
jersey
.
getApplicationPath
();
}
return
findApplicationPath
(
AnnotationUtils
.
findAnnotation
(
this
.
config
.
getApplication
().
getClass
(),
ApplicationPath
.
class
));
}
@Bean
@ConditionalOnMissingBean
(
name
=
"jerseyFilterRegistration"
)
@ConditionalOnProperty
(
prefix
=
"spring.jersey"
,
name
=
"type"
,
havingValue
=
"filter"
)
...
...
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/reactive/webclient/JsonController.java
View file @
ba1ef52e
/*
* Copyright 2012-201
7
the original author or authors.
* Copyright 2012-201
8
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.
...
...
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/reactive/webclient/WebFluxTestAutoConfigurationIntegrationTests.java
View file @
ba1ef52e
/*
* Copyright 2012-201
7
the original author or authors.
* Copyright 2012-201
8
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.
...
...
spring-boot-tests/spring-boot-integration-tests/spring-boot-devtools-tests/src/test/java/org/springframework/boot/devtools/tests/LaunchedApplication.java
View file @
ba1ef52e
/*
* Copyright 2012-201
7
the original author or authors.
* Copyright 2012-201
8
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.
...
...
spring-boot-tests/spring-boot-integration-tests/spring-boot-devtools-tests/src/test/java/org/springframework/boot/devtools/tests/LocalApplicationLauncher.java
View file @
ba1ef52e
/*
* Copyright 2012-201
7
the original author or authors.
* Copyright 2012-201
8
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.
...
...
spring-boot-tests/spring-boot-integration-tests/spring-boot-devtools-tests/src/test/java/org/springframework/boot/devtools/tests/RemoteApplicationLauncher.java
View file @
ba1ef52e
/*
* Copyright 2012-201
7
the original author or authors.
* Copyright 2012-201
8
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.
...
...
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