Commit Graph

7688 Commits (cf28f55e98a8bef3dd5db65d511522bad1afe30b)
 

Author SHA1 Message Date
Andy Wilkinson 140e86bb97 Merge branch '1.3.x' 9 years ago
Andy Wilkinson 5e0ba6ea2e Consider jar's Class-Path attribute when getting changeable URLs
To overcome command length limits on Windows, IntelliJ IDEA may launch
an application with a single jar on the classpath that contains that
application's actual classpath in the Class-Path attribute of its
manifest. This would prevent DevTools restarts from working as it
only considered the single jar's URL when identifying changeable URLs
and ignored the URLs added to the classpath via the jar's manifest.

This commit updates ChangeableUrls when it is created from a
URLClassLoader to consider the Class-Path manifest attribute of any
jars in the class loader's URLs. This allows the full classpath to
be considered when identifying URLs that are changeable and that
need to be monitored for restart triggering.

Closes gh-5127
9 years ago
Andy Wilkinson 0b5d39c0b8 Merge pull request #5617 from Yogesh Lonkar
* gh-5617:
  Polish contribution
  Allow embedded Mongo's storage to be configured via the environment
9 years ago
Andy Wilkinson 436da1d5fd Polish contribution 9 years ago
Yogesh Lonkar dc8685a927 Allow embedded Mongo's storage to be configured via the environment
Closes gh-5617
9 years ago
Andy Wilkinson f9a86363b5 Merge pull request #5627 from Johnny Lim
* gh-5627:
  Polish
9 years ago
Johnny Lim 3b5ecbd066 Polish
Closes gh-5627
9 years ago
Andy Wilkinson f9b51cc870 Upgrade to Spring Session 1.2.0.RC2
Closes gh-5629
9 years ago
Andy Wilkinson 66830ea1e5 Try to make SampleCassandraApplicationTests' port config more robust 9 years ago
Andy Wilkinson 55ad905d98 Merge pull request #5623 from Eddú Meléndez
* gh-5623:
  Upgrade to Spring Data Hopper SR1
9 years ago
Eddú Meléndez cc7fe7b85a Upgrade to Spring Data Hopper SR1
Closes gh-5623
9 years ago
Andy Wilkinson e5a253e689 Improve diagnostics when OnBeanCondition type deduction fails
When @ConditionalOnBean or @ConditionalOnMissingBean are used on a
@Bean method, they will, in the absence of any other configuration,
attempt to deduce the bean's type by examining the method's return
type. This deduction can fail. See gh-4841, gh-4934, and gh-5624
for some examples of possible failure causes. Previously, this
failure was only logged as a debug message leaving the user with a
misleading message suggesting that the @ConditionalOnBean or
@ConditionalOnMissingBean annotation was not configured correctly.

This commit improves the diagnostics by mention the possibility of
type deduction in the exception message and including the exception
that caused deduction to fail as the cause.

Closes gh-4934
9 years ago
Andy Wilkinson a37ae5d556 Polish test property source changes made in 69b08291
TestPropertySourcesInitializer needs to be ordered with a high
precedence, specifically higher than
ContextIdApplicationContextInitializer, to ensure that any properties
used in setting the context’s id are available in the environment.

Closes gh-4828
9 years ago
Dave Syer 9b121dcbaa Make MustacheViewResolver extend AbstractTemplateViewResolver
The Mustache support should still be usable outside a web application
because the properties only use web stuff in that context and don't
have any field or method signatures that depend on web.

Fixes gh-5626
9 years ago
Andy Wilkinson 69b0829199 Align precedence of @SpringBootTest properties with @TestPropertySource
This commit updates the precedence of properties configured using
@SpringBootTest to align with @TestPropertySource. Properties configured
using properties on @SpringBootTest are now added to the same property
source as those configured using properties on @TestPropertySource so
the precedence described in the javadoc of @TestPropertySource now
applies in full. Additionally, if both @TestPropertySource properties
and @SpringBootTest properties configure the same property, the value
from @TestPropertySource will win.

Closes gh-4828
9 years ago
Stephane Nicoll 5f5db1703c Merge pull request #5622 from eddumelendez/gh-5621
* pr/5622:
  Add dependency jackson-module-kotlin
9 years ago
Eddú Meléndez e50aac73ed Add dependency jackson-module-kotlin
Auto-detection for Kotlin Jackson Module was added in Spring 4.3.0.RC1.
This commit provides the dependency management to handle the right
version.

Closes gh-5622
9 years ago
Phillip Webb 75c76838b5 Add Narayana reference documentation
Closes gh-5552
9 years ago
Phillip Webb 9f1466c9a3 Refine Narayana log directory logic
Refine the log directory logic used by Narayana so that it is consistent
with Atomikos and Bitronix.

See gh-5552
9 years ago
Phillip Webb ec33c59f6b Polish 9 years ago
Phillip Webb 1abfed2f23 Add Javadoc dependencies 9 years ago
Phillip Webb 69a80596ba Merge pull request #5552 from gytis/spring-boot-starter-jta-narayana
* spring-boot-starter-jta-narayana:
  Polish contribution
  Add Narayana JTA support
9 years ago
Phillip Webb 48800f1818 Polish contribution 9 years ago
Gytis Trikleris a2adc5a130 Add Narayana JTA support
Add support for JBoss Narayana.

Fixes gh-5552
9 years ago
Phillip Webb 1b146f89f0 Fix failing test 9 years ago
Phillip Webb 01c9d72644 Polish 9 years ago
Andy Wilkinson d1a487333d Merge branch '1.3.x' 9 years ago
Andy Wilkinson 7f3d4adfef Merge pull request #5289 from Vladimir Tsanev
* gh-5289:
  Polish contribution
  Update JarURLConnection to support jar:file://… URLs
9 years ago
Andy Wilkinson 74e27db486 Polish contribution 9 years ago
Vladimir Tsanev a0f76eab47 Update JarURLConnection to support jar:file://… URLs
Previously, JarURLConnection would fail when created with a URL that
began with jar:file:// as the double-slash is not included in jarFile.getUrl().getFile().

This commit updates JarURLConnection to normalise the value return from
url.getFile() to remove a double-slash when present.

Fixes gh-5287
Closes gh-5289
9 years ago
Andy Wilkinson 6b13acfc93 Merge pull request #4361 from Christopher Smith
* gh-4361:
  Add dependency management for org.hibernate:hibernate-java8
9 years ago
Christopher Smith 4f6726ba10 Add dependency management for org.hibernate:hibernate-java8
Closes gh-4361
9 years ago
Andy Wilkinson f1f5066786 Merge branch '1.3.x' 9 years ago
Andy Wilkinson d6ad4dcc11 Merge pull request #5397 from Vedran Pavic
* gh-5397:
  Improve repeatability of launch script tests
9 years ago
Vedran Pavic 9e287ef611 Improve repeatability of launch script tests
Previously, tags were used for CentOS and Ubuntu images that may
change over time. This commit updates the Dockerfiles to use fixed
base images. For Ubuntu, a fixed tag is available. For CentOS we
have to resort to using the digest.

Closes gh-5397
9 years ago
Andy Wilkinson 1d4e52cc2b Merge branch '1.3.x' 9 years ago
Andy Wilkinson 30626b52aa Merge pull request #5394 from Christian Brunotte
* gh-5394:
  Update launch.script so popd does not print directory name to stdout
9 years ago
Christian Brunotte 677080b8e2 Update launch.script so popd does not print directory name to stdout
Closes gh-5394
9 years ago
Andy Wilkinson 571973a51a Merge branch '1.3.x' 9 years ago
Andy Wilkinson 0f6b76cf7b Merge pull request #5615 from Johnny Lim
* gh-5615:
  Remove a duplicate test
9 years ago
Johnny Lim ec83d97443 Remove a duplicate test
Closes gh-5615
9 years ago
Andy Wilkinson fc6c57413b Update docs to fully reflect BOOT-INF executable archive layout changes
Closes gh-5195
9 years ago
Stephane Nicoll 0ba605dbb2 Upgrade to Spring Framework 4.3.0.RC1
Closes gh-5616
9 years ago
Stephane Nicoll 9524da343f Merge pull request #5614 from izeye/polish-20160406
* pr/5614:
  Polish
9 years ago
Johnny Lim a55315b5b5 Polish
Closes gh-5614
9 years ago
Phillip Webb 37fa3a3b04 Merge pull request #5102 from sebastiankirsch
* gh-4913:
  Allow per-http-method MetricsFilter submissions
9 years ago
sebastiankirsch a15684e67e Allow per-http-method MetricsFilter submissions
Add `endpoints.metrics.filter.gauge-submissions` and
`endpoints.metrics.filter.counter-submissions` properties which can be
used to fine-tune how MetricsFilter submits metrics.

Use `per-http-method` to group by the the HTTP method, `merged` to
combine or both (`merged,per-http-method`) to submit both in forms.

Closes gh-5102
9 years ago
Phillip Webb 40e51021ba Merge pull request #5535 from gazal-k/gh-1826
* gh-1826:
  Add Liquibase rollback file support
9 years ago
Mohamed Gazal 3623eeda0c Add Liquibase rollback file support
Add a `liquibase.rollback-file` property which can be used to write
a rollback file when migrations occur.

Fixes gh-1826
Closes gh-5535
9 years ago
Phillip Webb f43123f2fa Merge branch 'gh-2763' 9 years ago