Commit Graph

13120 Commits (9ffbfb0d80fbcde84f2d6183a18337f946c0d806)
 

Author SHA1 Message Date
Andy Wilkinson ab08cccc21 Merge pull request #9725 from Gytis Trikleris
* gh-9725:
  Polish "Simplify retrieval of Narayana XARecoveryModule"
  Simplify retrieval of Narayana XARecoveryModule
7 years ago
Andy Wilkinson 2925f1b86a Polish "Simplify retrieval of Narayana XARecoveryModule"
Closes gh-9725
7 years ago
Gytis Trikleris 3874196efe Simplify retrieval of Narayana XARecoveryModule
See gh-9725
7 years ago
Phillip Webb 9127c48fb5 Fixup warnings 7 years ago
Phillip Webb a869d25dbb Polish 7 years ago
Arthur Gavlyukovskiy eac4c7e882 Add p6spy, datasource-proxy and flexy-pool starters reference
Closes gh-9828
7 years ago
Stephane Nicoll 22deceb7f2 Migrate tests to ApplicationContextRunner 7 years ago
Andy Wilkinson 62d70dacf0 Upgrade to maven-compiler-plugin 3.6.1
Closes gh-9620
7 years ago
Andy Wilkinson 003fbb6660 Merge branch '1.5.x' 7 years ago
Andy Wilkinson b190a0779d Merge pull request #9678 from Priyanshi Goyal
* gh-9678:
  Polish "Deprecate JsonContent.assertThat()"
  Deprecate JsonContent.assertThat()
7 years ago
Andy Wilkinson 7a4c18eaba Polish "Deprecate JsonContent.assertThat()"
Closes gh-9678
7 years ago
Priyanshi fa57491030 Deprecate JsonContent.assertThat()
See gh-9678
7 years ago
Andy Wilkinson 56b817e8ad Merge branch '1.5.x' 7 years ago
Andy Wilkinson d62c26c971 Ensure that preinitialization has completed before run returns
Previously, background preinitialization was started in response to
an ApplicationEnvironmentPreparedEvent and would complete at an
undetermined time later. This opened a window where SpringApplication
run could return and background preinitialization could still be
in progress. If, within this window, something attempted to configure
the logging system, an IO failure could occur as logging on the
background preinitialization thread would attempt to use resources
that had been closed.

This commit updates BackgroundPreinitializer so that it waits for
preinitialization to have completed when it receives an application
ready or application failed event. This prevents SpringApplication
run from returning while preinitialization is still in progress,
closing the window described above.

With info level logging enabled it appears that background
preinitialization consistently completes before the application ready
event is published. As a result, waiting should have no adverse effect
on performance in normal circumstances. With logging configured such
that background preinitialization outputs a large volume of log
messages (enabling trace logging for the root logger, for example), it
will be slowed down sufficiently for waiting to be necessary.

Closes gh-5669
7 years ago
Andy Wilkinson 42eec50e90 Perform background preinitialization once per class loader
Background preinitialization triggers static initialization of a
number of components that are slow to initialize. As the
initialization is static, it's only necessary once per class loader.

Previously, a new background preinitialization thread would be
created and started for each ApplicationEnvironmentPreparedEvent.
This commit updates the preinitializer to only create and start the
thread if preinitialization has not already been started for the
current class loader.

Closes gh-9869
7 years ago
Stephane Nicoll 579c6feb93 Polish 7 years ago
Stephane Nicoll eacb6b13f3 Fix compatibility with JUnit's ExpectedException
This commit ensures that an exception that is thrown as part of the
`ContextConsumer` callback is thrown as is.

Closes gh-9878
7 years ago
Andy Wilkinson 7532876efc Merge branch '1.5.x' 7 years ago
Andy Wilkinson 6f864c6210 Fix up version numbers following release 7 years ago
Spring Buildmaster 17a5bb0be4 Next development version 7 years ago
Andy Wilkinson bc50790e16 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 3c27567e35 Upgrade to Spring Data Ingalls SR6
Closes gh-9871
7 years ago
Phillip Webb 6823c2ad10 Merge branch 'gh-9875'
Closes gh-9875
7 years ago
Phillip Webb 89ad0660d1 Make ApplicationContextRunner immutable
Update `ApplicationContextRunner` so that it is totally immutable.
Methods now return new instances rather than changing existing state.

See gh-9875
7 years ago
Phillip Webb ad9f28110c Make TestPropertyValues immutable
Update `TestPropertyValues` so that it is totally immutable. Methods
now return a new instance rather than changing existing state.

See gh-9875
7 years ago
Phillip Webb 07556cda51 Restructure `boot.test.context` package
Split up `org.springframework.boot.test.context` into distinct packages
for `runner` and `assertj`.

See gh-9875
7 years ago
Phillip Webb 497457c397 Rename ApplicationContextTester -> Runner
Rename `ApplicationContextTester` and related classes to
`ApplicationContextRunner` and refactor existing tests to use correctly
named variables.

See gh-9875
7 years ago
Andy Wilkinson 5616915621 Polishing 7 years ago
Stephane Nicoll 0fc3e3d166 Merge pull request #9763 from thombergs:naming-strategy-docs-gh-3035
* pr/9763:
  Polish "Polish Hibernate naming strategy doc"
  Polish Hibernate naming strategy doc
7 years ago
Stephane Nicoll 9575b4b723 Polish "Polish Hibernate naming strategy doc"
Closes gh-9763
7 years ago
Tom Hombergs eeee1bdae5 Polish Hibernate naming strategy doc
See gh-9763
7 years ago
Stephane Nicoll 8d3d16b235 Merge pull request #9855 from izeye:polish-20170725-update
* pr/9855:
  Polish
7 years ago
Johnny Lim 9b15389009 Polish
Closes gh-9855
7 years ago
Stephane Nicoll 75fc0c38c8 Merge branch '1.5.x' 7 years ago
Johnny Lim fe1eb8b5f3 Polish
See gh-9855
7 years ago
Andy Wilkinson 5091221095 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 39b4270b7e Fix up version numbers following release 7 years ago
Stephane Nicoll 9891462ac4 Migrate test to WebApplicationContextTester 7 years ago
Brian Clozel 4c64f4f80d Add Jackson Kotlin module to JSON starter
This commit adds the `jackson-module-kotlin` dependency to the JSON
starter. As the other modules selected there, the goal is to provide
additional Jackson support to Spring Boot projects.

In this case, the Kotlin language is supported by many Spring projects
and this module is essential for (de)serialization with Jackson.
Note that the module has a transitive dependency on `kotlin-reflect`,
but this dependency should be brought by the application itself.

Spring Framework will configure the Kotlin Jackson module *only if* the
Kotlin sdk is present.

Closes gh-9803
7 years ago
Spring Buildmaster 41c5c0e7c9 Next development version 7 years ago
Andy Wilkinson 134e76d060 Upgrade to Spring Batch 4.0.0.M3
Closes gh-9767
7 years ago
Andy Wilkinson f0e07e21a2 Upgrade to Spring Integration 5.0.0.M6
Closes gh-9586
7 years ago
Stephane Nicoll 996e6bf48c Reset Neo4j tests to use the default driver again
This commit resets the artificial use of the http driver now the bolt
driver doesn't check if the connection to the Neo4J server is valid
on startup.

See neo4j/neo4j-java-driver#380

Closes gh-9500
7 years ago
Stephane Nicoll 4740b47985 Upgrade to Spring Data Ingalls SR5-1
Closes gh-9834
7 years ago
Andy Wilkinson 2109cab28b Upgrade to Spring Session 2.0.0.M3
Closes gh-9541
7 years ago
Andy Wilkinson 8b53ff454c Merge branch '1.5.x' 7 years ago
Andy Wilkinson 853cd2a074 Merge pull request #9758 from Misagh Moayyed
* gh-9758:
  Polish "Locate additional metadata when using Gradle 4"
  Locate additional metadata when using Gradle 4
7 years ago
Andy Wilkinson e0be40cd94 Polish "Locate additional metadata when using Gradle 4"
Closes gh-9732
7 years ago
Misagh Moayyed 980b83c0d8 Locate additional metadata when using Gradle 4
Closes gh-9758
7 years ago
Andy Wilkinson 484aac6161 Upgrade to Spring Data Kay RC2
Closes gh-9569
7 years ago