Commit Graph

6113 Commits (4ae6d7c97e1b93c812e1bd630c68fd6c8d44af90)
 

Author SHA1 Message Date
Stephane Nicoll 5d4bb41e98 Merge pull request #3831 from ractive/master
* pr/3831:
  Polish contribution
  Do not attempt to restart non-restartable jobs
9 years ago
Stephane Nicoll 1a60056f9e Polish contribution
Closes gh-3831
9 years ago
james 560ffc9056 Do not attempt to restart non-restartable jobs
Closes gh-3830
9 years ago
Stephane Nicoll cd1ace0c15 Merge branch '1.2.x' 9 years ago
Barry Lagerweij 8d75aa0ea9 Fix Oracle XA datasource class name
Closes gh-3846
9 years ago
Stephane Nicoll 4882f1c377 Merge pull request #3866 from shakuzen/patch-6
* pr/3866:
  Add link to Hazelcast documentation
9 years ago
Tommy Ludwig 4a27ea563a Add link to Hazelcast documentation
Closes gh-3866
9 years ago
Stephane Nicoll 8f520dafc7 Remove hard-coded list of values in description
Since the meta-data now provide an explicit support for value hints, we
should not copy/paste them in the description as the IDE is able to
process them any way it wants.

Closes gh-3863
9 years ago
Dave Syer 2b3d419e10 Add FilterRegistrationBean.REQUEST_WRAPPER_FILTER_MAX_ORDER constant
All the filters added explicitly by Spring Boot now have order <=
FilterRegistrationBean.REQUEST_WRAPPER_FILTER_MAX_ORDER (value 0).
There is nothing we can do about the DispatcherServlet and anything
else downstream of the filter chain.

Fixes gh-3613
9 years ago
Stephane Nicoll 3800729d0d Merge branch '1.2.x' 9 years ago
Stephane Nicoll 5043c959a2 Refine check
Refine commit 8a96481 to set the web environment to false if spring web
is not available in the classpath. Thanks to @mjustin for spotting that
mistake.

Closes gh-3856
9 years ago
Stephane Nicoll 817111c6d3 Merge branch '1.2.x'
Conflicts:
	spring-boot-deployment-tests/spring-boot-deployment-test-tomcat/pom.xml
	spring-boot-deployment-tests/spring-boot-deployment-test-tomee/pom.xml
9 years ago
Stephane Nicoll 426a8dc103 Store container installs in home directory
Previously, deployment tests were storing the container archives in the
default location (that is `/tmp`) for a total weight of 160MB. In case
the temp directory is cleaned on CI, these have to be downloaded again.

We're now configuring cargo to store these archives in the home directory
instead. This should improve the speed and the stability of the
deployment tests

Closes gh-3861
9 years ago
Andy Wilkinson be640965a6 Support resolution of HAL link titles from a resource bundle
Spring HATEOAS 0.19.0.RELEASE provide support for resolving a link’s
title by looking up the key _links.$rel.title. For us to take advantage
of this in Spring Boot, HalHandlerInstantiator must be created using
the link relation message source that’s automatically created by
HateoasConfiguration.

Closes gh-3860
9 years ago
Stephane Nicoll 378ce1280a Upgrade to Spring Framework 4.2.1.RELEASE
Closes gh-3758
9 years ago
Stephane Nicoll bd942a35fb Fix upgrade to Spring Data Gosling RELEASE
Closes gh-3860
9 years ago
Andy Wilkinson 0b24a4417a Upgrade to Spring Data Gosling RELEASE
Closes gh-3860
9 years ago
Dave Syer 5a28745527 Handle unresolved property names with underscore
When the configuration property name is not resolved against
the target bean's property descriptors and the property name
is delimited by `underscore` instead of `dot`, then `RelaxedDataBinder`
doesn't bind those properties to the target if the property is
of type Map.

With thanks to @ilayaperumalg for the original PR.
Updated by @dsyer to recognize that the property is of type Map, rather
than blindly trying all combinations of property paths.

Fixes gh-3836
9 years ago
Stephane Nicoll d46cf8e82e Merge branch '1.2.x' 9 years ago
Stephane Nicoll 8a96481423 Properly guard customization of application context class
SpringApplication wrongly expects spring-web to be on the classpath to
figure out whether or not the web environment should be enabled for a
custom context class.

We now properly guard this check so that the web environment is not
enabled (read: not checked) if `spring-web` is not available.

Closes gh-3856
9 years ago
Stephane Nicoll fe1b2825ce Add ModelMapper starter 9 years ago
Stephane Nicoll 43b9a21283 Merge branch '1.2.x' 9 years ago
Stephane Nicoll cd39e6a742 Upgrade to H2 1.4.188
Closes gh-3843
9 years ago
Stephane Nicoll a3dea2149b Merge branch '1.2.x' 9 years ago
Stephane Nicoll c04d00a2e9 Upgrade to H2 1.4.188
Closes gh-3843
9 years ago
Stephane Nicoll 60d7162270 Merge pull request #3844 from herau/master
* pr/3844:
  Fix sample links
9 years ago
herau c379caadef Fix sample links
Closes gh-3844
9 years ago
Andy Wilkinson bb92387928 Polishing 9 years ago
Rob Winch 34772e4177 Add Auto Configuration for SecurityEvaluationContextExtension
Fixes gh-3840
9 years ago
Stephane Nicoll e9fe34e2fa Merge pull request #3818 from madorb/master
* pr/3818:
  Polish contribution
  Consistently apply table prefix
9 years ago
Stephane Nicoll bd15a0c03a Polish contribution
Closes gh-3818
9 years ago
madorb b69152571e Consistently apply table prefix
Make sure that if a custom table prefix is specified, it is set on the
JobRepository as well.

Closes gh-3798
9 years ago
Stephane Nicoll 19fe86169f Upgrade maven-enforcer-plugin to 1.4
Closes gh-3661
9 years ago
Stephane Nicoll 8aca174910 Upgrade version-maven-plugin to 2.1
Closes gh-3662
9 years ago
Stephane Nicoll b3c2d1521f Merge pull request #3532 from izeye/metrics-20150717
* pr/3532:
  Make metric type more sensible
9 years ago
izeye 3ec97c1bb9 Make metric type more sensible
Closes gh-3532
9 years ago
Stephane Nicoll 2c619232b3 Add ComponentScan aliases on SpringBootApplication
Add aliases for `@ComponentScan`attributes on `@SpringBootApplication`
so that it is possible to customize how the component scan should be
applied on the project.

Previously, one would have to revert to `@EnableAutoConfiguration` to
achieve the same result.

Closes gh-3368
9 years ago
Eric Fenderbosch ea4061fe99 Add AllNestedConditions and NoneOfNestedConditions
Fixes gh-2400
9 years ago
Stephane Nicoll 721b5a2395 Hazelcast auto-configuration
Provide a general purpose Hazelcast integration (i.e. not tied to caching).

Auto-configure a `HazelcastInstance` either based on the presence of a
`Config` bean or a configuration file. Said configuration file can be
specified explicitly or automatically found from default locations.

The cache integration already supports Hazelcast so it has been reworked
to automatically reuse an existing `HazelcastInstance` if available.

Closes gh-2942
9 years ago
Andy Wilkinson 35b2bca614 Merge branch 'gh-3703' 9 years ago
Andy Wilkinson 90668584c3 Polish contribution
Closes gh-3703
9 years ago
Rob Winch 868589366e Ensure that Spring Security Filter's order is configured
This commit ensures that even when a user specifies a
WebSecurityConfiguration that the order of Spring Security's Filter
is still configured.

Closes gh-3824
See gh-3703
9 years ago
Dave Syer 9dec0971d6 Change restart to fail if not running 9 years ago
Dave Syer ff681adc5b Fix launch.script to not exit prematurely
Use "return" instead of "exit" where possible, especially in
function definitions.

Also fixed the exit codes to match the LSB spec for some specific
conditions (fixes gh-3521).

Fixes gh-3199, fixes gh-3535
9 years ago
Dave Syer 67483bb73c Only use Converters which are @ConfigurationPropertiesBinder qualified
Users sometimes create beans of type Converter and don't expect that to
automatically trigger a cascade of early initialization. This change adds
a qualifier to the Converters that are used by @ConfigurationProperties,
so they can be isolated (and simple).

Fixes gh-2669
9 years ago
Dave Syer 538afc4ab1 Make some methods in BasicErrorController protected
Spring MVC requires all handlers for the same path to be on the same handler
so if anyone wants to add new handlers for different content types they
have to copy a lot of code from BasicErrorController. This change increases
the visibility of the basic utility methods in BasicErrorController so that
custom handlers can be added easily.

Fixes gh-3828
9 years ago
Andy Wilkinson a0870c1c4a Ignore binding failures for env vars and system properties
1.3.0.M4 tightened up the configuration property binding such that
ignoreUnknownFields = false now works as intended. Unfortunately, this
has led to some complaints as applications that worked with 1.2.x have
stopped working. For example, a SERVER_HOME environment variable does
not cause a failure in 1.2.x despite there being no home property on
ServerProperties but will now fail in 1.3.0.M4.

This commit updates RelaxedDataBinder to ignore binding failures for
properties that come from a source outside of the application’s control,
namely environment variables and system properties.

Closes gh-3775
9 years ago
Stephane Nicoll d74d657372 Polish 9 years ago
Andy Wilkinson 2373e0fe66 Polishing
Remove stale test class
9 years ago
Andy Wilkinson 003268fb4e Add support for @WebFilter, @WebListener, @WebServlet
This commit adds a new annotation, @ServletComponentScan, that can be
used to enable scanning for @WebFilter, @WebListener, and @WebServlet
annotated classes. Registration beans will be automatically created for
any classes that are found, with the configuration derived from the
annotation.
9 years ago