Phillip Webb
10e67f8977
Fix dashIgnoringElementEquals algorithm
...
Update `dashIgnoringElementEquals` so that trailing checks fail if
the last characters are not all `-`.
Fixes gh-16855
2019-05-14 22:44:07 -07:00
Phillip Webb
3a9ca5fa30
Update copyright header of changed files
2019-05-14 21:05:53 -07:00
Phillip Webb
c49b9bece5
Merge branch '2.1.x'
...
Closes gh-16859
2019-05-14 21:03:55 -07:00
Phillip Webb
ab15b8e26d
Support overloaded setters when binding beans
...
Update `JavaBeanBinder` so that overloaded setters can be used when
binding. Prior to this commit the setter picked would depend on the
order that the JVM returned the declared methods. We now consistently
prefer using the setter with a parameter type that matches the getter.
Closes gh-16206
2019-05-14 21:02:16 -07:00
Phillip Webb
e03f3b8e9a
Merge branch '2.1.x'
...
Closes gh-16857
2019-05-14 18:51:46 -07:00
Phillip Webb
f665910cdb
Use generic type for binder cache comparisons
...
Update `JavaBeanBinder` so that previously cached beans are compared
using full generic type information. Prior to this commit binding would
fail if a class with the same resolved type, but different generics was
in the cache.
Fixes gh-16821
2019-05-14 18:42:16 -07:00
Brian Clozel
20dfeddbb3
Auto-configure RSocketRequester.Builder
...
This commit auto-configures a prototype `RSocketRequester.Builder` bean
for building requester instances. This builder is pre-configured with
auto-detected `RSocketStrategies` (same as the server side).
Closes gh-16280
2019-05-13 16:03:21 +02:00
Brian Clozel
9f2995af6f
Migrate from deprecated Jetty's SslContextFactory
...
Closes gh-16827
2019-05-13 10:27:20 +02:00
Madhura Bhave
f1786c357b
Revert "Disable ConfigurationProperties scanning for slice tests"
...
This reverts commit 3b4ff7d746 .
The commit caused the build to fail because it disabled
`@ConfigurationPropertiesScan` completely in slice tests. It
did not take into account components that were explicitly included
in slice tests using the `components` attribute. Since `@ConfigurationPropertiesScan`
replaces `@Component` and `@EnableConfigurationProperties`, these components
are no longer registered even though explicitly included.
2019-05-11 09:59:36 -07:00
Madhura Bhave
3b4ff7d746
Disable ConfigurationProperties scanning for slice tests
...
Closes gh-16659
2019-05-10 14:43:55 -07:00
Stephane Nicoll
c85c653e57
Polish "Add negative tests to ConfigurationPropertiesScanTests"
...
Closes gh-16758
2019-05-10 10:22:34 +02:00
Johnny Lim
d44ffd3534
Add negative tests to ConfigurationPropertiesScanTests
...
See gh-16758
2019-05-10 10:22:08 +02:00
Stephane Nicoll
f056b952d9
Merge branch '2.1.x'
2019-05-02 09:18:21 +02:00
Johnny Lim
1b9a4d5e45
Polish CompressionConnectorCustomizerTests
...
Closes gh-16699
2019-05-02 09:13:47 +02:00
Stephane Nicoll
ed538a2e31
Merge branch '2.1.x'
2019-05-01 08:41:27 +02:00
Stephane Nicoll
19413c0c71
Polish
...
See gh-16688
2019-05-01 08:41:07 +02:00
Madhura Bhave
fd97066604
Use MergedAnnotation.getRoot() method
...
Closes gh-16661
2019-04-30 16:19:18 -07:00
Maciej Walkowiak
d7722e328a
Add jOOQ to SQL logging group
...
See gh-16678
2019-04-30 08:55:07 +02:00
Madhura Bhave
a0d425332d
Use ImportBeanDefintionRegistrar directly instead of import selector
...
Closes gh-16679
2019-04-29 18:01:31 -07:00
dreis2211
cf05959375
Optimize ConfigurationPropertyName.buildToString()
...
See gh-16658
2019-04-25 17:18:55 +01:00
Phillip Webb
1e44aba772
Fix compiler warnings and polish
...
Fix various compiler warnings and apply a little polish.
2019-04-24 19:37:42 -07:00
Andy Wilkinson
b39fdea508
Merge pull request #16474 from Christoph Dreis
...
* gh-16474:
Speed up element equality checks in ConfigurationPropertyName
Closes gh-16474
2019-04-24 14:00:46 +01:00
dreis2211
3786dbc869
Speed up element equality checks in ConfigurationPropertyName
...
See gh-16474
2019-04-24 13:59:53 +01:00
Madhura Bhave
5c2a7e61d0
Fix tests
2019-04-22 22:40:11 -07:00
Madhura Bhave
9fb65e57c0
ConfigurationPropertiesScan should account for conditions
...
Fixes gh-16612
2019-04-22 18:37:29 -07:00
Stephane Nicoll
fd14cd0bd0
Merge branch '2.1.x'
2019-04-22 10:00:28 +02:00
Stephane Nicoll
1f656e75fc
Polish "Fix UndertowWebServer's logger name"
...
Closes gh-16613
2019-04-22 09:59:24 +02:00
liaozan
360da66333
Fix UndertowWebServer's logger name
...
See gh-16613
2019-04-22 09:58:59 +02:00
ForeverHex
124d969b2d
Fix checkstyle violation
...
Closes gh-16616
2019-04-21 20:28:16 +02:00
Phillip Webb
1f893d9376
Log warning on slow host resolution
...
Update `StartupInfoLogger` so that if the `InetAddress` call takes
more than 200ms a warning is logged.
Closes gh-7087
2019-04-19 15:11:22 -07:00
Phillip Webb
405135d5a8
Polish StartupInfoLogger message creation
...
Rework some of the internals of `StartupInfoLogger` so that fewer
strings are created.
2019-04-19 15:11:22 -07:00
Madhura Bhave
ba196b47ac
Fix failure analyzer message
...
See gh-16581
2019-04-19 09:37:31 -07:00
Stephane Nicoll
e9447b0dbf
Merge branch '2.1.x'
2019-04-19 16:31:34 +02:00
Stephane Nicoll
2448efc028
Polish "Cache MimeTypes to improve performance"
...
Closes gh-16507
2019-04-19 16:30:54 +02:00
wenqi.huang
b3f94c47d9
Cache MimeTypes to improve performance
...
See gh-16507
2019-04-19 16:29:32 +02:00
Johnny Lim
62549ffb49
Polish
...
Closes gh-16597
2019-04-19 10:02:46 +02:00
Phillip Webb
b879972d0d
Migrate to MergedAnnotations API
...
Migrate away from `AnnotationUtils` and `AnnotatedElementUtils`
when possible to the new `MergedAnnotations` API.
Closes gh-16551
2019-04-18 15:40:02 -07:00
Madhura Bhave
eda14fb0f6
Analyze failure if configprop scanning results in two beans
...
Closes gh-16581
2019-04-18 11:43:53 -07:00
Andy Wilkinson
15f28dcc68
Polish "Determine Spring Boot version correctly when using module path"
...
See gh-16182
2019-04-18 15:09:17 +01:00
Hendrig Sellik
ec8fb614f7
Determine Spring Boot version correctly when using module path
...
In Java 9, a package may return null for its implementation version
even when the manifest attribute specifying the version is present
in the jar from which the package was loaded.
This commit updates SpringBootVersion to fall back to
accessing the jar and its manifest attributes directly when the
implementation version of its package is null.
See gh-16182
2019-04-18 15:09:11 +01:00
Stephane Nicoll
a79e49f1dd
Merge branch '2.1.x'
2019-04-17 11:57:32 +02:00
Johnny Lim
363994515b
Polish
...
See gh-16575
2019-04-17 11:56:31 +02:00
Phillip Webb
5f1bbf8c72
Update copyright header of changed files
2019-04-15 17:51:08 -07:00
Phillip Webb
2dfd916c96
Polish
2019-04-15 17:51:08 -07:00
Madhura Bhave
08260388bf
Merge branch '2.1.x'
2019-04-15 16:30:07 -07:00
Rudy Adams
0aa25fb742
Add tests for CompressionConnectorCustomizer
...
Closes gh-16515
2019-04-15 16:17:29 -07:00
Brian Clozel
71362299ae
Polish RSocket server bootstrap
...
See gh-16021
2019-04-15 21:42:21 +02:00
Brian Clozel
9eb7260699
Polish RSocket server support
...
Relax the `NettyRSocketBootstrap` contract to allow all types of
`SocketAcceptor` implementations.
See gh-16021
2019-04-11 20:52:49 +02:00
Brian Clozel
2112e02eda
Polish
...
Closes gh-15952
2019-04-11 19:07:14 +02:00
Dmytro Nosan
2c20d01e25
Add requestId info to ErrorAttributes in WebFlux
...
See gh-15952
2019-04-11 19:06:52 +02:00