Commit Graph

13575 Commits (2537a0a75387250d11c4f826e0b004e8ae47733c)
 

Author SHA1 Message Date
Stephane Nicoll 2537a0a753 Polish "Auto-configure Kafka MessageConverter"
Closes gh-10380
7 years ago
Eddú Meléndez d7bc93f278 Auto-configure Kafka MessageConverter
See gh-10380
7 years ago
Andy Wilkinson 41424e4529 Merge branch '1.5.x'
Closes gh-10457
7 years ago
Andy Wilkinson d94f545b4d Merge pull request #10457 from Johnny Lim
* gh-10457:
  Polish
7 years ago
Johnny Lim bfa291f671 Polish 7 years ago
Stephane Nicoll ec6659db2e Merge pull request #10466 from kedar-joshi:master
* pr/10466:
  Polish
  Polish "Adds support for useCodeAsDefaultMessage"
  Adds support for useCodeAsDefaultMessage
7 years ago
Stephane Nicoll d778173089 Polish 7 years ago
Stephane Nicoll 6c826ef0b6 Polish "Adds support for useCodeAsDefaultMessage"
Closes gh-10466
7 years ago
Kedar Joshi a68ec76bb6 Adds support for useCodeAsDefaultMessage
See gh-10466
7 years ago
Andy Wilkinson 9102eb32d1 Polish 7 years ago
Andy Wilkinson 9ba20cc380 Merge branch '1.5.x' 7 years ago
Andy Wilkinson bcbf7b5511 Update ChangeableUrlsTests to cope with URL-like Windows file paths
Closes gh-10268
7 years ago
Andy Wilkinson 30727ab145 Merge branch '1.5.x' 7 years ago
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
7 years ago
Andy Wilkinson a7ce9546a2 Upgrade to Spring Data Kay-RELEASE
Closes gh-10329
7 years ago
Andy Wilkinson 1b40e90411 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 71dbbc0d66 Provide more complete dependency management for Solr
Closes gh-10476
7 years ago
Andy Wilkinson f6a55321b0 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 098dd9ddcd Provide more complete dependency management for SLF4J
Closes gh-10475
7 years ago
Andy Wilkinson 96f21f603e Merge branch '1.5.x' 7 years ago
Andy Wilkinson bfa67189d1 Provide complete dependency management for JNA
Closes gh-10474
7 years ago
Stephane Nicoll 76606afe86 Polish 7 years ago
Andy Wilkinson 0ea7d22870 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 8eb676f431 Provide complete dependency management for Jetty
Closes gh-10473
7 years ago
Andy Wilkinson d61ac6bc43 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 95e3443b64 Provide complete dependency management for Dropwizard Metrics
Closes gh-10472
7 years ago
Stephane Nicoll 1254c44985 Revert "Reuse spring.ldap.base in Embedded support" 7 years ago
Stephane Nicoll 5e2ec29413 Merge pull request #10468 from dreis2211:short-circuit-cleanup
* pr/10468:
  Remove non short-circuit expression in Neo4jPropertiesTests
7 years ago
dreis2211 40b4a21f4d Remove non short-circuit expression in Neo4jPropertiesTests
Closes gh-10468
7 years ago
Stephane Nicoll cf30392564 Merge pull request #10469 from dreis2211:iterator-to-remove-if
* pr/10469:
  Replace some loops with removeIf()
7 years ago
dreis2211 38813edc23 Replace some loops with removeIf()
Closes gh-10469
7 years ago
Stephane Nicoll df235d6243 Merge pull request #10467 from dreis2211:remove-redundant-tostring
* pr/10467:
  Remove redundant toString() calls
7 years ago
dreis2211 f72c04286b Remove redundant toString() calls
Closes gh-10467
7 years ago
Stephane Nicoll c795688864 Merge pull request #10444 from pavelda2:master
* pr/10444:
  Reuse spring.ldap.base in Embedded support
7 years ago
David Pavel 0fbc5def32 Reuse spring.ldap.base in Embedded support
Closes gh-10444
7 years ago
Andy Wilkinson 2c7924ba11 Update to Spring Kafka 2.0.0.RELEASE
Closes gh-10328
7 years ago
Andy Wilkinson 5a13a32f6c Revert "Reinstate testing of Jetty JSP sample on Java 9"
This reverts commit bbca612a57.
StandardJarScanner, which contains the faulty assumption about
URLClassLoader is part of Jasper. Jetty, like Tomcat, uses Jasper for
JSPs so it's also affected.

See gh-10456
7 years ago
Stephane Nicoll 157db9a4de Merge pull request #10451 from dreis2211:string-is-empty
* pr/10451:
  Replace some String.length() checks with String.isEmpty()
7 years ago
dreis2211 756398b52c Replace some String.length() checks with String.isEmpty()
Closes gh-10451
7 years ago
Phillip Webb b08e51f0b3 Increase WebClient testing timeout 7 years ago
Phillip Webb 69a1eebf68 Polish 7 years ago
Phillip Webb 14af3463ec Polish whitespace 7 years ago
Madhura Bhave f1cfad6755 Handle required parameters in endpoint infrastructure
Closes gh-10372
7 years ago
Andy Wilkinson c903f87429 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 663cae1255 Note behaviour of @MockBean and @SpyBean with non-bean dependencies
Closes gh-10381
7 years ago
Stephane Nicoll bcdc6958f0 Merge pull request #10447 from jfarcand:master
* pr/10447:
  Upgrade sample to Atmosphere 2.4.14
7 years ago
jfarcand 9dbc3e25bb Upgrade sample to Atmosphere 2.4.14
Closes gh-10447
7 years ago
Stephane Nicoll ce8b59fc7d Extract configuration of MessageSourceAutoConfiguration
This commit extracts the configuration of MessageSourceAutoConfiguration
in a dedicated object.

Closes gh-9666
7 years ago
Andy Wilkinson bbca612a57 Reinstate testing of Jetty JSP sample on Java 9
See gh-10456
7 years ago
Andy Wilkinson 082258952a Fall back to JVM's class path when finding jars with static resources
Previously, StaticResourceJars would only find jars with
META-INF/resources content if it had been loaded by a URLClassLoader.
This is not the case on Java 9 and, as a result, static content in
META-INF/resources of any jars on the class path was not found.

This commit updates StaticResourceJars to fall back to using the
JVM's class path to find static resource jars when it was loaded by
a ClassLoader that is not a URLClassLoader.

Closes gh-10455
7 years ago