Commit Graph

9397 Commits (fd53945fe06e744dae288503876aaf9c9d2c7745)
 

Author SHA1 Message Date
Stephane Nicoll bd0c1cb9c3 Fixup version numbers following release 8 years ago
Spring Buildmaster ed1ce140c0 Next Development Version 8 years ago
Stephane Nicoll a26ccb17f7 Upgrade to Spring Data Hopper.SR7
Closes gh-8112
8 years ago
Stephane Nicoll 8a3e82734e Start building against snapshots for Spring Data Hopper SR7
See gh-8112
8 years ago
Stephane Nicoll ad29a6ec07 Upgrade to Spring Integration 4.3.7.RELEASE
Closes gh-8032
8 years ago
Phillip Webb ae910f3169 Update CLI open_source_licenses.txt file
Closes gh-7703
8 years ago
Phillip Webb 0af53b361f Ensure embedded start can be called multiple times
Update all `EmbeddedServletContainer` implementations to ensure that
the `start()` method can be called multiple times, with the second call
being ignored.

Fixes gh-8036
8 years ago
Phillip Webb ef69ae6a89 Ensure logging filters are removed on cleanup
Update `Log4J2LoggingSystem` and `LogbackLoggingSystem` to ensure
that filters are removed when the `cleanUp` method is called. Prior
to this commit application failures would not remove the filter and
no log messages would appear.

The `LoggingApplicationListener` has also been updated since it
previously failed to handle `ApplicationFailureEvents`.

Finally `EventPublishingRunListener` and `DelegatingApplicationListener`
have been updated to deal with `null` parameters and to cope with
listener errors.

Fixes gh-7758
8 years ago
Phillip Webb 2cf93f89f5 Polish 8 years ago
Andy Wilkinson daf6be46f6 Revert "Upgrade to Groovy 2.4.8"
This reverts commit 70cd5c42ed.

See gh-8083
8 years ago
Stephane Nicoll feb496fecd Upgrade to Spring Framework 4.3.6.RELEASE
Closes gh-7774
8 years ago
Andy Wilkinson bfee21730c Detect path of exploded war correctly on Windows
Previously, AbstractEmbeddedServletContainerFactory detected an
exploded war by looking for `/WEB-INF/` in the path of its code
source's location. This failed on Windows due to the use of `\` rather
than `/` separators.

This commit updates AbstractEmbeddedServletContainerFactory to
uses the OS's separator rather than hardcoding `/`.

Closes gh-8100
8 years ago
Stephane Nicoll 265a712294 Fix keys format for embedded mongodb support
Closes gh-8102
8 years ago
Andy Wilkinson bd58a6de66 Upgrade to Jaybird 2.2.12
Closes gh-8086
8 years ago
Andy Wilkinson f8056f9888 Upgrade to Elasticsearch 2.4.4
Closes gh-8085
8 years ago
Andy Wilkinson 96f6f42b32 Upgrade to Jetty 9.3.16.v20170120
Closes gh-8084
8 years ago
Andy Wilkinson 70cd5c42ed Upgrade to Groovy 2.4.8
Closes gh-8083
8 years ago
Andy Wilkinson fcd5477334 Upgrade to Httpcore 4.4.6
Closes gh-8082
8 years ago
Andy Wilkinson a736102a4b Upgrade to Activemq 5.13.5
Closes gh-8081
8 years ago
Andy Wilkinson ec70046e27 Upgrade to Joda Time 2.9.7
Closes gh-8080
8 years ago
Andy Wilkinson b5cecd42d1 Upgrade to Undertow 1.3.26.Final
Closes gh-8079
8 years ago
Andy Wilkinson b43a8c2069 Upgrade to Jackson 2.8.6
Closes gh-8078
8 years ago
Andy Wilkinson fe17a0efa2 Upgrade to Logback 1.1.9
Closes gh-69
8 years ago
Andy Wilkinson 1607f682db Start building against Spring Framework 4.3.6 snapshots
See gh-7774
8 years ago
Stephane Nicoll 4efa4590f8 Review doc on advanced datasource customization
Closes gh-7652
8 years ago
Stephane Nicoll 4760a1a6e1 Merge pull request #8057 from izeye:fix-test-20170122
* pr/8057:
  Fix entry in broken-initialization.factories
8 years ago
Johnny Lim 752b8bd650 Fix entry in broken-initialization.factories
Closes gh-8057
8 years ago
Andy Wilkinson 9e2e824098 Upgrade to Tomcat 8.5.11
Closes gh-7360
8 years ago
Andy Wilkinson 0ce7c9516a Document how to configure test- and profile-specific Flyway migrations
Closes gh-2753
8 years ago
Stephane Nicoll 93bc34c1eb Merge pull request #8039 from rafael-rollo:master
* pr/8039:
  Indenting SpringApplication javadoc code
8 years ago
Rafael Rollo 6fba1381c1 Indenting SpringApplication javadoc code
Closes gh-8039
8 years ago
Stephane Nicoll 2c5c539bf1 Document automatic scheduling of metrics export
Closes gh-8040
8 years ago
Stephane Nicoll d9a0a55245 Upgrade to Spring AMQP 1.6.7.RELEASE
Closes gh-8033
8 years ago
Phillip Webb b05bdbfe4f Polish 8 years ago
Andy Wilkinson e04ace89b9 Fix LinkageError with ExpectedException and FilteredClassPathRunner
Previously, when the ExpectedException JUnit rule was used with
FilteredClassPathRunner a LinkageError would occur if any of
ExpectedException's methods that take a Hamcrest Matcher were called.
This was due to the FilteredClassLoader delegating loading of
org.junit classes to its parent but not org.hamcrest classes. This
resulted in JUnit classes loading one version of the Hamcrest class
and the test class loading another.

This commit ensures that both the JUnit classes and the test class
use the same version of Hamcrest classes by also delegating the
loading of org.hamcrest classes to FilteredClassLoader's parent.
8 years ago
Stephane Nicoll 9a9c4c75bf Merge pull request #8030 from michael-simons:fix-appendix-b
* pr/8030:
  Fix closing parentheses
8 years ago
Michael J. Simons a852c49edd Fix closing parentheses
Closes gh-8030
8 years ago
Stephane Nicoll ffa6d6d6e0 Improve error message used in TestDatabaseAutoConfiguration
By default, `@DataJpaTest` (and `@AutoConfigureTestDatabase`) attempt to
replace any existing `DataSource` by an embedded one. Previously, if
there is was no embedded database on the classpath, the exception message
did not provide that context in the error message.

This commit clarifies the error message to conduct
`TestDatabaseAutoConfiguration` (that is replacing the existing
`DataSource`).

Closes gh-7797
8 years ago
Andy Wilkinson 80a1e1ae64 Polishing 8 years ago
Andy Wilkinson b7a02e7237 Update TestRestTemplate to apply template handler to URIs
Previously, TestRestTemplate would only apply the UriTemplateHandler
to Strings and not to URIs. When using the auto-configured
TestRestTemplate, this prevented relative URIs from being
made absolute using LocalHostUriTemplateHandler.

The commit updates TestRestTemplate to turn URIs into Strings before
passing them to the delegate RestTemplate. Turning them into Strings
ensures that the delegate calls the UriTemplateHandler.

Closes gh-7891
8 years ago
Andy Wilkinson 6a0fb8e44c Update DevTools' ResourceLoader to delegate to user's custom loader
Previously, when DevTools' was used it would set the application
context's ResourceLoader and overwrite any custom ResourceLoader that
had been configured. On the rare occasion when the user had customized
the ResourceLoader this meant that the customization was lost and
certain resources would become unavailable.

This commit updates DevTools' ResourceLoader to delegate a custom
ResourceLoader if one has been configured. If one has not been
configured it delegates as before, i.e. to
WebApplicationContextResourceLoader for web applications and to
DefaultResourceLoader for all others apps.

Closes gh-8010
8 years ago
Phillip Webb b28d537c78 Disable unwanted m2e activations
Add m2e activation properties to disable unwanted Eclipse facets.
8 years ago
Stephane Nicoll b242543545 Backport missing 3rd party starter reference 8 years ago
Stephane Nicoll b7d3e91e38 Merge pull request #8014 from larsgrefer:patch-1
* pr/8014:
  Add OkHttp starter reference
8 years ago
Lars Grefer f5d1b7807c Add OkHttp starter reference
Closes gh-8014
8 years ago
Andy Wilkinson 0e72ef1a10 Improve diagnostics for in StarterDependenciesIntegrationTests
The root cause of the build failure something has a null message which
means there's no information available about why the build failed.
Instead of calling fail when a BuildException occurs, this commit
wraps it in a RuntimeException and rethrows it. This should make the
entire chain of exceptions available when a failure occurs.
8 years ago
Andy Wilkinson 2a5586fbcf Ensure that JarResourceManager correctly handles path without leading /
Previously, JarResourceManager assumed that the path would begin with
a / but this isn't always the case. For example, it may be an empty
string. This could lead to a malformed jar:file: URL that used ! as
the separator rather than the required !/.

This commit updates JarResourceManager to prepend / to any path that
does not being with one before using it to construct the URL.

Closes gh-7717
8 years ago
Andy Wilkinson a02c2d4155 Improve the documentation of Health.Status constants
Closes gh-7784
8 years ago
Andy Wilkinson 9695e0a9d1 Document breakpoint config for remote debug tunnel and IntelliJ IDEA
Closes gh-7732
See gh-5047
8 years ago
Andy Wilkinson 0463350d2e Document that spring(Profile|Property) cannot be used with scan=true
Closes gh-5611
8 years ago