Commit Graph

13071 Commits

Author SHA1 Message Date
Stephane Nicoll
2cbffc329f Remove import on Guava
Closes gh-10085
2017-08-28 09:05:02 +02:00
Madhura Bhave
4990b52b72 Reinstate CloudFoundry support for actuators
Closes gh-9996
2017-08-27 23:15:19 -07:00
Madhura Bhave
bacbe0459b Disable web endpoints by default
Since the handler interceptors have been removed, web endpoints
are all disabled by default to prevent accidental exposure of
sensitive information.

Closes gh-7958
2017-08-27 23:15:18 -07:00
Madhura Bhave
e08ddbf838 Rework security autoconfiguration
This commit combines security autoconfigurations for
management endpoints and the rest of the application. By default,
if Spring Security is on the classpath, it turns on @EnableWebSecurity.
In the presence of another WebSecurityConfigurerAdapter this backs off
completely. A default AuthenticationManager is also provided with a user
and generated password. This can be turned off by specifying a bean of
type AuthenticationManager, AuthenticationProvider or UserDetailsService.

Closes gh-7958
2017-08-27 23:15:18 -07:00
Stephane Nicoll
f60ad0df74 Polish 2017-08-27 14:25:59 +02:00
Stephane Nicoll
049df50f31 Add explicit dependency to ConnectionFactory auto-configurations
This commit makes sure tht `HealthIndicatorAutoConfiguration` runs after
any producers of a `ConnectionFactory` and not only ActiveMQ. This was
identified as part of #10081: `JmsAutoConfiguration` is actually the
one that isn't necessary (spring-boot-actuator has no import on the
`org.springframework.jms` and only `javax.jms.ConnectionFactory` is used
as part of the JMS health indicator.
2017-08-27 14:25:01 +02:00
Stephane Nicoll
498537b60e Merge pull request #10080 from izeye:unused-20170826
* pr/10080:
  Remove SystemPropertiesHandler.properties
2017-08-27 14:06:14 +02:00
Johnny Lim
9dd7184b6e Remove SystemPropertiesHandler.properties
Closes gh-10080
2017-08-27 14:05:55 +02:00
Brian Clozel
a9dc0d2963 Fix nio-multipart-parser version
See gh-9240
2017-08-26 11:49:28 +02:00
Stephane Nicoll
69faa7dd33 Remove useless cast
The number of nodes can be added to the details without the need to cast
it.

Closes gh-10078
2017-08-25 18:53:56 +02:00
Stephane Nicoll
a37a45921f Merge pull request #10077 from izeye:substring-20170825
* pr/10077:
  Avoid substring() invocation when the result is itself
2017-08-25 17:38:03 +02:00
Johnny Lim
4ae3691fee Avoid substring() invocation when the result is itself
Closes gh-10077
2017-08-25 17:37:56 +02:00
Brian Clozel
8198b87538 Add nio-multipart-parser to webflux starter
This library is required for parsing multipart requests asynchronously
in Spring WebFlux. Framework treats this as an optional dependency, but
Boot auto-configures multipart support with Servlet by default.

Closes gh-10073
2017-08-25 17:26:49 +02:00
Stephane Nicoll
77edebe094 Polish
Closes gh-10076
2017-08-25 16:34:19 +02:00
Stephane Nicoll
0d7cde7a5d Add deprecated metadata for Neo4j
See gh-10076
2017-08-25 16:33:52 +02:00
Stephane Nicoll
a076adbb51 Add deprecated metadata for remote debug support
See gh-10076
2017-08-25 16:31:14 +02:00
Stephane Nicoll
8a12a6ce36 Add deprecated metadata for Thymeleaf
See gh-10076
2017-08-25 16:28:18 +02:00
Stephane Nicoll
64231eaa9e Add deprecated metadata for Sendgrid
See gh-10076
2017-08-25 16:24:29 +02:00
Stephane Nicoll
b57e66fbe5 Add deprecated metadata for Redis pool
See gh-10076
2017-08-25 16:20:50 +02:00
Stephane Nicoll
b2950b568c Add deprecated metadata for datasource initialization
See gh-10076
2017-08-25 16:16:44 +02:00
Stephane Nicoll
b574e5c1e6 Add deprecated metadata for Hibernate
See gh-10076
2017-08-25 16:09:02 +02:00
Stephane Nicoll
dde652781e Add deprecated metadata for multipart
See gh-10076
2017-08-25 16:08:05 +02:00
Stephane Nicoll
1fefe24de8 Add deprecated metadata for server-related properties
See gh-10076
2017-08-25 16:05:58 +02:00
Stephane Nicoll
dd88b116d5 Add deprecated metadata for Jolokia
See gh-10076
2017-08-25 15:57:57 +02:00
Stephane Nicoll
88656b31c9 Add deprecated metadata for Liquibase
See gh-10076
2017-08-25 15:01:32 +02:00
Stephane Nicoll
e5c5fe9fc5 Add deprecated metadata for Flyway
See gh-10076
2017-08-25 14:58:54 +02:00
Stephane Nicoll
c69725f68c Add deprecated metadata for Actuator endpoints
See gh-10076
2017-08-25 14:28:48 +02:00
Stephane Nicoll
38745d41d7 Add deprecated metadata for CRaSH support
See gh-10076
2017-08-25 14:12:42 +02:00
Stephane Nicoll
08ce7e24d7 Polish 2017-08-25 13:56:37 +02:00
Stephane Nicoll
e05c401e0c Merge pull request #10069 from izeye:sort-gitignore
* pr/10069:
  Sort entries in .gitignore
2017-08-25 10:26:50 +02:00
Johnny Lim
d330dc4832 Sort entries in .gitignore
Closes gh-10069
2017-08-25 10:22:57 +02:00
Stephane Nicoll
0a7a4c60aa Remove deprecated error.path property 2017-08-24 13:41:37 +02:00
Stephane Nicoll
4dc5022203 Polish 2017-08-24 13:41:14 +02:00
Stephane Nicoll
f8e08f79ed Add DispatcherType enum for configuration purpose
This commit creates our own version of javax.servlet.DispatcherType for
configuration purpose as we can use the other one now the servlet api
is optional.

Closes gh-9856
2017-08-24 10:28:59 +02:00
Stephane Nicoll
8383648a14 Revert "Expose SpringBootCondition's logger"
Closes gh-10000
2017-08-23 17:04:16 +02:00
Stephane Nicoll
e4f3164da7 Polish 2017-08-23 15:50:30 +02:00
Stephane Nicoll
2725151bff Add missing test scope 2017-08-23 15:08:23 +02:00
Stephane Nicoll
75e5e78531 Polish json starter
This commit improves the json starter to bring the core starter (as any
other starters do). `spring-web` is now also added as it contains the
Spring's core jackson support.

Closes gh-10031
2017-08-23 09:48:54 +02:00
Stephane Nicoll
d7fdb5b862 Merge branch '1.5.x' 2017-08-23 09:11:52 +02:00
Stephane Nicoll
fe4ded077c Merge pull request #10058 from juanpablo-santos:master
* pr/10058:
  Add Stripes Spring Boot starter reference
2017-08-23 09:11:36 +02:00
Juan Pablo Santos Rodríguez
32d5d1f712 Add Stripes Spring Boot starter reference
Closes gh-10058
2017-08-23 09:11:11 +02:00
Stephane Nicoll
7b435b18dc Merge pull request #10054 from izeye:polish-20170822
* pr/10054:
  Polish
2017-08-22 16:28:20 +02:00
Johnny Lim
14c9f91aab Polish
Closes gh-10054
2017-08-22 16:28:03 +02:00
Stephane Nicoll
ac4219b1d8 Move management.jmx to management.endpoints.jmx
For consistency with #10053, this commit moves the JMX specific endpoint
properties to `management.endpoints.jmx`.
2017-08-22 11:46:38 +02:00
Stephane Nicoll
68fcea7b9a Migrate endpoints.cors to management.endpoints.cors
This commit moves CORS properties out of the endpoints namespace as they
do not refer to a "cors" endpoint but rather to the CORS configuration
of all endpoints.

Closes gh-10053
2017-08-22 11:40:39 +02:00
Stephane Nicoll
3087514b79 Move endpoints.health.mapping to management.health.status.http-mapping
Closes gh-10052
2017-08-22 11:11:22 +02:00
Stephane Nicoll
f2a74946af Polish 2017-08-22 10:20:20 +02:00
Stephane Nicoll
79bdaad686 Remove reference to HttpStatus
This commit removes an import on a class in "spring-web" as this class
is also meant to be used with Jersey only (i.e. when "spring-web" is
not present on the classpath).

Closes gh-10051
2017-08-22 10:03:32 +02:00
Stephane Nicoll
f801c12a69 Merge branch '1.5.x' 2017-08-21 18:13:03 +02:00
Stephane Nicoll
02e2d903c3 Merge pull request #10050 from izeye:patch-49
* pr/10050:
  Document default values for compression properties
2017-08-21 18:12:51 +02:00