Commit Graph

3023 Commits (1e72c713b286d2de35fc3ef06e77a2d0ef0dc0cb)

Author SHA1 Message Date
Andy Wilkinson 2e19f0b3e5 Upgrade to Jersey 2.26
Closes gh-10217
7 years ago
Stephane Nicoll afc3fc50dc Merge branch '1.5.x' 7 years ago
Stephane Nicoll db18abc542 Fix Elasticsearch template condition if no client is defined
This commit makes sure to backoff if a Client bean is not available.

Closes gh-10143
7 years ago
Stephane Nicoll 5fc01880bc Polish 7 years ago
Johnny Lim 30262e3bc1 Polish
Closes gh-10168
7 years ago
Brian Clozel 27c1b5eb4c Add "onClass" condition on web server auto-configurations
This commit adds new Conditional annotations on auto-configurations
creating the Servlet/Reactive web servers. These conditions only depend
on request primitives used by the servers themselves and aren't
framework specific.

Closes gh-10163
7 years ago
Stephane Nicoll 2d79d63a9d Resume building against Spring Framework 5 snapshots
See gh-10123
Closes gh-9949
7 years ago
Andy Wilkinson 8df852bf71 Change default order of AutoConfigureOrder to 0
Previously, AutoConfigureOrder defaulted to Ordered.LOWEST_PRECEDENCE.
This made is impossible for an individual auto-configuration to
indicate that it wanted to go "last", i.e. after any
auto-configuration classes that didn't not specify an order, or
specified an order other than LOWEST_PRECEDENCE.

This commit changes to default to 0, allowing a single
 auto-configuration to easily indicate that it should go last.

 Closes gh-10142
7 years ago
Phillip Webb 80f023f996 Polish 7 years ago
Andy Wilkinson 7fc12bc8a3 Polish 7 years ago
Stephane Nicoll afda0ec129 Default Hibernate DDL auto to none with Flyway/Liquibase
This commit adds a strategy interface to specific if a given DataSource
has its schema managed. The Hibernate auto-configuration uses it to set
it to "none" if a mechanism to initialize the DataSource is
found and "create-drop" otherwise.

Both Flyway and Liquibase implements that strategy interface and
register it in the context accordingly.

Closes gh-9262
7 years ago
Johnny Lim db76112700 Polish
See gh-10109
7 years ago
Phillip Webb 2c97d3a5e9 Polish 7 years ago
Madhura Bhave 64ffcfc83f Document JWK property
Closes gh-10022
7 years ago
Stephane Nicoll 26b93e9454 Polish
See gh-10084
7 years ago
Stephane Nicoll 1897d76cda Merge branch '1.5.x' 7 years ago
Paul Vorbach 04ca7f137d Identify and fix incomplete assertions
Several calls to assertThat lacked a following assertion most often due
to wrong use of parenthesis.

See gh-10084
7 years ago
Johnny Lim 118f65556f Remove unused ExpectedExceptions
Closes gh-10101
7 years ago
Stephane Nicoll f52003f9ed Merge branch '1.5.x' 7 years ago
Madhura Bhave d03b8e14f1 Fix Windows test failures 7 years ago
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
7 years ago
Stephane Nicoll f6134a8862 Polish 7 years ago
Madhura Bhave 9b5e5f32e1 ClientId not always required for client credentials
Fixes gh-10013
7 years ago
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
7 years ago
Stephane Nicoll 77edebe094 Polish
Closes gh-10076
7 years ago
Stephane Nicoll 0d7cde7a5d Add deprecated metadata for Neo4j
See gh-10076
7 years ago
Stephane Nicoll 8a12a6ce36 Add deprecated metadata for Thymeleaf
See gh-10076
7 years ago
Stephane Nicoll 64231eaa9e Add deprecated metadata for Sendgrid
See gh-10076
7 years ago
Stephane Nicoll b57e66fbe5 Add deprecated metadata for Redis pool
See gh-10076
7 years ago
Stephane Nicoll b2950b568c Add deprecated metadata for datasource initialization
See gh-10076
7 years ago
Stephane Nicoll b574e5c1e6 Add deprecated metadata for Hibernate
See gh-10076
7 years ago
Stephane Nicoll dde652781e Add deprecated metadata for multipart
See gh-10076
7 years ago
Stephane Nicoll 1fefe24de8 Add deprecated metadata for server-related properties
See gh-10076
7 years ago
Stephane Nicoll 88656b31c9 Add deprecated metadata for Liquibase
See gh-10076
7 years ago
Stephane Nicoll e5c5fe9fc5 Add deprecated metadata for Flyway
See gh-10076
7 years ago
Stephane Nicoll 0a7a4c60aa Remove deprecated `error.path` property 7 years ago
Stephane Nicoll 4dc5022203 Polish 7 years ago
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
7 years ago
Stephane Nicoll 8383648a14 Revert "Expose SpringBootCondition's logger"
Closes gh-10000
7 years ago
Johnny Lim 14c9f91aab Polish
Closes gh-10054
7 years ago
Stephane Nicoll 394371eb73 Polish "Harmonize database initializers"
Closes gh-9752
7 years ago
Vedran Pavic 14b7be8325 Harmonize database initializers
This commit updates database initializers configuration to enable them
automatically only when an embedded `DataSource` is used. Related
configuration properties have been updated to use a more expressive
`DatabaseInitializerMode` enum rather than `Boolean` flag.

See gh-9752
7 years ago
Stephane Nicoll 29078c78f2 Merge branch '1.5.x' 7 years ago
Stephane Nicoll fa037610f8 Add missing class check on Neo4jDataAutoConfiguration
Neo4jDataAutoConfiguration is meant to kick in when Spring Data Neo4J is
on the classpath. Yet, we were only checking for the presence of neo4j
itself and the transaction manager provided by spring-tx.

This commit makes sure to back off if Spring Data Neo4J is not present.

Closes gh-10038
7 years ago
Stephane Nicoll 30014785a4 Merge branch '1.5.x' 7 years ago
Stephane Nicoll dbaaf2a5fa Improve conditions on FreeMarkerWebConfiguration
This commit makes sure to prevent the Freemarker web auto-configuration
to kick in if `spring-webmvc` is not on the classpath.

Closes gh-10027
7 years ago
Stephane Nicoll fa85308ab9 Polish "Expose SpringBootCondition's logger"
Closes gh-10000
7 years ago
Oleg Zhurakousky 58826644d1 Expose SpringBootCondition's logger
See gh-10000
7 years ago
Andy Wilkinson fcec8a9b0b Merge branch '1.5.x' 7 years ago
Andy Wilkinson e08d09f5a3 Polish "Fix logged property names when initializing OAuth2 client"
See gh-9944
7 years ago