Commit Graph

11021 Commits (29c84dff4ade7d92e25adb11977877d24a9a4b7c)
 

Author SHA1 Message Date
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 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
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 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
Andy Wilkinson 6f864c6210 Fix up version numbers following release 7 years ago
Spring Buildmaster 17a5bb0be4 Next development version 7 years ago
Andy Wilkinson 3c27567e35 Upgrade to Spring Data Ingalls SR6
Closes gh-9871
7 years ago
Johnny Lim fe1eb8b5f3 Polish
See gh-9855
7 years ago
Andy Wilkinson 39b4270b7e Fix up version numbers following release 7 years ago
Spring Buildmaster 41c5c0e7c9 Next development version 7 years ago
Stephane Nicoll 4740b47985 Upgrade to Spring Data Ingalls SR5-1
Closes gh-9834
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 aedeaa943a Upgrade to Mysql 5.1.43
Closes gh-9857
7 years ago
Stephane Nicoll 6c271bb679 Upgrade to Spring Data Ingalls SR5
Closes gh-9834
7 years ago
Phillip Webb dca463c7d9 Polish 7 years ago
Phillip Webb 66619bbe2b Formatting 7 years ago
Phillip Webb 28dad44e2d Be defensive about JUL calls from JAR Handler
Update nested JAR support to only obtain JUL loggers when absolutely
necessary and to defensively deal with failures.

Prior to this commit it was not possible to override
`java.util.logging.manager` to use a nested JAR as the logger
implementation.

Fixes gh-9848
7 years ago
Phillip Webb b9cfe21193 Make @ImportAutoConfiguration not register package
Update `@ImportAutoConfiguration` so that it is no longer annotated with
`@AutoConfigurationPackage` and as such isn't a marker for
`AutoConfigurationPackages`.

Having `@ImportAutoConfiguration` marked as an auto-configuration
package is particularly problematic in tests since it frequently breaks
context caching.

Fixes gh-9282
7 years ago
Andy Wilkinson 2775beb2b7 Revert "Upgrade to Spring Data Ingalls SR5"
This reverts commit 8b2f09d35b.
It's not in Maven Central.
7 years ago
Andy Wilkinson 8b2f09d35b Upgrade to Spring Data Ingalls SR5
Closes gh-9834
7 years ago
Stephane Nicoll 9fd94720f1 Better customization of the auto-configured ActiveMQConnectionFactory
This commit exposes additional properties and a callback interface to
further tune the auto-configured ActiveMQConnectionFactory.

Closes gh-9667
7 years ago
Stephane Nicoll 9a34d952e9 Provide an alternative to `spring.activemq.pool.configuration`
This commit expands the support of PooledConnectionFactory so that
binding the third party object is no longer necessary. All 3rd party
properties are now deprecated in favour of our explicit support.

The main reason behind this change is that a `connection-factory` and
`properties` property were exposed. The former is used to set the
`ConnectionFactory` and makes no sense as a key. The latter is
rebuilding the underlying `ActiveMQConnectionFactory` at each call
without reusing any existing settings.

Closes gh-9837
7 years ago
Stephane Nicoll 0680c4ce2b Add Hiatus for Spring Boot to the list of 3rd party starters
Closes gh-9846
7 years ago
Andy Wilkinson d4ecda9030 Work around javac bug (internal review ID 9050163) 7 years ago
Andy Wilkinson feb964b559 Merge pull request #9534 from Danny Thomas
* gh-9534:
  Polish "Ensure SpringBootDITEL fails with the original failure"
  Ensure SpringBootDITEL fails with the original failure
7 years ago
Andy Wilkinson b7080ddec5 Polish "Ensure SpringBootDITEL fails with the original failure" 7 years ago
Danny Thomas 2c48087604 Ensure SpringBootDITEL fails with the original failure
See gh-9534
7 years ago
Andy Wilkinson 94ea3e8618 Merge pull request #9724 from Gytis Trikleris
* gh-9724:
  Polish "Make NarayanaRecoveryManagerBean conditional on missing bean"
  Make NarayanaRecoveryManagerBean conditional on missing bean
7 years ago
Andy Wilkinson bb35e772c2 Polish "Make NarayanaRecoveryManagerBean conditional on missing bean"
Closes gh-9724
7 years ago
Gytis Trikleris d8a6954744 Make NarayanaRecoveryManagerBean conditional on missing bean
See gh-9724
7 years ago
Andy Wilkinson 8f877dcee2 Disable auto-config of Narayana's JMS support when JMS module absent
Closes gh-9844
7 years ago
Andy Wilkinson be535103a7 Merge pull request #9832 from Johnny Lim
* gh-9832:
  Use currentHealth consistently in getHealth()
7 years ago
Johnny Lim d18e452fcd Use currentHealth consistently in getHealth()
Closes gh-9832
7 years ago
Andy Wilkinson 39b4ecdf63 Adapt to breaking change in Spring Data
See gh-9834
7 years ago
Andy Wilkinson 8207852bcd Ensure that detected request factories are initialized
Closes gh-9797
7 years ago
Andy Wilkinson a8ad68ebc1 Start building against Spring Data Ingalls snapshots
See gh-9834
7 years ago
Andy Wilkinson f4f54047e0 Clarify behaviour of SpringApplicationBuilder.sibling(Object...)
Closes gh-8898
7 years ago
Andy Wilkinson 20a417f469 Merge pull request #9730 from Dylian Bego
* gh-9730:
  Polish "Handle possible regexes defensively in NamePatternFilter"
  Handle possible regexes defensively in NamePatternFilter
7 years ago
Andy Wilkinson bbc34a676c Polish "Handle possible regexes defensively in NamePatternFilter"
Closes gh-9730
7 years ago
dbego c29d1c756a Handle possible regexes defensively in NamePatternFilter
Previously, if a name contained part of a regex but wasn't actually
a regex, a PatternSyntaxException would be thrown and the request
would fail.

This commit updates NamePatternFilter to catch PatternSyntaxException
and treat the regex-like input as a name insteead.

See gh-9730
7 years ago
Andy Wilkinson c70cc55db8 Polishing
See gh-9827
7 years ago
Andy Wilkinson ece66e1d4a Polish javadoc in JsonContentAssert
See gh-9675
7 years ago