Commit Graph

4740 Commits (c8070f4408da33eb019978fcf0b745f0e58bd26b)

Author SHA1 Message Date
ayudovin 81273bdf9a Handle AccessControlException in JspTemplateAvailabilityProvider
See gh-15778
6 years ago
Stephane Nicoll 5e2d5959f3 Polish 6 years ago
dreis2211 5b3e1aa21a Optimize ConfigurationPropertyName
This commit changes the iteration order when checking for element
equality. This is based on the educated guess that child elements
will likely differ while parents will probably be the same.

E.g. comparing "spring.banner.charset" with "spring.banner.location"
will now first check "charset" against "location" and thus saves some
cycles for elements that will be the same.

See gh-15782
6 years ago
Andy Wilkinson 0e77445a9a Polish "Optimize BeanPropertyName.toDashedForm()"
See gh-15779
6 years ago
dreis2211 3c8d9d00e5 Optimize BeanPropertyName.toDashedForm()
See gh-15779
6 years ago
Andy Wilkinson 47b378e373 Derive StringBuilder's size from number of elements
Previously, when ConfigurationPropertyName was building the String
returned from toString() it would use a StringBuilder with the
default initial capacity of 16. For properties with several
elements this was likely to be too small resulting in the builder's
buffer being resized.

This commit sizes the StringBuilder as a multiple of the number of
elements in the name, attempting to strike a balance between
allocating a StringBuilder with an initial capacity that's too
large and wastes memory and an initial capacity that's too small
and requires resizing.

See gh-15760
6 years ago
Andy Wilkinson 39e2aaa41c Size the ElementsParser based on expected number of elements
Previously, the ElementsParser would be created using its default
capacity of 6 even when parsing a String that is expected to
produce a single element.

This commit updates ConfigurationPropertyName to create an
ElementsParser with a capacity of 1 when parsing a String that should
contain only a single element.

See gh-15760
6 years ago
Andy Wilkinson 8ec6c372e4 Do not expand ElementsParser until size equals storage length
Previously, ElementsParser would expand its internal storage when the
size of the storage was <= the end index of the element being parsed,
irrespective of how many elements had been stored. This led to
expansion of the storage, even for a source that contains a single
element, if the end of the element was at an index greater than the
size of the storage.

This commit updates ElementsParser to resize its storage when the size
(the number of elements that have been stored) is equal to the size of
the storage.

See gh-15760
6 years ago
Andy Wilkinson 2956b86035 Avoid creating ConfigurationPropertyName just to get its Elements
See gh-15760
6 years ago
dreis2211 d4ab101223 Use Assertions.contentOf() where possible
Closes gh-15793
6 years ago
Stephane Nicoll 342212b8dc Merge branch '2.1.x' 6 years ago
Stephane Nicoll 6f86a84301 Polish "Alias auto-configured `TaskExecutor` to make async tasks use it"
Closes gh-15748
6 years ago
Camille Vienot d0859f1569 Alias auto-configured `TaskExecutor` to make async tasks use it
See gh-15748
6 years ago
Stephane Nicoll a6815bb2c9 Merge branch '2.1.x' 6 years ago
Vedran Pavic d7550d73a3 Remove duplicate code from HealthWebEndpointResponseMapper
Closes gh-15784
6 years ago
Andy Wilkinson babe98f064 Merge branch '2.1.x' 6 years ago
Andy Wilkinson a172e146de Polish "Always fail fast when SSL is enabled without a key store"
Closes gh-15709
6 years ago
Raheela 62c8ac6ee8 Always fail fast when SSL is enabled without a key store
See gh-15709
6 years ago
Andy Wilkinson 2cb147af7c Merge branch '2.1.x' 6 years ago
Andy Wilkinson e15e140f8c Polish "Fix typos in JsonContentAssert failure messages"
See gh-15752
6 years ago
Johnny Lim 3744082996 Fix typos in JsonContentAssert failure messages
Closes gh-15752
6 years ago
Andy Wilkinson f23a0a5969 Inject InfoContributorProperties more precisely
Closes gh-15750
6 years ago
Andy Wilkinson 530c7bee71 Do not auto-configure HttpMessageConverters in reactive web apps
Closes gh-15712
6 years ago
Andy Wilkinson 6abd18ae96 Do not auto-configure RestTemplateBuilder in reactive web apps
Closes gh-15718
6 years ago
Andy Wilkinson 5d60d6bd62 Use ApplicationContextRunner to test RestTemplateAutoConfiguration 6 years ago
Andy Wilkinson 7dd65074e8 Only perform background pre-init with multiple processors
Closes gh-15722
6 years ago
Stephane Nicoll 32b14f3098 Merge branch '2.1.x' 6 years ago
Stephane Nicoll f0a20b1821 Polish contribution
Closes gh-15733
6 years ago
NAIT BELKACEM 6a0053c8bc Fix typo
See gh-15733
6 years ago
Michael McFadyen 9eeeebcd53 Update 'HTTP Client Metrics' reference documentation
Since gh-#5594, the 'outcome' tag has been introduced for
HTTP clients. This commit updates the reference documentation
accordingly.

Closes gh-15725
6 years ago
Stephane Nicoll cea6a79e49 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 708ca0636f Clarify that Spring Boot uses the platform MBeanServer by default
Closes gh-15728
6 years ago
Stephane Nicoll 33f2bd4d61 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 485bdc9901 Polish "Remove redundant interface modifiers"
Closes gh-15694
6 years ago
igor-suhorukov 2d873c78fe Remove redundant interface modifiers
See gh-15694
6 years ago
Stephane Nicoll 6baa6b291e Polish contribution
Closes gh-15695
6 years ago
Johnny Lim af3ed9ff9f Polish
See gh-15695
6 years ago
Phillip Webb 2f77ef7722 Merge branch '2.1.x' 6 years ago
Phillip Webb 72400d3a96 Upgrade to Spring Batch 4.1.1
Closes gh-15659
6 years ago
Phillip Webb 9e58942698 Update copyright year for changed files 6 years ago
Phillip Webb 6a901199f5 Polish 6 years ago
Andy Wilkinson 023c7159ac Upgrade to Spring Batch 4.0.2.RELEASE
Closes gh-15658
6 years ago
Andy Wilkinson d22e43aefb Merge branch '2.1.x' 6 years ago
Andy Wilkinson f0141dadab Revert "Upgrade to Glassfish Jaxb 2.3.2"
This reverts commit 6b952f5b65.

See gh-15689
6 years ago
Andy Wilkinson f8de67e6e9 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 6b952f5b65 Upgrade to Glassfish Jaxb 2.3.2
Closes gh-15689
6 years ago
Andy Wilkinson 48b485161e Upgrade to Byte Buddy 1.9.7
Closes gh-15688
6 years ago
Andy Wilkinson eb96cdffd2 Upgrade to Reactor Bom Californium-SR4
Closes gh-15687
6 years ago
Andy Wilkinson c5e14afcd1 Upgrade to Micrometer 1.1.2
Closes gh-15686
6 years ago
Andy Wilkinson 1bd030c17a Upgrade to Spring Kafka 2.1.12.RELEASE
Closes gh-15685
6 years ago
Andy Wilkinson 6c81eb0591 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 99df485268 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 2af133084a Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 784f192cf3 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 6307cb5943 Disable Tomcat’s reference clearing
Closes gh-15101
6 years ago
Johnny Lim 498eef5abb Add starter entry for Azure Application Insights
Closes gh-15628
6 years ago
Stephane Nicoll 8d1d3fb087 Polish "Avoid string concatenation inside StringBuilder append()"
Closes gh-15589
6 years ago
igor-suhorukov 59ac85d371 Avoid string concatenation inside StringBuilder append()
See gh-15589
6 years ago
Stephane Nicoll 29a45a7b7b Merge branch '2.1.x' 6 years ago
Stephane Nicoll e95a6e8c5c Upgrade to Spring Kafka 2.2.3
Closes gh-15414
6 years ago
Stephane Nicoll c18a0756ac Upgrade to Spring Session Bean-SR2
Closes gh-15531
6 years ago
Stephane Nicoll def5c15a14 Upgrade to Spring Security 5.1.3
Closes gh-15417
6 years ago
Stephane Nicoll 211d7aee5d Upgrade to Spring Integration 5.1.2
Closes gh-15413
6 years ago
Stephane Nicoll 3fe3ff7be6 Upgrade to Spring AMQP 2.1.3
Closes gh-15407
6 years ago
Stephane Nicoll 89fcb8b381 Upgrade to Spring Session Apple-SR8
Closes gh-15530
6 years ago
Stephane Nicoll aaadc620da Upgrade to Spring Security 5.0.11
Closes gh-15416
6 years ago
Stephane Nicoll 3c917bc80f Upgrade to Spring Integration 5.0.11
Closes gh-15412
6 years ago
Stephane Nicoll e1c2eb04e0 Upgrade to Spring AMQP 2.0.11
Closes gh-15406
6 years ago
Madhura Bhave 2ab0925222 Merge branch '2.1.x' 6 years ago
Madhura Bhave b345fc8574 Fix validation when key matching the prefix is set
Fixes gh-15597
6 years ago
Andy Wilkinson b9d2fab70c Upgrade to Reactor Bom Bismuth-SR15
Closes gh-15676
6 years ago
Stephane Nicoll da96c122ad Merge branch '2.1.x' 6 years ago
Stephane Nicoll 7529179d39 Upgrade to Spring Data Lovelace SR4
Closes gh-15410
6 years ago
Stephane Nicoll f562806744 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 8722d02c1e Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll c8c047d3d8 Upgrade to Spring Data Kay SR13
Closes gh-15409
6 years ago
Stephane Nicoll a697d641e7 Upgrade to Neo4j Ogm 3.1.6
Closes gh-15671
6 years ago
Stephane Nicoll dca6879d4e Polish "Remove an unused interface in RestarterTests"
Closes gh-15666
6 years ago
Johnny Lim d7f0c1d63c Remove an unused interface in RestarterTests
See gh-15666
6 years ago
Stephane Nicoll badccc083e Merge branch '2.1.x' 6 years ago
Stephane Nicoll cdf76e34a9 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 44dc29901b Upgrade to Micrometer 1.0.9
Closes gh-15669
6 years ago
Stephane Nicoll 9a35a037a9 Upgrade to Spring Web Services 3.0.6.RELEASE
Closes gh-15667
6 years ago
Stephane Nicoll 28f89773ce Merge branch '2.1.x' 6 years ago
Stephane Nicoll 5a5367591a Upgrade to Spring Framework 5.1.4.RELEASE
Closes gh-15493
6 years ago
Stephane Nicoll e28b802775 Upgrade to Spring Framework 5.0.12.RELEASE
Closes gh-15528
6 years ago
Brian Clozel a3737cd76d Merge branch '2.1.x' 6 years ago
Brian Clozel 958e08c413 Merge branch '2.0.x' into 2.1.x 6 years ago
dreis2211 95e26ffcb9 Avoid uri tag explosion when use of path variable is undetected
This commit aligns the Spring WebFlux instrumentation on Spring MVC
since gh-12447.
From now on, if the best matching path pattern is not found,
the recorded uri tag will be "UNKNOWN".

Note that for WebFlux.fn, the pattern information is properly
recorded as of SPR-17395.

Closes gh-15609
6 years ago
Brian Clozel d5ae59dad7 Polish
Closes gh-15594
6 years ago
Nishant Raut 21df40b6c7 Add an outcome tag to web client metrics
Similar to what's ben done in gh-15420 for Spring MVC and Spring
WebFlux, this commit adds an outcome tag for the client side on both
`RestTemplate` and `WebClient`.

See gh-15594
6 years ago
Brian Clozel a83d9635af Merge branch '2.1.x' 6 years ago
Brian Clozel 6200a319f2 Polish
Closes gh-15385
6 years ago
ayudovin e9588ca04b Support server.connection-timeout for Netty server 6 years ago
Brian Clozel ead9b51c9b Merge branch '2.1.x' 6 years ago
Brian Clozel c40e61c117 Merge branch '2.0.x' into 2.1.x 6 years ago
Brian Clozel 0e13fd039d Configure HTTP compression for HTTP/2 with Tomcat
This commit ensures that the compression options are also applied on the
`Http2Protocol` when http/2 is enabled with Tomcat.

Closes gh-15591
6 years ago
Stephane Nicoll 2b304e3d69 Merge branch '2.1.x' 6 years ago
Stephane Nicoll ca7f338a39 Polish "Remove redundant throws Exception"
Closes gh-15647
6 years ago
Stephane Nicoll 5ea9ac0ac6 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 02581c005a Polish "Fix typo"
Closes gh-15642
6 years ago
Michael Simons 7a2313892c Fix typo
See gh-15642
6 years ago
Stephane Nicoll 5fdcb219bb Merge branch '2.1.x' 6 years ago
小呆 e5b2aeb5da Remove redundant throws Exception
Closes gh-15645
6 years ago
Brian Clozel 06bdb422b5 Upgrade to Reactor Californium-BUILD-SNAPSHOT 6 years ago
Stephane Nicoll 2dd3171b89 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 4670770da9 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 7330b8b16f Upgrade to Hibernate Validator 6.0.14.Final
Closes gh-15639
6 years ago
Stephane Nicoll 448f1626f9 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 830da28b8c Fix JPA bootstrap executor detection with multiple candidates
Spring Boot provides two separate auto-configurations that can
potentially expose an `AsyncTaskExecutor` implementation so relying on
the presence of a single instance is too weak.

This commit fixes the detection of the AsyncTaskExecutor that can be
used to bootstrap JPA so that a single instance is used and, in the case
more than one exists, the one named `applicationTaskExecutor`.

Closes gh-15447
6 years ago
Stephane Nicoll 8136db69b6 Merge branch '2.1.x' 6 years ago
Stephane Nicoll d4992777b9 Improve TaskExecution documentation with custom Executor and Spring MVC
Closes gh-15447
6 years ago
Stephane Nicoll 5e736c0d1f Merge branch '2.1.x' 6 years ago
Stephane Nicoll 6ad01a6dfc Optimize ConditionalOnEnabledEndpoint usage
Closes gh-15451
6 years ago
Stephane Nicoll 2d2aa96c05 Allow ConditionalOnEnabledEndpoint to be set at class level
See gh-15451
6 years ago
Stephane Nicoll 2153a7529d Add missing dependency management for hazelcast-hibernate53
Closes gh-15618
6 years ago
Stephane Nicoll 5535d4d9b2 Upgrade to Flatten Maven Plugin 1.1.0
Closes gh-15622
6 years ago
Stephane Nicoll 8efddf57a5 Upgrade to Hibernate 5.4.0.Final
Closes gh-15621
6 years ago
Stephane Nicoll fea30962dd Upgrade to Hikaricp 3.3.0
Closes gh-15620
6 years ago
Stephane Nicoll 99cd74519d Upgrade to Rabbit Amqp Client 5.5.2
Closes gh-15619
6 years ago
Stephane Nicoll e91776a7a8 Upgrade to Hazelcast Hibernate5 1.3.1
Closes gh-15618
6 years ago
Stephane Nicoll 5b0a5b319e Merge branch '2.1.x' 6 years ago
Stephane Nicoll 580c73a026 Upgrade to Jooq 3.11.9
Closes gh-15617
6 years ago
Stephane Nicoll b0dbe09b8c Upgrade to Ehcache3 3.6.3
Closes gh-15616
6 years ago
Stephane Nicoll 232f0fe894 Upgrade to Groovy 2.5.5
Closes gh-15615
6 years ago
Stephane Nicoll 383da2183e Upgrade to Rxjava2 2.2.5
Closes gh-15614
6 years ago
Stephane Nicoll a713e598e7 Upgrade to Dropwizard Metrics 4.0.5
Closes gh-15613
6 years ago
Stephane Nicoll 8024c2c543 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll d909b722f6 Upgrade to Maven Assembly Plugin 3.1.1
Closes gh-15612
6 years ago
Stephane Nicoll 1132ad411d Upgrade to Johnzon Jsonb 1.1.11
Closes gh-15611
6 years ago
Stephane Nicoll f4c7441cc1 Merge branch '2.1.x' 6 years ago
Johnny Lim c41dc4e0cb Fix the anchor for the Micrometer Elasticsearch section
Closes gh-15610
6 years ago
Stephane Nicoll 442225bbf1 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 4729d170a8 Polish "Ensure checking customizer ordering"
Closes gh-15603
6 years ago
Tadaya Tsuyukubo b34e752db6 Ensure checking customizer ordering
See gh-15603
6 years ago
Madhura Bhave 2dc7a89bd4 Merge branch '2.1.x' 6 years ago
Madhura Bhave 5b990605dc Polish "Order actuator security config after resource-server config"
Closes gh-15472
6 years ago
Stephen Doxsee 4597e7cc82 Order actuator security config after resource-server config
See gh-15472
6 years ago
Madhura Bhave aee65441a7 Merge branch '2.1.x' 6 years ago
Madhura Bhave d1e1a82b32 Support binding to collection with EnumSet values
Fixes gh-15539
6 years ago
Stephane Nicoll 6ba1f40e59 Polish "Allow easy customization of EmbeddedMongo DownloadConfig"
Closes gh-15496
6 years ago
michael b5b6889601 Allow easy customization of EmbeddedMongo DownloadConfig
See gh-15496
6 years ago
dreis2211 46e59503ec Use JSONObject.putOpt in JsonConverter
Closes gh-15595
6 years ago
Madhura Bhave 19caff6776 Merge branch '2.1.x' 6 years ago
Oleksii Bondar b52dddf784 Refactor OAuth2ClientPropertiesRegistrationAdapterTests
Closes gh-15586
6 years ago
Stephane Nicoll d0811b48df Polish "Disable Hibernate entity scanning for default JPA setup"
Closes gh-15565
6 years ago
ayudovin 510a8e2ec1 Disable Hibernate entity scanning for default JPA setup
See gh-15565
6 years ago
Stephane Nicoll 33547569db Merge branch '2.1.x' 6 years ago
Stephane Nicoll c6202b57e0 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll be161b23cb Polish class conditions documentation
Closes gh-15578
6 years ago
Stephane Nicoll 1e98c78ab9 Fix typo 6 years ago
Camille Vienot ff8edf8d98 Use assertJ to generate AssertionError and filter its stacktrace
Closes gh-15569
6 years ago
Stephane Nicoll 51936e1a5c Rename "agent" to "agents" to properly indicate its type
Closes gh-15455
6 years ago
Stephane Nicoll 960d375f57 Merge branch '2.1.x' 6 years ago
Stephane Nicoll a8efcadc90 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 4509164789 Polish "Add unit test for cassandra health checker"
Closes gh-15583
6 years ago
Oleksii Bondar db22a81742 Add unit test for cassandra health checker
See gh-15583
6 years ago
igor-suhorukov 3eb2f5e476 Replace Collections sort with list sort() method
Closes gh-15585
6 years ago
dreis2211 0f5f6f15dc Use hasFieldOrPropertyWithValue where possible
Closes gh-15582
6 years ago
Stephane Nicoll d57f831f50 Polish "Use Optional value in more functional style"
Closes gh-15575
6 years ago
igor-suhorukov 8ced867e95 Use Optional value in more functional style
See gh-15575
6 years ago
Stephane Nicoll 7946bec11f Merge branch '2.1.x' 6 years ago
Stephane Nicoll 8e8910b2ff Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 4cae2c9c94 Polish "Avoid NPE when replacement property does not exist"
Closes gh-15394
6 years ago
hdeadman a1b71ef910 Avoid NPE when replacement property does not exist
See gh-15394
6 years ago
Stephane Nicoll b578dc05df Polish 6 years ago
Stephane Nicoll 1223355fe6 Polish "Simplify code by using for-each loop"
Closes gh-15563
6 years ago
igor-suhorukov dfb3cd51bc Simplify code by using for-each loop
See gh-15563
6 years ago
Stephane Nicoll cc5624efc4 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 27a611f635 Restore reference to nutz third party starter
Closes gh-15564
6 years ago
Stephane Nicoll fbef9700bf Merge branch '2.1.x' 6 years ago
Erik Mulder 00763af335 Fix system properties override example
Closes gh-15562
6 years ago
Stephane Nicoll 805ff6000a Polish "Replace indexOf() with a call to the contains()"
Closes gh-15559
6 years ago
igor-suhorukov b370b1f03a Replace indexOf() with a call to the contains()
See gh-15559
6 years ago
Stephane Nicoll fd12e696b0 Polish "Replace redundant call to class isInstance() with instanceof"
Closes gh-15554
6 years ago
igor-suhorukov 7424f48803 Replace redundant call to class isInstance() with instanceof
See gh-15554
6 years ago
Andy Wilkinson 372b6605b3 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 83ce5dcee8 Add missing task output annotations to BootJar and BootWar
Closes gh-15488
6 years ago
Andy Wilkinson ddf64802c0 Merge branch '2.1.x' 6 years ago
Andy Wilkinson bfd63ab085 Polish "Stop JtaAutoConfiguration from enabling JtaProperties when not used"
Closes gh-15550
6 years ago
Nishant Raut 0b29da14b3 Stop JtaAutoConfiguration from enabling JtaProperties when not used
See gh-15550
6 years ago
igor-suhorukov cbf6b330ba Simplify code by using Map computeIfAbsent
Closes gh-15543
6 years ago
dreis2211 3544ed045b Drop ContentContainingCondition in favor of Assertions.contentOf
Closes gh-15429
6 years ago
Stephane Nicoll 0d67f7ae9a Merge branch '2.1.x' 6 years ago
Stephane Nicoll b039982273 Merge branch '2.0.x' into 2.1.x 6 years ago
dreis2211 9ffb4f69cd Polish javadoc of ConfigurableUndertowWebServerFactory method
Closes gh-15536
6 years ago
Stephane Nicoll c948bdd14d Merge branch '2.1.x' 6 years ago
Stephane Nicoll 51d3626c3b Merge branch '2.0.x' into 2.1.x 6 years ago
dreis2211 27e89bbb8a Optimize StringSequence
Closes gh-15473
6 years ago
Stephane Nicoll 9d67400afa Merge branch '2.1.x' 6 years ago
Stephane Nicoll 06989d884b Polish "Fix StringSequence.equals() for different lengths"
Closes gh-15438
6 years ago
igor-suhorukov e578d30722 Replace anonymous inner class with lambda
See gh-15438
6 years ago
Andy Wilkinson 3a7406fe3a Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 0741c90489 Avoid blocking on a Mono indefinitely
Closes gh-15535
6 years ago
Andy Wilkinson 9d2d6d5812 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 9a33d1a2f9 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 8c68da0882 Avoid blocking on a Mono indefinitely
Closes gh-15535
6 years ago
Andy Wilkinson d8b487f127 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 84a064a7dc Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 6403ec6e1b Revert "Upgrade to Netty 4.1.32.Final"
This reverts commit f9ce6c9dc2.

See gh-15505
6 years ago