Commit Graph

11062 Commits

Author SHA1 Message Date
Johnny Lim 2c897385d9 Document default values for compression properties
Closes gh-10050
2017-08-21 18:12:27 +02:00
Stephane Nicoll fa037610f8 Add missing class check on Neo4jDataAutoConfiguration
Neo4jDataAutoConfiguration is meant to kick in when Spring Data Neo4J is
on the classpath. Yet, we were only checking for the presence of neo4j
itself and the transaction manager provided by spring-tx.

This commit makes sure to back off if Spring Data Neo4J is not present.

Closes gh-10038
2017-08-18 12:07:59 +02:00
Stephane Nicoll 8b8322216d Revert "Upgrade to Spring Integration 4.3.12"
This reverts commit 0e64598
2017-08-18 11:57:28 +02:00
Stephane Nicoll 0e6459888c Upgrade to Spring Integration 4.3.12
Closes gh-10034
2017-08-18 11:47:32 +02:00
Stephane Nicoll dbaaf2a5fa Improve conditions on FreeMarkerWebConfiguration
This commit makes sure to prevent the Freemarker web auto-configuration
to kick in if `spring-webmvc` is not on the classpath.

Closes gh-10027
2017-08-17 13:28:45 +02:00
Stephane Nicoll cbc3c8f496 Update license to Github standard template
Closes gh-10026
2017-08-17 09:41:36 +02:00
Stephane Nicoll fc52f6b859 Merge pull request #10012 from tabish121:amqphub-thrid-party
* pr/10012:
  Polish "Add link to AMQP 1.0 JMS Binding Spring Boot starter"
  Add link to AMQP 1.0 JMS Binding Spring Boot starter
2017-08-16 18:18:18 +02:00
Stephane Nicoll d6f99de6c0 Polish "Add link to AMQP 1.0 JMS Binding Spring Boot starter"
Closes gh-10012
2017-08-16 18:17:52 +02:00
Timothy Bish f4bd36b96c Add link to AMQP 1.0 JMS Binding Spring Boot starter
See gh-10012
2017-08-16 18:14:00 +02:00
Stephane Nicoll cabd798353 Polish NestedConfigurationProperty documentation
Closes gh-9895
2017-08-14 16:13:54 +02:00
Stephane Nicoll 7db7ccf9fe Merge pull request #10004 from gytis:1.5.x
* pr/10004:
  Upgrade to Narayana 5.5.30.Final
2017-08-14 15:45:18 +02:00
Gytis Trikleris 4d42d89d71 Upgrade to Narayana 5.5.30.Final
Closes gh-10004
2017-08-14 15:44:46 +02:00
Stephane Nicoll c73fde31ec Merge pull request #9989 from blasd:1.5.x
* pr/9989:
  Polish "Add missing dependency management for Jetty"
  Add missing dependency management for Jetty
2017-08-11 12:26:48 +02:00
Stephane Nicoll 4956829ba9 Polish "Add missing dependency management for Jetty"
Closes gh-9989
2017-08-11 12:26:16 +02:00
Benoit Lacelle 8f943c5a20 Add missing dependency management for Jetty
See gh-9989
2017-08-11 12:24:45 +02:00
Andy Wilkinson 9750d2e59d Fix OAuth2 sample integration test to expect corrected property names
See gh-9944
2017-08-09 12:07:57 +01:00
Andy Wilkinson 5c8fc72b41 Merge pull request #9965 from Philippe Sam-Long
* gh-9965:
  Clarify docs on effect RANDOM_PORT or DEFINED_PORT has on transactions
2017-08-09 12:02:08 +01:00
pulsation c9faefc562 Clarify docs on effect RANDOM_PORT or DEFINED_PORT has on transactions
Previously, when read too quickly, the current note may lead a user to
think that RANDOM_PORT or DEFINED_PORT directly affect transaction
management. This is not the case.

This commit attempts to clarify that the difference in transaction
behaviour is due to transactions being bound to a particular thread
and separate threads being used for the client and server when
tests are making HTTP requests.

Closes gh-9965
2017-08-09 11:57:34 +01:00
Andy Wilkinson 9f9cef1e6b Merge pull request #9940 from Johnny Lim
* gh-9940:
  Add more ConditionalOnClass checks in HealthIndicatorAutoConfiguration
2017-08-09 11:53:03 +01:00
Johnny Lim ee3de15e37 Add more ConditionalOnClass checks in HealthIndicatorAutoConfiguration
Closes gh-9940
2017-08-09 11:52:18 +01:00
Andy Wilkinson dc33ec1ad9 Merge pull request #9914 from Dennis Kieselhorst
* gh-9914:
  Avoid NPE in AnnotationsPropertySource if getAnnotations returns null
  Polish "Avoid NPE in PropertyMappingContextCustomizer"
  Avoid NPE in PropertyMappingContextCustomizer
2017-08-09 11:44:19 +01:00
Andy Wilkinson 7967c64d65 Avoid NPE in AnnotationsPropertySource if getAnnotations returns null
Closes gh-9914
2017-08-09 11:42:38 +01:00
Andy Wilkinson 25d0cc167e Polish "Avoid NPE in PropertyMappingContextCustomizer"
See gh-9914
2017-08-09 11:41:39 +01:00
Dennis Kieselhorst e7a6b8c260 Avoid NPE in PropertyMappingContextCustomizer
See gh-9914
2017-08-09 11:40:41 +01:00
Andy Wilkinson 3cc22ecffb Merge pull request #9944 from Christian Bühler
* gh-9944:
  Polish "Fix logged property names when initializing OAuth2 client"
  Fix logged property names when initializing OAuth2 client
2017-08-09 11:27:44 +01:00
Andy Wilkinson e08d09f5a3 Polish "Fix logged property names when initializing OAuth2 client"
See gh-9944
2017-08-09 11:26:56 +01:00
Christian Bühler 6babd41f19 Fix logged property names when initializing OAuth2 client
Closes gh-9944
2017-08-09 11:23:51 +01:00
Andy Wilkinson b90803249e Start building against Spring Framework 4.3.11 snapshots
See gh-9956
2017-08-04 12:47:54 +01:00
Andy Wilkinson debf285772 Update the Maven Wrapper using Takari Maven Plugin 0.4.1
See gh-9928
2017-08-03 21:37:05 +01:00
Andy Wilkinson 1f37da5b06 Merge pull request #9938 from Johnny Lim
* gh-9938:
  Polish
2017-08-03 21:17:42 +01:00
Johnny Lim 56f47e1a50 Polish
Closes gh-9938
2017-08-03 21:17:10 +01:00
Andy Wilkinson 7a87c69dd0 Normalize spec when creating jar URL by removing /../ and /./
Previously when Handler was creating a URL from a context URL and a
spec, any occurrances of /../ or /./ in the spec would be left as-is.
This differed from the JDK's Handler implementation which normalizes
the URL by modifying the path to remove any occurrences of /../ or
/./

This commit updates our Handler implementation to align it with the
JDK's. Tests have been added to assert that, given the same inputs,
the two Handler classes produce the same output.

Closes gh-9917
2017-08-03 19:48:58 +01:00
Andy Wilkinson 3b0cb1c4f2 Merge pull request #9641 from Gytis Trikleris
* gh-9641:
  Delay Narayana recovery manager until it's started explicitly
2017-08-01 15:46:59 +01:00
Gytis Trikleris f43ad00129 Delay Narayana recovery manager until it's started explicitly
Closes gh-9641
2017-08-01 15:42:40 +01:00
Andy Wilkinson 5a8a86375d Sanitize individual env entry that is matched exactly
Closes gh-9918
See gh-8282
2017-07-31 15:27:55 +01:00
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
2017-07-28 15:42:44 +01:00
Andy Wilkinson b7ac5f2eb2 Polish "Make JarURLConnection return entry's last modified time"
Closes gh-9893
2017-07-28 15:41:34 +01:00
rostislav.dudka 7c7259beec Make JarURLConnection return entry's last modified time
See gh-9893
2017-07-28 15:41:29 +01:00
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
2017-07-28 11:59:15 +02:00
Stephane Nicoll 7736cb1dc5 Fix test so that it doesn't leave a datasource hanging around
Closes gh-9862
2017-07-28 11:43:28 +02:00
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
2017-07-28 10:21:41 +02:00
Stephane Nicoll 7e21178f63 Polish "Use configured schema in Liquibase endpoint"
Closes gh-9862
2017-07-28 10:21:27 +02:00
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
2017-07-28 10:21:27 +02:00
Andy Wilkinson ab08cccc21 Merge pull request #9725 from Gytis Trikleris
* gh-9725:
  Polish "Simplify retrieval of Narayana XARecoveryModule"
  Simplify retrieval of Narayana XARecoveryModule
2017-07-28 07:32:52 +01:00
Andy Wilkinson 2925f1b86a Polish "Simplify retrieval of Narayana XARecoveryModule"
Closes gh-9725
2017-07-28 07:32:10 +01:00
Gytis Trikleris 3874196efe Simplify retrieval of Narayana XARecoveryModule
See gh-9725
2017-07-28 07:32:01 +01:00
Andy Wilkinson b190a0779d Merge pull request #9678 from Priyanshi Goyal
* gh-9678:
  Polish "Deprecate JsonContent.assertThat()"
  Deprecate JsonContent.assertThat()
2017-07-27 10:51:14 +01:00
Andy Wilkinson 7a4c18eaba Polish "Deprecate JsonContent.assertThat()"
Closes gh-9678
2017-07-27 10:50:09 +01:00
Priyanshi fa57491030 Deprecate JsonContent.assertThat()
See gh-9678
2017-07-27 10:49:55 +01:00
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
2017-07-27 10:18:21 +01:00