Commit Graph

13083 Commits

Author SHA1 Message Date
Stephane Nicoll
edd7cea1c3 Merge branch '1.5.x' 2017-08-29 10:14:33 +02:00
Stephane Nicoll
36722510c5 Clarify that only production resources are filtered by Maven
See gh-10088
2017-08-29 10:14:13 +02:00
Stephane Nicoll
f52003f9ed Merge branch '1.5.x' 2017-08-29 09:25:05 +02:00
Madhura Bhave
d03b8e14f1 Fix Windows test failures 2017-08-28 15:57:41 -07:00
Madhura Bhave
919dfd3f90 Remove unused properties and constants
Since the autoconfig totally backs off in the presence
of a WebSecurityConfigurerAdapter, there is no need to
order them ahead of/after the one provided by Spring Boot.

See gh-7958
2017-08-28 15:53:35 -07:00
Stephane Nicoll
f6134a8862 Polish 2017-08-28 11:38:10 +02:00
Stephane Nicoll
31f8aeaf8f Add rule to prevent imports on Guava
This commit makes sure that we don't import a class from the Guava
library by mistake as it provides various utility classes with similar
names as our own.

Closes gh-10089
2017-08-28 10:31:20 +02:00
Stephane Nicoll
da65158eae Disable Jolokia by default
To be consistent with Actuator web endpoints, Jolokia is now disabled
by default.

Closes gh-10090
2017-08-28 10:18:19 +02:00
Stephane Nicoll
def094b844 Advertize web endpoints as disabled by default
Following the rework on Security that expects web endpoints to be
disabled by default, this commit updates the metadata (including the
automatic generation) to reflect this decision.
2017-08-28 10:08:38 +02:00
Stephane Nicoll
c76c16d92b Polish 2017-08-28 09:59:32 +02:00
Stephane Nicoll
53d855320b Clarify the required steps to build the documentation
Previously we didn't mention that the project must have been built
locally first (to get the sources for javadoc generation for instance).

This commit clarifies that.

Closes gh-10086
2017-08-28 09:19:52 +02:00
Stephane Nicoll
2cbffc329f Remove import on Guava
Closes gh-10085
2017-08-28 09:05:02 +02:00
Madhura Bhave
9b5e5f32e1 ClientId not always required for client credentials
Fixes gh-10013
2017-08-27 23:23:00 -07: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