Commit Graph

11975 Commits (bfbabce16370bfe9d5786bc769c262bbdb2d82b3)
 

Author SHA1 Message Date
Stephane Nicoll 91ac9440ff Merge pull request #9049 from eddumelendez:polish-lambdas
* pr/9049:
  Replace lambdas with method references
8 years ago
Eddú Meléndez 1d9fa8395c Replace lambdas with method references
Closes gh-9049
8 years ago
Andy Wilkinson d46591f141 Stop setting org.jboss.logging.provider when using Logback
This fix for gh-1928 to address a problemw with Log4j was to set
a system property that forces JBoss Logging to use SLF4J. This has the
unwanted side-effect of crashing Glassfish. We no longer support Log4j
so gh-1928 is no longer a concern. However, you can shoot yourself in
the foot by having Logback and Log4j2 on the classpath in that
particular order, but the latter has to be without its
log4j-slf4j-impl module. At this point you don't get any warnings or
error output at startup, but JBoss Logging uses Log4j2 while
everything else uses SLF4J and Logback. As a result, any logging
that's performed through JBoss Logging is silently lost.

Given the problems caused by setting the system property, and the
contrived nature of the arrangement that's necessary to cause a
problem when the property isn't set, this commit updates
LogbackLoggingSystem so that the system property is no longer set.

Closes gh-8669
8 years ago
Andy Wilkinson abdc23905f Drop ignoreNestedProperties attribute from @ConfigurationProperties
Closes gh-8657
8 years ago
Stephane Nicoll 12dda513f9 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 2f4a1f9531 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 93bd1108bf Fix maven warning
Closes gh-9075
8 years ago
Stephane Nicoll b0ffe18e15 Merge branch '1.5.x' 8 years ago
Stephane Nicoll ea33cc2f7d Deprecated MustacheCompilerFactoryBean
Closes gh-8999
8 years ago
Stephane Nicoll 88b2fed37d Merge branch '1.5.x' 8 years ago
Stephane Nicoll 61f88d0c90 Provide dependency management for missing jersey dependencies
Closes gh-9009
8 years ago
Stephane Nicoll 2b4f2c6aba Making sure to stop embedded web servers in tests
Closes gh-9012
8 years ago
Stephane Nicoll 5121b848e1 Making sure to stop embedded web servers in tests
Closes gh-9012
8 years ago
Andy Wilkinson d1ea4f8a8a Start building against Spring REST Docs 1.2.1 snapshots
See gh-9071
8 years ago
Andy Wilkinson 4a00f90545 Stop throwing checked exception from @PostConstruct in ResourceServerProperties
Closes gh-8916
8 years ago
Stephane Nicoll b1bb36db2b Merge branch '1.5.x' 8 years ago
Stephane Nicoll 7b1fc01733 Fix checkstyle violations 8 years ago
Stephane Nicoll 41712c7061 Merge branch '1.5.x' 8 years ago
Stephane Nicoll b4d55a2223 Merge pull request #9007 from Dichotomia:patch-6
* pr/9007:
  Add dependency section for jersey multipart
8 years ago
Quentin Caillard 45e0912ecd Add dependency section for jersey multipart
Closes gh-9007
8 years ago
Stephane Nicoll 76c76549b6 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 063d301fd3 Make LayoutType public
Closes gh-9067
8 years ago
Stephane Nicoll 6a386c34d5 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 54a8dc5b33 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 625a7668c9 Merge pull request #9065 from dsyer:cachedocs
* pr/9065:
  Polish "Clarify and re-organize docs on caching"
  Clarify and re-organize docs on caching
8 years ago
Stephane Nicoll e2b209e409 Polish "Clarify and re-organize docs on caching"
Closes gh-9065
8 years ago
Dave Syer 11feb75752 Clarify and re-organize docs on caching
See gh-9065
8 years ago
Phillip Webb cd27737e42 Polish configuration properties and binder
Fix a few issues and try a few more things to improve performance.

See gh-9000
8 years ago
Phillip Webb 97dc2165b7 Polish 8 years ago
Phillip Webb 8133b7f245 Merge branch '1.5.x' 8 years ago
Phillip Webb 4d4d03ab2c Merge branch '1.4.x' into 1.5.x 8 years ago
Phillip Webb 4a95b2f174 Polish 8 years ago
Madhura Bhave c04f28d9e5 Validate ResourceServerProperties in PostConstruct
Closes gh-8916
8 years ago
Madhura Bhave 9ef3a448e6 Restore BindFailureAnalyzer support
Closes gh-9026
8 years ago
Stephane Nicoll 291b0c5fa7 Merge pull request #5311 from mp911de:issue/sd-redis-lettuce-driver-autoconfiguration
* pr/5311:
  Add missing tests
  Polish "Add Lettuce Redis driver autoconfiguration"
  Add Lettuce Redis driver autoconfiguration
8 years ago
Stephane Nicoll 47783e258a Add missing tests 8 years ago
Stephane Nicoll e7efa8f133 Polish "Add Lettuce Redis driver autoconfiguration"
Closes gh-5311
8 years ago
Mark Paluch 4563da9ac7 Add Lettuce Redis driver autoconfiguration
Introduce an alternative autoconfiguration if the lettuce Redis driver is
available. Add Lettuce-specific configuration property options
"spring.redis.lettuce.shutdown-timeout" to control the shutdown timeout
of the lettuce driver. Add documentation for the properties, the
supported drivers, and how to switch between drivers.

Split client-specific properties from spring.redis.pool to
spring.redis.jedis.pool and introduce spring.redis.lettuce namespace.
Deprecate spring.redis.pool property.

See gh-5311
8 years ago
Stephane Nicoll 64dae5ec3a Merge branch '1.5.x' 8 years ago
Stephane Nicoll 035e27b1d1 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 8e5bf4b22a Polish CachePublicMetrics
CachePublicMetrics wasn't explicitly tested and was still using field
injection. This commit improves the situation in preparation of the fix
for gh-8984
8 years ago
Stephane Nicoll 43fb99aafa Merge branch '1.5.x' 8 years ago
Stephane Nicoll 652a5e7baa Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll f060922350 Fix cache example in the doc
Closes gh-8983
8 years ago
Andy Wilkinson e0d5c447a8 Upgrade to Rxjava2 2.1.0
Closes gh-9062
8 years ago
Andy Wilkinson 7ed8737382 Upgrade to Rxjava 1.2.10
Closes gh-9061
8 years ago
Eddú Meléndez 4c96e95ad9 Simplify Netty dependency management by importing its BOM
See gh-9021
Closes gh-9050
8 years ago
Phillip Webb 00c67f1962 Support SpringApplicationBuilder with bound sources
Update `SpringApplicationBuilder` so that the `sources(...)` method
updates the primary sources. Prior to this commit, the fix for #8910
had the unfortunate side effect of stopping the
`SpringApplicationBuilder` from being used with
`spring.application.main` properties.

Fixes gh-9053
8 years ago
Phillip Webb 5ae1798ec5 Don't rely on ConfigurationPropertyName exceptions
Update `ConfigurationPropertySourcesPropertySource` to no longer use
`try/catch` when checking for valid names. A new `isValid` method has
been introduced to `ConfigurationPropertyName` which is offers better
performance.

Fixes gh-9058
8 years ago
Phillip Webb 8b1625b41d Short circuit binding if possible
Update the `Binder` to short circuit potentially expensive bean binding
if there are no known child properties. The shortcut can only be applied
when all used `ConfigurationPropertySources` return a non empty
`containsDescendantOf` result. This should be the case for most
Spring Boot applications, the exception being any apps that are running
in a security restricted environment.

Fixes gh-9023
8 years ago