Commit Graph

13102 Commits (75edca6e55af6f3a9e3a0b6c1d025a5107e6202b)
 

Author SHA1 Message Date
Stephane Nicoll 0ba63424a7 Enable "-parameters" compiler flag by default with Maven
This commit upgrades to the `maven-compiler-plugin` 3.6.2 that exposes
an additional property to enable the "-parameters" flag. This flag is
enabled for our own build and any project that uses
`spring-boot-starter-parent` as parent.

Closes gh-9323
7 years ago
Andy Wilkinson 4f76a560b8 Fix the Actuator sample 7 years ago
Stephane Nicoll f7c070938f Merge pull request #9912 from eddumelendez:jackson_2.9.0
* pr/9912:
  Upgrade to Jackson 2.9.0
7 years ago
Eddú Meléndez 87ba8d2e14 Upgrade to Jackson 2.9.0
Closes gh-9912
7 years ago
Andy Wilkinson 9f75da9a8f Simplify the Actuator's hypermedia support
This commit replaces the Acuator's support for hypermedia with a
single endpoint that returns HAL-formatted links to all of the
available endpoints. This is done without requiring Spring HATEOAS
to be on the classpath in a similar manner to the existing
CloudFoundry discovery endpoint.

Closes gh-9901
7 years ago
Andy Wilkinson 4a61e45644 Require separate management port to use management context path of /
Closes gh-9898
7 years ago
Andy Wilkinson fb3d79c750 Drop support for self-hosted Actuator docs
Closes gh-9899
7 years ago
Madhura Bhave e64090838c Revert "Nested Map should not bind to null"
This reverts commit 5406567783.
7 years ago
Madhura Bhave 5406567783 Nested Map should not bind to null
Fixes gh-9801
7 years ago
Phillip Webb c81106b5e4 Increase JVM memory for Maven 7 years ago
Phillip Webb 2b846ad7b4 Fix typo in Maven plugin integration test 7 years ago
Phillip Webb 30ff329e3d Polish 7 years ago
Andy Wilkinson 71ade559d5 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 362a8ea9bc Merge pull request #9893 from Rostyslav Dudka
* gh-9893:
  Polish "Make JarURLConnection return entry's last modified time"
  Make JarURLConnection return entry's last modified time
7 years ago
Andy Wilkinson b7ac5f2eb2 Polish "Make JarURLConnection return entry's last modified time"
Closes gh-9893
7 years ago
rostislav.dudka 7c7259beec Make JarURLConnection return entry's last modified time
See gh-9893
7 years ago
Andy Wilkinson fb510043a2 Look in the right place for plugin's classes during integration tests
See gh-9516
7 years ago
Andy Wilkinson 36120d729a Ignore mainClassName property when its value is null
Closes gh-9892
7 years ago
Andy Wilkinson c2459fce47 Raise the minimum version of Gradle to 4.0
Closes gh-9516
7 years ago
Stephane Nicoll 32a40673bb Merge pull request #9890 from vpavic:fix-config-metadata
* pr/9890:
  Fix `additional-spring-configuration-metadata.json`
7 years ago
Vedran Pavic f84d90dbe7 Fix `additional-spring-configuration-metadata.json`
This commit fixes invalid references to `LoggingApplicationListener` in
`additional-spring-configuration-metadata.json`.

Closes gh-9890
7 years ago
Stephane Nicoll 92e48f6ee2 Fix build failure
This test definitely doesn't need Aspect processing since the project
doesn't have a dependency on `aspectjweaver`

Closes gh-9880
7 years ago
Stephane Nicoll b9b284d3d0 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 5c13b8bf50 Separate custom schema configuration for Liquibase test
Unfortunately, creating the schema in code did not offer the right
condition to reproduce the error scenario. This commit restore the
initial intent, but separating the configuration and cleaning the
created context properly.

See gh-9862
7 years ago
Stephane Nicoll 7736cb1dc5 Fix test so that it doesn't leave a datasource hanging around
Closes gh-9862
7 years ago
Stephane Nicoll ebbe29cc85 Migrate HazelcastJpaDependencyAutoConfigurationTests to context runner
This commit also makes sure to generate unique embedded data source and
disable datasource initialization as this is not required by those
tests.

See gh-9889
7 years ago
Stephane Nicoll 49d249bdf4 Disable Aop auto-config if aspectjweaver is not present
This commit adds an additional class check to AopAutoConfiguration as
it is main role is to configure `@EnableAspectJAutoProxy` which won't
work properly if `aspectjweaver` is not present.

Closes gh-9880
7 years ago
Stephane Nicoll edee342d80 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 3bc9718cc4 Merge pull request #9862 from candrews:patch-6
* pr/9862:
  Polish "Use configured schema in Liquibase endpoint"
  Use configured schema in Liquibase endpoint
7 years ago
Stephane Nicoll 7e21178f63 Polish "Use configured schema in Liquibase endpoint"
Closes gh-9862
7 years ago
Craig Andrews 3e13970fe0 Use configured schema in Liquibase endpoint
This commit makes sure that the Liquibase endpoint uses the configured
schema.

See gh-98£62
7 years ago
Andy Wilkinson c3bc449e34 Merge branch '1.5.x' 7 years ago
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