Commit Graph

15796 Commits (6e6add294b7f8340c005fd300192604ac6db239d)
 

Author SHA1 Message Date
Andy Wilkinson 85c7ed2746 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 746cc0f70b Make JarFile.size() return the number of entries in the jar
Closes gh-12195
7 years ago
Andy Wilkinson 73ad36d817 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 146858505f Synchronize on class loading lock in RestartClassLoader
Closes gh-12171
7 years ago
Andy Wilkinson 782ab2803e Polish documentation regarding target class proxying
Closes gh-12196
7 years ago
Stephane Nicoll 9b61df6a2b Polish 7 years ago
Stephane Nicoll 13b736b1cd Migrate remaining duration-based properties for Rabbit
Closes gh-12192
7 years ago
Andy Wilkinson 48656d0d53 Fix build warnings about use of ${artifactId}
See gh-11994
7 years ago
Stephane Nicoll cb1eed42b8 Polish 7 years ago
Stephane Nicoll e1fd9df7b9 Fix usage of management.server.add-application-context-header
Closes gh-12190
7 years ago
Stephane Nicoll 976a23d977 Fix duration unit of spring.messages.cache-duration
Closes gh-12183
7 years ago
Stephane Nicoll 2b729bf114 Fix description of `checkpoint-interval`
See gh-12181
7 years ago
Stephane Nicoll 92d1c6126b Harmonize `accesslog.enabled` flag for Undertow
Closes gh-12178
7 years ago
Stephane Nicoll 09ff815f00 Harmonize metadata
Closes gh-12177
7 years ago
Phillip Webb f9da113943 Exclude FileEditor from binding conversion
Exclude `FileEditor` from the `BindConverter` since it uses slightly
unusual logic to create the file. Specifically, given a value of "."
the editor will locate a `ClassPathResource` then return `getFile()`
from that resource. For back-compatibility, binding should use the
simpler conversion service logic.

Fixes gh-12163
7 years ago
Phillip Webb 7e10d86ed3 Polish 7 years ago
Phillip Webb 3dea6fc645 Fix bind TypeConverter delegation with collections
Update `BindConverter` so that delegation to `SimpleTypeConverter` also
works with Collections and Arrays.

Prior to this commit, conversion that relied on a `PropertyEditor` would
only work for simple types. For example, "String -> Class<?>" would use
the `ClassEditor` but "String -> List<Class<?>>" would fail.

The `BindConverter` now uses a minimal `ConversionService` as an adapter
to the `SimpleTypeConverter`. This allows us to use the same delimited
string conversion logic as the `ApplicationConverter`.

Fixes gh-12166
7 years ago
Phillip Webb 4b9c3c137e Polish Collection.toArray
Consistently use `StringUtils.toStringArray`, `ClassUtils.toClassArray`
or zero length when converting collections to arrays.

Fixes gh-12160
7 years ago
Phillip Webb 358adcd6e3 Merge pull request #12182 from izeye
* pr/12182:
  Rename TestRestTemplateTestContextCustomizer*
7 years ago
Johnny Lim 680287635c Rename TestRestTemplateTestContextCustomizer*
Closes gh-12182
7 years ago
Phillip Webb cd5266ac03 Polish 7 years ago
Andy Wilkinson 80ac4f85c9 Merge pull request #12172 from Raja Kolli
* gh-12172:
  Upgrade to JUnit Platform 1.1.0
7 years ago
Raja Kolli 8f2eea4dfd Upgrade to JUnit Platform 1.1.0
Closes gh-12172
7 years ago
Brian Clozel dcf61abe30 Fix Reactive Server auto-configuration ordering
This commit ensures that Tomcat is the first reactive server configured
if the Tomcat dependency is on classpath.

Spring Boot chose Reactor Netty as the default for the reactive web
starter, but the Reactor Netty dependency can be used also for its HTTP
client. In case developers are adding Tomcat, Undertow or Jetty on their
classpath, we must configure those and consider Reactor Netty for the
client only.

Fixes gh-12176
7 years ago
Stephane Nicoll 3fddfee65c Fix default value of endpoint's cache ttl
Closes gh-12173
7 years ago
Stephane Nicoll 56c8bf74b2 Merge pull request #12170 from izeye:assertj
* pr/12170:
  Use isTrue() and isFalse() for AssertJ
7 years ago
Johnny Lim 2fe86da95b Use isTrue() and isFalse() for AssertJ
Closes gh-12170
7 years ago
Stephane Nicoll 865775e955 Fix statsd example
Closes gh-12162
7 years ago
Phillip Webb 5917a58bf1 Add Automatic-Module-Name to manifest file
Update build to add `Automatic-Module-Name` entry to the manifest file.
Also refined a few of the other entries that appear.

Fixes gh-11994
7 years ago
Stephane Nicoll 415f44c02b Merge pull request #12156 from izeye:polish-20180222
* pr/12156:
  Polish
7 years ago
Johnny Lim 50c07d0772 Polish
Closes gh-12156
7 years ago
Stephane Nicoll 75505c78f5 Polish 7 years ago
Andy Wilkinson e7176c63f5 Stop DataSource initialization from preventing Hikari instrumentation
Closes gh-12129
7 years ago
Madhura Bhave 33be78a91e Add additional profile negation tests
Closes gh-8011
7 years ago
Phillip Webb 4bde6b80ee Refactor YAML profile to deal with "!" profiles
Drop `SpringProfileDocumentMatcher` and replace it with two new
implementations that restrict when YAML documents are loaded. YAML
sections are now restricted both on the specific profile that is being
loaded, and the profiles that are currently accepted.

The `PropertySourceLoader` interface has been refined to include a
predicate that determines when a profile is accepted. The
`ConfigFileApplicationListener` simply delegates the predicate logic to
the `Environment`.

Fixes gh-8011
7 years ago
Stephane Nicoll b03fd99209 Polish 7 years ago
Stephane Nicoll d7e000da53 Add missing JMX section 7 years ago
Stephane Nicoll 5a6d45a82c Merge pull request #12150 from izeye:patch-49
* pr/12150:
  Remove an obsolete warning in doc
7 years ago
Johnny Lim 1bd94b3499 Remove an obsolete warning in doc
Closes gh-12150
7 years ago
Stephane Nicoll e7db69be7a Polish
See gh-11869
7 years ago
Phillip Webb 3076a5523a Fix checkstyle violation 7 years ago
Phillip Webb 8c24988faa Fix checkstyle violation 7 years ago
Phillip Webb 349987d9be Switch show details default to ShowDetails.NEVER
Closes gh-11869
7 years ago
Phillip Webb 46021928ba Rework common server customization
Update the configurable embedded web server factory interfaces to
extend `ConfigurableWebServerFactory` so that the can be used in a
`WebServerFactoryCustomizer`.

Extract server specific customization to their own auto-configuration
and align reactive/servlet server auto-configuration.

Closes gh-8573
7 years ago
Phillip Webb aafa1e9615 Rename MetricsIntegrationAutoConfiguration
Rename `MetricsIntegrationAutoConfiguration` to
`IntegrationMetricsAutoConfiguration`.

Closes gh-12147
7 years ago
Phillip Webb 0925a0957e Polish 7 years ago
Phillip Webb 8f5f0bda50 Upgrade to Spring Session Apple-SR1
Closes gh-12092
7 years ago
Phillip Webb fe1f0cf90e Upgrade to Micrometer 1.0.0
Closes gh-11877
7 years ago
Phillip Webb 3ec5f70c52 Upgrade to Spring Integration 5.0.2.RELEASE
Closes gh-12130
7 years ago
Phillip Webb 05faac2b09 Polish 7 years ago