Commit Graph

11045 Commits

Author SHA1 Message Date
Andy Wilkinson
bcbf7b5511 Update ChangeableUrlsTests to cope with URL-like Windows file paths
Closes gh-10268
2017-10-02 12:53:25 +01:00
Andy Wilkinson
858b092a87 Make servlet context property source available before refresh
Previously, when deploying a Spring Boot application to a container,
the servlet context property source was not fully initialised until
the context was refreshed. This led to a problem where a value from a
property source with lower precedence would be seen during the early
stages of the application starting. Once the servlet context property
source had been initialized, its value for the property would then
become visible effectively making it appear as if the property's
value had changed during startup. This led to a specific problem
with determining active profiles.

If spring.profiles.active was set both in JNDI and via the servlet
context both profiles would end up being active, rather than the
more intuitive behaviour of the profiles made active via the servlet
context overriding those made active via JNDI.

This commit updates SpringBootServletInitializer so that it explicitly
creates the StandardServletEnvironment and initializes its property
sources using the servlet context. This is done before the application
is created and run, thereby ensuring that the servlet context
property source is available throughout the application's startup.

Closes gh-9972
2017-10-02 12:38:59 +01:00
Andy Wilkinson
71dbbc0d66 Provide more complete dependency management for Solr
Closes gh-10476
2017-10-02 11:40:26 +01:00
Andy Wilkinson
098dd9ddcd Provide more complete dependency management for SLF4J
Closes gh-10475
2017-10-02 11:24:28 +01:00
Andy Wilkinson
bfa67189d1 Provide complete dependency management for JNA
Closes gh-10474
2017-10-02 11:13:35 +01:00
Andy Wilkinson
8eb676f431 Provide complete dependency management for Jetty
Closes gh-10473
2017-10-02 11:10:42 +01:00
Andy Wilkinson
95e3443b64 Provide complete dependency management for Dropwizard Metrics
Closes gh-10472
2017-10-02 10:36:51 +01:00
Andy Wilkinson
663cae1255 Note behaviour of @MockBean and @SpyBean with non-bean dependencies
Closes gh-10381
2017-09-29 15:51:56 +01:00
Andy Wilkinson
f01bb8e175 Polish 2017-09-29 12:04:46 +01:00
Andy Wilkinson
c27d678b81 Improve handling of absolute URLs in Class-Path manifest attribute
Closes gh-10268
2017-09-29 11:45:57 +01:00
Andy Wilkinson
616d11c00a Only wait for background preinit to complete when it has started
Closes gh-10362
2017-09-25 17:06:28 +01:00
Andy Wilkinson
b602b1da2e Document expected format for commit time in git.properties
Closes gh-10392
2017-09-25 16:53:07 +01:00
Andy Wilkinson
7eb9193862 Tolerate absolute URLs in manifest's Class-Path attribute
Closes gh-10268
2017-09-25 16:47:27 +01:00
Stephane Nicoll
0a8b355c60 Merge pull request #10382 from christophd:patch-1
* pr/10382:
  Add reference to Citrus simulator Spring Boot starter
2017-09-25 10:07:59 +02:00
Christoph Deppisch
ca04b24814 Add reference to Citrus simulator Spring Boot starter
Closes gh-10382
2017-09-25 10:07:33 +02:00
Stephane Nicoll
9331ee6f35 Merge pull request #10412 from eddumelendez:polish_jackson_config
* pr/10412:
  Polish JacksonAutoConfiguration
2017-09-25 10:06:13 +02:00
Eddú Meléndez
93844bffbc Polish JacksonAutoConfiguration
This commit removes unused constructor parameters introduced in 0c2ecb7.

Closes gh-10412
2017-09-25 10:05:29 +02:00
Stephane Nicoll
d490b99473 Clarify scope of spring.datasource.platform
Closes gh-10416
2017-09-25 10:04:37 +02:00
Andy Wilkinson
cc16402ee4 Update war packaging tests to reflect change in Tomcat's dependencies
See gh-10395
2017-09-24 16:27:42 +01:00
Stephane Nicoll
b53f108d07 Merge pull request #10411 from dreis2211:typo-external-config-docs
* pr/10411:
  Typo in external config documentation
2017-09-24 17:10:59 +02:00
dreis2211
681921fd87 Typo in external config documentation
Closes gh-10411
2017-09-24 17:10:35 +02:00
Andy Wilkinson
cf92e55150 Upgrade to Spring Kafka 1.1.7.RELEASE
Closes gh-10397
2017-09-24 09:37:44 +01:00
Andy Wilkinson
2136bea491 Upgrade to Jetty 9.4.7.v20170914
Closes gh-10396
2017-09-24 09:37:44 +01:00
Andy Wilkinson
f9c44b46b6 Upgrade to Tomcat 8.5.21
Closes gh-10395
2017-09-24 09:34:16 +01:00
Andy Wilkinson
29c84dff4a Upgrade to Httpcore 4.4.7
Closes gh-10394
2017-09-24 09:20:13 +01:00
Andy Wilkinson
abb8183d82 Upgrade to Gson 2.8.2
Closes gh-10393
2017-09-24 09:20:13 +01:00
Andy Wilkinson
2bf428707d Merge pull request #10278 from Venil Noronha
* gh-10278:
  Polish "Align prefix match in BufferCounterService with DefaultCounterService"
  Align prefix match in BufferCounterService with DefaultCounterService
2017-09-20 06:52:06 +01:00
Andy Wilkinson
aca30950cf Polish "Align prefix match in BufferCounterService with DefaultCounterService"
See gh-10278
2017-09-20 06:51:22 +01:00
Venil Noronha
dcb81a3da5 Align prefix match in BufferCounterService with DefaultCounterService
Closes gh-10278
2017-09-20 06:34:29 +01:00
Andy Wilkinson
eb2c0fab18 Merge pull request #10355 from Kyle Anderson
* gh-10355:
  Upgrade Git Maven plugin to 2.2.3
2017-09-20 06:25:58 +01:00
Kyle Anderson
628c643e32 Upgrade Git Maven plugin to 2.2.3
Closes gh-10355
2017-09-20 06:25:39 +01:00
Stephane Nicoll
86e72534c9 Merge pull request #10314 from luchob:master
* pr/10314:
  Polish "Fix a dead link"
  Fix a dead link
2017-09-19 14:00:14 +02:00
Stephane Nicoll
d93e0fee35 Polish "Fix a dead link"
Closes gh-10314
2017-09-19 14:00:03 +02:00
Lachezar Balev
acdd475373 Fix a dead link
See gh-10314
2017-09-19 13:58:42 +02:00
Stephane Nicoll
7346a64491 Merge pull request #10134 from andersonkyle:proxy-target-docs-update
* pr/10134:
  Polish "Document default value change for proxy-target-class"
  Document default value change for proxy-target-class
2017-09-16 06:46:59 +02:00
Stephane Nicoll
61ae92992b Polish "Document default value change for proxy-target-class"
Closes gh-10134
2017-09-16 06:46:36 +02:00
Kyle Anderson
e86d0f38e4 Document default value change for proxy-target-class
This commit documents the change to the default value for
spring.aop.proxy-target-class by clarifying when the default is true vs
false.

See gh-10134
2017-09-16 06:45:56 +02:00
Stephane Nicoll
fbb6b88155 Document default prefix/suffix values
Closes gh-10290
2017-09-15 12:47:46 +02:00
Stephane Nicoll
b309495c2e Polish 2017-09-15 12:36:11 +02:00
Andy Wilkinson
4bdef4d0f9 Use Spring milestone and snapshot repos for plugins in full profile 2017-09-14 13:34:02 +01:00
Brian Clozel
1669e4bad3 Fixup version numbers following release 2017-09-12 14:28:47 +02:00
Spring Buildmaster
30eb937a83 Next Development Version 2017-09-12 10:54:22 +00:00
Andy Wilkinson
2a1cce9f13 Upgrade to Hikaricp Java7 2.4.13
Closes gh-10267
2017-09-12 10:07:25 +01:00
Andy Wilkinson
b13beccc47 Upgrade to Appengine Sdk 1.9.56
Closes gh-10266
2017-09-12 10:07:24 +01:00
Andy Wilkinson
d6535df2c7 Upgrade to Classmate 1.3.4
Closes gh-10265
2017-09-12 10:07:23 +01:00
Stephane Nicoll
1ddc3dce0c Upgrade to Spring Integration Java Dsl 1.2.3.RELEASE
Closes gh-10262
2017-09-12 08:26:09 +02:00
Stephane Nicoll
cf3226f799 Upgrade to Spring Integration 4.3.12
Closes gh-10034
2017-09-12 08:25:22 +02:00
Stephane Nicoll
6c4ed5e18b Merge pull request #10256 from aconstantin:patch-1
* pr/10256:
  Use underline instead of dash in tomcat properties
2017-09-11 18:21:24 +02:00
Alexander Constantin
281a93a0c4 Use underline instead of dash in tomcat properties
Closes gh-10256
2017-09-11 18:20:55 +02:00
Andy Wilkinson
32e24f3e0a Upgrade to Spring AMQP 1.7.4
Closes gh-10248
2017-09-11 17:13:12 +01:00