Commit Graph

14186 Commits (5c2d487b3ee20831457f93067dec995529a9a222)
 

Author SHA1 Message Date
Stephane Nicoll f975e8d363 Merge pull request #10941 from izeye:null-check
* pr/10941:
  Add missing null check in FileSystemWatcher.stopAfter()
7 years ago
Johnny Lim b965171b41 Add missing null check in FileSystemWatcher.stopAfter()
Closes gh-10941
7 years ago
Stephane Nicoll 373f7db3b5 Add missing supported source version
Closes gh-10929
7 years ago
Phillip Webb dd3dde3531 Make concourse pipeline public
Migrate concourse pipeline to use credhub and expose a limited number
of jobs as "public".

Closes gh-10693
7 years ago
Phillip Webb 06b1b453a6 Limit when SystemEnvironment mapping is used
Update `SpringConfigurationPropertySource` so that the
`SystemEnvironmentPropertyMapper` is only used for the "actual" system
environment property source. This allows SystemEnvironmentProperySource
class to be used for other purposes (for example, Spring Cloud uses it
to as an override source providing decryption).

Only property sources named `systemEnvironment` or ending with
`-systemEnvironment` now have the `SystemEnvironmentPropertyMapper`
applied. The `TestPropertyValues` has been retrofitted to name the
source it adds appropriately.

Fixes gh-10840
7 years ago
Ryon 283c9de28f Improve spring-boot-autoconfigure for Redis caches
Expose key prefix, TTL and null value settings for spring-data-redis'
RedisCacheConfiguration in Spring .properties/yml configuration files.

Example:

spring.cache.redis.ttl=PT15M
spring.cache.redis.keyPrefix=foo
spring.cache.redis.useKeyPrefix=false
spring.cache.redis.cacheNullValues=false

Fixes gs-10795
7 years ago
Phillip Webb e9f31f9c34 Improve configuration properties back-compatibility
Refine `SystemEnvironmentPropertyMapper` to support environment
variables that would have worked in Spring Boot 1.5. Specifically,
camelCase property bindings now support an additional underscore. The
recommended way to map `fooBar` is still `PREFIX_FOOBAR`, however,
`PREFIX_FOO_BAR` will now also work.

Fixes gh-10873
7 years ago
Phillip Webb 1e7d85a632 Polish 7 years ago
Andy Wilkinson 723222aa95 Allow configuredLevel to be null when configuring a logger
Null value is used to indicate that the configured level should be
cleared.

Closes gh-10934
7 years ago
Stephane Nicoll 4a9186b1b5 Merge pull request #10544 from tinexw:9299
* pr/10544:
  Polish "Log context path at startup"
  Log context path at startup
7 years ago
Stephane Nicoll dbea25fa8b Polish "Log context path at startup"
Closes gh-10544
7 years ago
tinexw f76479fb99 Log context path at startup
See gh-10544
7 years ago
Andy Wilkinson 60afbdc868 Polish 7 years ago
Stephane Nicoll 871d65d8f1 Merge pull request #10921 from izeye:polish-20171104
* pr/10921:
  Polish
7 years ago
Johnny Lim c05a299520 Polish
Closes gh-10921
7 years ago
Andy Wilkinson c9e18e2130 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 963cfea3bb Start building against Spring Framework 4.3.13 snapshots
See gh-10680
7 years ago
Phillip Webb 0fbb4989da Allow recursive list binding when iterable source
Further refine recursive binding rules so that Lists are supported when
the underlying source is iterable.

Close gh-10702
7 years ago
Phillip Webb 5fb9162875 Merge branch 'gh-10702' 7 years ago
Phillip Webb 588dcf76c6 Only allow binder recursion with Maps
Refine the binder recursion rules introduced in commit f337323819 so
they only apply to Maps. Recursive List and Array binding is now no
longer allowed. Prior to this commit, binding a List that contained a
reference to itself would fail with a `StackOverflowException` if the
underlying property source was not iterable.

Fixes gh-10702
7 years ago
Madhura Bhave 99ad79dbe6 Add tests to trigger binder stack overflow error
Update `CollectionBinderTests` with additional tests that cause a
`StackOverflowException` due to recursive list binding.

See gh-10702
7 years ago
Phillip Webb 861469fb72 Remove accidental System.out 7 years ago
Phillip Webb fabf14ff35 Allow ApplicationPid to write to a new file
Update `ApplicationPid` so that "canWrite" is only called for files
that already exist.

See gh-9922
Fixes gh-10784
7 years ago
Phillip Webb 144625022c Merge pull request #10906 from jkschneider/micrometer-rc3
* gh-10906:
  Polish Micrometer 1.0.0-rc.3 upgrade
  Upgrade to Micrometer 1.0.0-rc.3
7 years ago
Phillip Webb cf17e5708b Polish Micrometer 1.0.0-rc.3 upgrade
Polish Micrometer 1.0.0-rc.3 upgrade changes.

Closes gh-10906
7 years ago
Jon Schneider 65e6876025 Upgrade to Micrometer 1.0.0-rc.3
Upgrade to Micrometer 1.0.0-rc.3 and refactor existing
auto-configuration to align with updated APIs.

Note that Spring MVC instrumentation has now changed from an interceptor
to a Filter.

See gh-10906
7 years ago
Phillip Webb fa191d8c73 Align ReactiveWebApplicationContext with framework
Refactor `ReactiveWebApplicationContext` implementations to align closer
with the `WebApplicationContext` implementations defined in
Spring Framework.

The following classes are now provided:

  - `AnnotationConfigReactiveWebApplicationContext` -- A refreshable
    reactive web context with support for `@Configuration` classes.

  - `GenericReactiveWebApplicationContext` -- A non-refreshable reactive
    GenericApplicationContext.

  - `ReactiveWebServerApplicationContext` --  A non-refreshable reactive
    GenericApplicationContext with support for server discovery.

  - `AnnotationConfigReactiveWebServerApplicationContext` -- A
    non-refreshable reactive `GenericApplicationContext` with support
    for `@Configuration` classes and server discovery.

These classes roughly align to the following Servlet equivalents:

  - `AnnotationConfigWebApplicationContext` (Spring Framework)
  - `GenericWebApplicationContext` (Spring Framework)
  - `ServletWebServerApplicationContext` (Spring Boot)
  - `AnnotationConfigServletWebServerApplicationContext` (Spring Boot)

An additional `ConfigurableReactiveWebEnvironment` interface as also
been introduced, primarily for `@ConditionalOnWebApplication` to use.

Fixes gh-10852
7 years ago
Phillip Webb b6166dc12a Move `Assume` to spring-boot-test-support
Fixes gh-10866
7 years ago
Phillip Webb 427d262297 Polish 7 years ago
Andy Wilkinson a0580da8fb Upgrade to Spring Ws 3.0.0.RELEASE
Closes gh-10920
7 years ago
Andy Wilkinson c801101b14 Upgrade to Selenium 3.7.0
Closes gh-10919
7 years ago
Andy Wilkinson d79deb3eb7 Upgrade to Infinispan 9.1.2.Final
Closes gh-10918
7 years ago
Andy Wilkinson ffc2351484 Upgrade to Javax Json 1.1.2
Closes gh-10917
7 years ago
Andy Wilkinson 18348dd205 Upgrade to Sendgrid 4.1.2
Closes gh-10916
7 years ago
Andy Wilkinson 90f9f969d3 Upgrade to Caffeine 2.6.0
Closes gh-10915
7 years ago
Andy Wilkinson 7b757dc69a Merge branch '1.5.x' 7 years ago
Andy Wilkinson 33796e7015 Upgrade to Spring Ws 2.4.2.RELEASE
Closes gh-10914
7 years ago
Andy Wilkinson d0272e452c Upgrade to Spring Cloud Connectors 1.2.5.RELEASE
Closes gh-10913
7 years ago
Andy Wilkinson 6756a7de7d Upgrade to Freemarker 2.3.27-incubating
Closes gh-10912
7 years ago
Andy Wilkinson 61bceaf933 Upgrade to Solr 5.5.5
Closes gh-10911
7 years ago
Andy Wilkinson 0f451b3079 Upgrade to Commons Pool2 2.4.3
Closes gh-10910
7 years ago
Andy Wilkinson 0d01d7bb5b Upgrade to Undertow 1.4.21.Final
Closes gh-10909
7 years ago
Andy Wilkinson bd6a86c85f Upgrade to Appengine Sdk 1.9.59
Closes gh-10908
7 years ago
Madhura Bhave 55b7a48bee Add missing conditionals 7 years ago
Andy Wilkinson ac1062dcce Merge branch '1.5.x' 7 years ago
Andy Wilkinson e7d9014b3b Use archive.apache.org to download toTomEE binaries
Closes gh-10905
7 years ago
Brian Clozel fa0926b178 Error handling for WebFlux should log HTTP 5xx errors
This commit ensures that all errors handled by the
`DefaultErrorWebExceptionHandler` (Spring WebFlux error convetion
support) logs an error with request information and exception
stacktrace.

This is limited to errors that result in an HTTP 5xx error.
Exceptions that extend `ResponseStatusException` and set a non-5xx
status will not be logged.

Closes gh-10904
7 years ago
Andy Wilkinson bfe2f85a4f Merge branch '1.5.x' 7 years ago
Andy Wilkinson 054ce2865c Protect against partial visibility of Bean Validation API
On WebSphere Liberty, the javax.validation package may be visible but
other javax.validation packages upon which it depends may not be
visible. This can lead to an incorrect assumption that the Bean
Validation API is available when, in fact, it is only partially
available.

Add an additional check for the availability of a class in the
javax.validation.bootstrap package to ensure that it's not just the
javax.validation package that's available.

Closes gh-10877
7 years ago
Brian Clozel bb9396e3a4 Enable HTTP/2 support for Tomcat and Undertow
This commit enables HTTP/2 support for Tomcat and Undertow, for both
Servlet-based and Reactive applications.

Enabling the `server.http2.enabled` configuration flag is enough with
Undertow.

Tomcat has a few prerequisites:

* Tomcat 8.5 requires JDK8+ and the proper libtcnative version installed
on the host
* Tomcat 9.0.x requires JDK9+

Closes gh-10043
7 years ago