Commit Graph

18852 Commits (5a2a2e1ebee7ee46d049820a23ec0fded6840a37)
 

Author SHA1 Message Date
Andy Wilkinson b4638b82d0 Prevent ApplicationListener that depends on EMF from creating a cycle
Previously, when an EntityManagerFactory was being initialized
synchronously, the DataSourceSchemaCreatedEvent would be published
during its initialization. This meant that an application listener that
depends on the EntityManagerFactory would create a dependency cycle if
it was a potential recipient of the event.

For the synchronous case, this commit moves the publication of the
event so that it occurs after the initialisation of the entity manager
factory. This allows an application listener that is a potential
recipient of the DataSourceSchemaCreatedEvent to depend on the
EntityManagerFactory without creating a cycle.

Closes gh-14651
6 years ago
Andy Wilkinson 7cbee701cd Allow user-provided ExecuteListenerProvider to go after Boot's
Closes gh-14598
6 years ago
Brian Clozel 7e4b22d25e Upgrade to Spring Framework 5.1.1 SNAPSHOTs
See gh-14677
6 years ago
Stephane Nicoll 00e122c7ec Merge branch '2.0.x' 6 years ago
Stephane Nicoll b4c5aea152 Fix detection of WebApplicationType with context class
Closes gh-14589
6 years ago
Stephane Nicoll a20046f8a3 Merge pull request #14667 from izeye
* pr/14667:
  Polish contribution
  Polish
6 years ago
Stephane Nicoll 0eae32371f Polish contribution
Closes gh-14667
6 years ago
Johnny Lim 335775892b Polish
See gh-14667
6 years ago
Stephane Nicoll b4a8ad06de Merge branch '2.0.x' 6 years ago
Stephane Nicoll 73e6a39b44 Merge pull request #14670 from jvalkeal
* pr/14670:
  Polish docs
6 years ago
Janne Valkealahti 26345d3900 Polish docs
This commit replaces tabs to spaces in a yaml example for configuring
endpoint web exposure include.

Closes gh-14670
6 years ago
Stephane Nicoll 84c8f38368 Merge branch '2.0.x' 6 years ago
Stephane Nicoll b248afc808 Clarify conversion system in Appendix
Closes gh-14645
6 years ago
Stephane Nicoll 42e6126066 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 135797c347 Remove useless prerequisites section
Closes gh-14668
6 years ago
Stephane Nicoll 7abc868b5e Merge pull request #14661 from dreis2211
* pr/14661:
  Remove unnecessary parameters for String.substring
6 years ago
dreis2211 e68b9e8322 Remove unnecessary parameters for String.substring
Closes gh-14661
6 years ago
Phillip Webb 7087f90f2d Merge branch '2.0.x' 6 years ago
Phillip Webb bd9500290e Defer HttpHandler initialization
Update `ReactiveWebServerApplicationContext` so that the `HttpHandler`
bean is not longer created from `onRefresh`, but is instead created
only when the server starts.

Prior to this commit, the WebFlux hander would cause early
initialization of several beans, including Jackson Modules.

Closes gh-14666
6 years ago
Phillip Webb 7f35f8a982 Fix ConfigurationPropertyName.equals
Fix a regression in `ConfigurationPropertyName.equals` that was causing
incorrect results.

Closes gh-14665
6 years ago
Phillip Webb aa6a58d24c Merge branch '2.0.x' 6 years ago
Phillip Webb 7afde2ba43 Add another ConfigurationPropertyName.equals test
Include an additional test to ensure that `.equals` works for names
starting with the same value.

See gh-14665
6 years ago
Phillip Webb c3316a122e Merge branch '2.0.x' 6 years ago
Phillip Webb 923e47e978 Exclude ImportControl checkstyle rule from samples
See gh-14660
6 years ago
Phillip Webb d76bba5e6f Migrate from ExpectedException rule to AssertJ
Replace ExpectedException JUnit rules with AssertJ exception
assertions.

Closes gh-14336
6 years ago
Phillip Webb 42cb0effc4 Merge branch '2.0.x' 6 years ago
Phillip Webb 3ff20b2440 Restore import-control checkstyle
Restore checkstyle import control and fix a few violations in the
process.

Closes gh-14660
6 years ago
Phillip Webb 63b64b4efa Fix checkstyle import regex patterns
Update checkstyle rules to fix import regex patterns for both packages
and classes.
6 years ago
Andy Wilkinson ab8d286200 Merge pull request #11458 from Leo Gutiérrez Ramírez
* gh-11458:
  Polish "Fix shellcheck warnings in CLI's bash script"
  Fix shellcheck warnings in CLI's bash script
6 years ago
Andy Wilkinson fcc73c6d88 Polish "Fix shellcheck warnings in CLI's bash script"
Closes gh-11458
6 years ago
leogtzr 69b844cb13 Fix shellcheck warnings in CLI's bash script
See gh-11458
6 years ago
Stephane Nicoll aaecdfb527 Deprecate Cassandra properties that require a default constructor
Closes gh-14473
6 years ago
Stephane Nicoll 068040e227 Register SpringBeanContainer with default Hibernate setup
Closes gh-13717
6 years ago
Stephane Nicoll 7bf32290c6 Update description of the `logger-name` hint
Closes gh-14456
6 years ago
Stephane Nicoll 3f9c41df81 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 13491b5f94 Merge pull request #14514 from rodolphocouto
* pr/14514:
  Add reference to valiktor-spring-boot-starter
6 years ago
Rodolpho Couto e30f693699 Add reference to valiktor-spring-boot-starter
Closes gh-14514
6 years ago
Phillip Webb 6b9ee32757 Merge pull request #14568 from michael-simons
* pr/14568:
  Polish Neo4J BookmarkManager auto-configuration
  Auto-configure Neo4J BookmarkManager when possible
6 years ago
Phillip Webb 2add65fe15 Polish Neo4J BookmarkManager auto-configuration
Closes gh-14568
6 years ago
Michael J. Simons b7847d98a7 Auto-configure Neo4J BookmarkManager when possible
Add `Neo4jBookmarkManagementConfiguration` which provides an instance
of `BookmarkManager` if necessary and Caffeine cache is on the
classpath. Depending on the kind of application, the `BookmarkManager`
will be request scoped or singleton, as recommended by Spring Data
Neo4j.

See gh-14568
6 years ago
Phillip Webb 94b366bc16 Make assertable context interfaces configurable
Update `Assertable*ApplicationContext` interfaces so that they also
extend the appropriate `Configurable*ApplicationContext` interface.

Closes gh-14650
6 years ago
Stephane Nicoll 1e6c7cc122 Merge pull request #14621 from izeye
* pr/14621:
  Polish
6 years ago
Johnny Lim b079eeff1a Polish
Closes gh-14621
6 years ago
Stephane Nicoll 2d36a6f952 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 7163fe1f46 Merge pull request #14621 from izeye
* pr/14621:
  Polish
6 years ago
Johnny Lim 1eca492c5e Polish
See gh-14621
6 years ago
Andy Wilkinson 121aad8397 Merge branch '2.0.x' 6 years ago
Andy Wilkinson da1fde6a5f Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 1471db220f Merge pull request #13714 from Welton Rodrigo Torres Nascimento
* gh-13714:
  Polish "Clarify that RestTemplateBuilder overwrites default converters"
  Clarify that RestTemplateBuilder overwrites default converters
6 years ago
Andy Wilkinson 5c1d22eed8 Polish "Clarify that RestTemplateBuilder overwrites default converters"
Closes gh-13714
6 years ago