Commit Graph

11917 Commits (dc153fbf6ac0094e9c40af93649c71de23c44109)

Author SHA1 Message Date
Phillip Webb 46629ef5e4 Migrate away from pivotal-legacy/homebrew-tap
Update formula to use spring-boot rather than springboot. This will
allow both taps to be used at the same time.

See gh-24659
4 years ago
Phillip Webb 42e649debe Merge branch '2.4.x'
Closes gh-24682
4 years ago
Phillip Webb 04616a01cf Merge branch '2.3.x' into 2.4.x
Closes gh-24681
4 years ago
Phillip Webb ef09982b39 Merge branch '2.2.x' into 2.3.x
Closes gh-24680
4 years ago
Phillip Webb 25033ee5e7 Migrate away from pivotal-legacy/homebrew-tap
Update reference documentation to the new spring-io/homebrew-tap repo.

Closes gh-24659
4 years ago
Madhura Bhave 012fb3d3b9 Merge branch '2.4.x'
Closes gh-24679
4 years ago
Madhura Bhave 920136d908 Merge branch '2.3.x' into 2.4.x
Closes gh-24678
4 years ago
Madhura Bhave 73a2a4b383 Consider context-path for WebTestClient baseUrl
Fixes gh-24168
4 years ago
Phillip Webb cb0069f385 Merge branch '2.4.x'
Closes gh-24674
4 years ago
Phillip Webb 5b126b01c0 Replace binder as contributors are processed
Update `ConfigDataEnvironment` so that the bootstrap `Binder` is
replaced as contributors are processed. The final `Binder` is now
also added without the `FAIL_ON_BIND_TO_INACTIVE_SOURCE` option so
that properties can be bound at the last stage even if values exist
in an inactive profile-specific document.

Closes gh-24669
4 years ago
Phillip Webb 45ca4a5a56 Merge branch '2.4.x'
Closes gh-24673
4 years ago
Phillip Webb ac4243d615 Merge branch '2.3.x' into 2.4.x
Closes gh-24672
4 years ago
Phillip Webb 52e47c4275 Fix test for JSR-350 @Nonnull
Closes gh-24647
4 years ago
Phillip Webb 2dfb9b0911 Merge branch '2.4.x'
Closes gh-24671
4 years ago
Phillip Webb 2b497b6aff Merge branch '2.3.x' into 2.4.x
Closes gh-24670
4 years ago
Phillip Webb 848ed65f5b Add test for JSR-350 @Nonnull
Closes gh-24647
4 years ago
Stephane Nicoll 2547a9e255 Merge branch '2.4.x'
See gh-24655
4 years ago
Stephane Nicoll c014bb9880 Merge branch '2.3.x' into 2.4.x
See gh-24647
4 years ago
Stephane Nicoll 67d1f355d7 Fix Nullable reference
See gh-24647
4 years ago
Stephane Nicoll b3278f459e Merge branch '2.4.x'
See gh-24655
4 years ago
Stephane Nicoll 4e6f15a466 Merge branch '2.3.x' into 2.4.x
See gh-24647
4 years ago
Stephane Nicoll 2bd78355dc Reference javax.annotation.Nonnull support in reference guide
See gh-24647
4 years ago
Phillip Webb 11c4ce2135 Merge branch '2.4.x'
Closes gh-24658
4 years ago
Phillip Webb c9f9246c59 Merge branch '2.3.x' into 2.4.x
Closes gh-24657
4 years ago
Phillip Webb 9b9c3edfcd Polish "Return -1 port for non-listening WebServers"
See gh-24606
4 years ago
Stefan Partusch 5c61df3131 Return -1 port for non-listening WebServers
Update `WebServer` implementations to return -1 from `getPort()` if
the server  isn't listening on a port. This aligns the implementations
with the interface Javadoc.

See gh-24606
4 years ago
Phillip Webb bd3dd0a526 Merge branch '2.4.x'
Closes gh-24655
4 years ago
Phillip Webb ab8080353e Merge branch '2.3.x' into 2.4.x
Closes gh-24654
4 years ago
Phillip Webb 2ad9a47d08 Support JSR-305 annotations on endpoint methods
Update `OperationMethodParameter` to additionally support JSR-305 based
`@Nullable` annotations.

Closes gh-24647
4 years ago
Scott Frederick d0fba2473f Merge branch '2.4.x'
Closes gh-24652
4 years ago
Scott Frederick 505340909a Support symlinks in configtree property paths
Prior to this commit, the configtree property source would not traverse
into a sub-directory in a property path if the sub-directory was a
symbolic link. This commit allows symlinked sub-directories to be
traversed like any other sub-directory in the property path.

Fixes gh-24530
4 years ago
Madhura Bhave f8cc7180e5 Merge branch '2.4.x'
Closes gh-24651
4 years ago
Madhura Bhave 615a8ae56e Ignore documents that do not apply when checking mandatory locations
Closes gh-24584
4 years ago
Andy Wilkinson 77652961cd Merge branch '2.4.x'
Closes gh-24650
4 years ago
Andy Wilkinson 89f29c933f Merge branch '2.3.x' into 2.4.x
Closes gh-24649
4 years ago
dreis2211 fe3217d2c4 Exclude starters from Javadoc aggregation
See gh-24648
4 years ago
Stephane Nicoll 1fb32fcf7a Merge branch '2.4.x'
Closes gh-24644
4 years ago
Stephane Nicoll e1ec70ac36 Merge branch '2.3.x' into 2.4.x
Closes gh-24643
4 years ago
Stephane Nicoll f33c7bc27c Polish "Remove unnecessary semicolon"
See gh-24628
4 years ago
Andrey Kolchanov 097104584c Remove unnecessary semicolon
See gh-24628
4 years ago
Madhura Bhave b62325a056 Merge branch '2.4.x' 4 years ago
Madhura Bhave 86e94b95c3 Merge branch '2.3.x' into 2.4.x 4 years ago
Madhura Bhave 9928d74a9e Revert fix to enable cors for actuator endpoints
The fix causes a Jersey application to fail in the absence
of a `CorsFilter` or `CorsConfigurationSource` bean.

See gh-11987
4 years ago
Stephane Nicoll ca1ad1488d Merge branch '2.4.x' 4 years ago
Stephane Nicoll c19f7e696e Polish
See gh-24597
4 years ago
Stephane Nicoll 4289523d7d Merge branch '2.4.x'
Closes gh-24637
4 years ago
Stephane Nicoll 1bc1258341 Polish "Make a field final"
See gh-24629
4 years ago
Andrey Kolchanov 0e3990931e Make a field final
See gh-24629
4 years ago
Stephane Nicoll 63444ae957 Merge branch '2.4.x'
Closes gh-24627
4 years ago
Stephane Nicoll 052565ef2b Merge branch '2.3.x' into 2.4.x
Closes gh-24626
4 years ago
dreis2211 261b7a5b18 Update copyrights to 2021
See gh-24625
4 years ago
Stephane Nicoll 8cd07dbc60 Polish
See gh-21286
4 years ago
Stephane Nicoll e4618cfb8d Delete ErrorProperties.IncludeStacktrace
Closes gh-21286
4 years ago
Stephane Nicoll 1a2577a07e Fix sample formatting 4 years ago
Stephane Nicoll 1fd17cf641 Add support for Elasticsearch sniffer
Closes gh-24174
4 years ago
Stephane Nicoll 1e8d5c37ed Merge branch '2.4.x'
Closes gh-24607
4 years ago
izeye 5e3f618f9d Polish
See gh-24604
4 years ago
Stephane Nicoll e3d7ab0e3b Merge branch '2.3.x' into 2.4.x 4 years ago
Stephane Nicoll d0a1c49873 Polish
See gh-24604
4 years ago
Stephane Nicoll 8cf5510f26 Upgrade to REST Assured 4.2.1
Closes gh-22303
4 years ago
Stephane Nicoll 830843bb70 Merge branch '2.4.x'
Closes gh-24603
4 years ago
Stephane Nicoll 1261e08371 Merge branch '2.3.x' into 2.4.x
Closes gh-24602
4 years ago
Stephane Nicoll d86eba3b6b Upgrade to Thymeleaf 3.0.12
Closes gh-24599
4 years ago
Stephane Nicoll 7c767e9a0b Merge branch '2.4.x'
Closes gh-24600
4 years ago
Stephane Nicoll ff59bb3abf Configure resources filtering encoding
Closes gh-24576
4 years ago
Stephane Nicoll b070c39ac3 Merge branch '2.4.x'
Closes gh-24598
4 years ago
Stephane Nicoll 4cdfd6f13d Polish "Handle missing manifest files in JarTypeFilter"
See gh-24597
4 years ago
Rob Edwards 86eecb01b3 Handle missing manifest files in JarTypeFilter
This commit makes sure that a jar file without a manifest is handled
properly (i.e. included in the repackaged archive).

See gh-24597
4 years ago
Madhura Bhave b29ac37db6 Add docs about using InMemoryOAuth2AuthorizedClientService
Closes gh-24596
4 years ago
Madhura Bhave d36c950e33 Merge branch '2.4.x'
Closes gh-24595
4 years ago
Madhura Bhave a0afec120d Add docs about using InMemoryOAuth2AuthorizedClientService
Closes gh-24313
4 years ago
Madhura Bhave 467f853641 Merge branch '2.4.x'
Closes gh-24593
4 years ago
Madhura Bhave a714ba44ea Update documentation containing examples of WebSecurityConfigurerAdapter
Closes gh-24551
4 years ago
Stephane Nicoll ad6b01d6d0 Add control connection timeout property for Cassandra
Closes gh-24189
4 years ago
Stephane Nicoll 5000051891 Merge branch '2.4.x'
Closes gh-24589
4 years ago
Stephane Nicoll 0691ba600f Polish "Detect Persistent and RelationshipProperties with Neo4j"
See gh-24239
4 years ago
Gerrit Meier ab4b1c4e61 Detect Persistent and RelationshipProperties with Neo4j
See gh-24239
4 years ago
Stephane Nicoll ec683605d4 Polish "Allow to configure Kafka Listener's onlyLogRecordMetadata"
See gh-24582
4 years ago
Martín Dacosta b539e2e749 Allow to configure Kafka Listener's onlyLogRecordMetadata
See gh-24582
4 years ago
Stephane Nicoll 1f71927a9f Merge branch '2.3.x' into 2.4.x
Closes gh-24587
4 years ago
Stephane Nicoll 9e5a6c5228 Harmonize references to ActiveMQ Artemis
Closes gh-24586
4 years ago
Stephane Nicoll 490a40af20 Polish 4 years ago
Stephane Nicoll 338c8c4fc8 Polish "Allow to configure ActiveMQ Artemis with a broker url"
See gh-24302
4 years ago
Justin Bertram 99b43cb690 Allow to configure ActiveMQ Artemis with a broker url
See gh-24302
4 years ago
Stephane Nicoll a6c6655c82 Polish "Upgrade to Jackson 2.12.0"
Guard breaking change to PropertyNamingStrategies so that we tolerate
older Jackson versions.

See gh-24415
4 years ago
Valery Yatsynovich 1f63b82c5b Upgrade to Jackson 2.12.0
See gh-24415
4 years ago
Stephane Nicoll abbdbb07f6 Polish "Upgrade to Embedded Mongo 3.0.0"
See gh-24254
4 years ago
paulius 2f6b51babd Upgrade to Embedded Mongo 3.0.0
See gh-24254
4 years ago
Stephane Nicoll 5da27ea57a Polish "Reduce the overhead of char[] creation"
See gh-24204
4 years ago
Marten Deinum 5121ca5d17 Reduce the overhead of char[] creation
See gh-24204
4 years ago
Stephane Nicoll c063c3434d Merge branch '2.4.x'
Closes gh-24581
4 years ago
dreis2211 f9fbadb8d9 Add JavaVersion entry for JDK 16
See gh-24453
4 years ago
Stephane Nicoll 09fa16c58c Merge branch '2.3.x' into 2.4.x 4 years ago
Stephane Nicoll 306b964ce3 Fix multi-release JAR test on JDK 16
See gh-24453
4 years ago
Stephane Nicoll f4ce82de40 Merge branch '2.4.x'
Closes gh-24580
4 years ago
dreis2211 fb207f73e7 Remove deprecated SpringBootContextLoader#getArgs()
See gh-24550
4 years ago
Stephane Nicoll c78d0370ec Merge branch '2.4.x'
Closes gh-24579
4 years ago
Stephane Nicoll 2c0bfb7674 Merge branch '2.3.x' into 2.4.x
Closes gh-24578
4 years ago
izeye 97dd4c0871 Polish
See gh-24558
4 years ago
Madhura Bhave 13a06e4eca Merge branch '2.4.x' 4 years ago
Madhura Bhave af67e6fa54 Merge branch '2.3.x' into 2.4.x 4 years ago
Madhura Bhave b82f5a408a Add a note about disabling git info
See gh-24205
4 years ago
Madhura Bhave 15a56f81df Merge branch '2.4.x'
Closes gh-24573
4 years ago
Madhura Bhave f9d1a4526c Merge branch '2.3.x' into 2.4.x
Closes gh-24572
4 years ago
Madhura Bhave a5c8b84511 Update version of git-properties plugin in the docs
Closes gh-24567
4 years ago
Madhura Bhave acbe18cf85 Merge branch '2.4.x'
Closes gh-24571
4 years ago
Madhura Bhave c231f3da10 Merge branch '2.3.x' into 2.4.x
Closes gh-24570
4 years ago
Madhura Bhave 302ba77812 Improve documentation regarding git commit info
Closes gh-24205
4 years ago
Phillip Webb 8a67ab0c2d Merge branch '2.4.x'
Closes gh-24569
4 years ago
Phillip Webb 5317d8a9bb Change scope of bootstrap registered Binder
Update `ConfigDataEnvironment` so that the `Binder` is registered as
a prototype bootstrap instance. This allows it to be accessed early
but still replaced when a more complete version is available.

Fixes gh-24559
4 years ago
Phillip Webb e1b158ec66 Add BootstrapRegistry Scope support
Update `BootstrapRegistry` so that it can be used to register instances
in either a `singleton` or `prototype` scope. The prototype scope has
been added so that instances can be registered and replaced later
if needed.

See gh-24559
4 years ago
Phillip Webb 07348066e3 Merge branch '2.4.x' 4 years ago
Phillip Webb f568aa489c Fixup title anchors 4 years ago
Madhura Bhave 9aa1b528df Merge branch '2.4.x'
Closes gh-24566
4 years ago
Madhura Bhave 01537bc54f Merge branch '2.3.x' into 2.4.x
Closes gh-24565
4 years ago
Madhura Bhave c9a09cf6a9 Clarify when SpEL expressions in application properties are evaluated
Closes gh-24531
4 years ago
Madhura Bhave 86d64c727d Merge branch '2.4.x'
Closes gh-24564
4 years ago
Madhura Bhave 55d9951d90 Merge branch '2.3.x' into 2.4.x
Closes gh-24563
4 years ago
Madhura Bhave 1db271c2c5 Reorder documentation about building images
Closes gh-24560
4 years ago
Andy Wilkinson 1c3ace79e5 Merge branch '2.4.x' 4 years ago
Andy Wilkinson e083be7de1 Fix ConfigDataEnvironmentPostProcessorIntegrationTests in Windows 4 years ago
Phillip Webb 82791b4eda Improve performance of Tomcat 'jar:war:file' URLs
Update jar `Handler` fallback logic to directly support Tomcat
'jar:war:file' URLs. This commit allows contents to be accessed without
the JDK needing to extracted the nested jar to the temporary folder.

Closes gh-24553
4 years ago
Phillip Webb 65c3464fce Merge branch '2.4.x'
Closes gh-24555
4 years ago
Phillip Webb 0730949325 Merge branch '2.3.x' into 2.4.x
Closes gh-24554
4 years ago
Phillip Webb c4e41305d5 Prevent Tomcat URL "reflective access" warnings
Update the jar `Handler` class to support a non-reflective fallback
mechanism when possible. The updated code attempts to capture a regular
jar URL before our handler is installed. It can then use that URL as
context when creating the a fallback URL. The JDK jar `Handler` will
be copied from the context URL to the fallback URL.

Without this commit, resolving new Tomcat URLs of the form
`jar:war:file:...` would result in an ugly "Illegal reflective access"
warning.

Fixes gh-18631
4 years ago
Phillip Webb aeaefbee33 Make StandardConfigDataResource.getResource public
Update `StandardConfigDataResource`  to make the `getResource()` method
public so that it can be used by Spring Cloud.

Closes gh-24504
4 years ago
Phillip Webb b2abc8ff3f Only throw PortInUseException if port is set
Refine the `PortInUseException` logic in `NettyWebServer` to only throw
an exception if the port is set. The prevents a misleading exception
from being thrown when a domain socket is being used.

Closes gh-24529
4 years ago
Phillip Webb 5ca01ce5a8 Make StandardConfigDataResource.getResource public
Update `StandardConfigDataResource`  to make the `getResource()` method
public so that it can be used by Spring Cloud.

Closes gh-24504
4 years ago
Phillip Webb d195815488 Only throw PortInUseException if port is set
Refine the `PortInUseException` logic in `NettyWebServer` to only throw
an exception if the port is set. The prevents a misleading exception
from being thrown when a domain socket is being used.

Closes gh-24529
4 years ago
Madhura Bhave 7f51984cbd Merge branch '2.4.x' 4 years ago
Madhura Bhave 4822516fb7 Merge branch '2.3.x' into 2.4.x 4 years ago
Phillip Webb f4258aae06 Merge branch '2.4.x'
Closes gh-24544
4 years ago
Phillip Webb 7fd4c53352 Deal with unsupported DisposableServer operations
Update `NettyWebServer` to deal with any `UnsupportedOperationException`
thrown from `DisposableServer`. Specifically, this commit allows the
`NettyWebServer` to work with domain socket backed servers which cannot
provide a port.

Fixes gh-24529
4 years ago
Madhura Bhave 361198ebba Fix tests
See gh-11987
4 years ago
Madhura Bhave 58f0e253e7 Merge branch '2.4.x'
Closes gh-24543
4 years ago
Madhura Bhave a1ea5b49ec Merge branch '2.3.x' into 2.4.x
Closes gh-24542
4 years ago
Madhura Bhave 09e07428cc Configure CORS in default security configuration for MVC
Fixes gh-11987
4 years ago
Scott Frederick b51caf2c45 Merge branch '2.4.x'
Closes gh-24539
4 years ago
Scott Frederick 4e603d9239 Merge branch '2.3.x' into 2.4.x
Closes gh-24538
4 years ago
Scott Frederick e4d124dc45 Improve error message with Maven build-image and war packaging
Fixes gh-24522
4 years ago
Phillip Webb c8f59e1239 Merge branch '2.4.x'
Closes gh-24537
4 years ago
Phillip Webb d6890e39a7 Merge branch '2.3.x' into 2.4.x
Closes gh-24536
4 years ago
Scott Frederick 1f21933c48 Merge branch '2.4.x'
Closes gh-24534
4 years ago
Scott Frederick dfcabe1665 Merge branch '2.3.x' into 2.4.x
Fixes gh-24521 in 2.4.2
4 years ago
dreis2211 0ec603cdad Avoid duplicates in MergedContextConfiguration
Remove duplicate config attribute classes by using a `Set` rather
than a `List` in the `SpringBootTestContextBootstrapper`.

See gh-24532
4 years ago
Scott Frederick 0e5df2296e Fail with Gradle bootBuildImage and war packaging
Prior to this commit, running the bootBuildImage Gradle task on a
project configured for war packaging would result in a jar file being
built and used in the image instead of the war file. With this commit
an error will be thrown from the plugin in this case.

Fixes gh-24521
4 years ago
Andy Wilkinson 4dd0e9ae54 Merge branch '2.4.x'
Closes gh-24527
4 years ago
Andy Wilkinson 5fdb2ae2fd Protect PluginApplicationActions against absent plugin classes
Closes gh-24526
4 years ago
Phillip Webb 5bd5ca5107 Merge branch '2.4.x'
Closes gh-24524
4 years ago
Phillip Webb 38e4c2a179 Add ConfigDataEnvironmentUpdateListener support
Add an overloaded `ConfigDataEnvironmentPostProcessor.applyTo` method
that accepts a listener that can used to track the updates that were
applied to the `Environment`.

The listener can be used to track the which `ConfigDataLocation` and
the `ConfigDataResource` were used to add a `PropertySource`. The lister
can also be used to tell which profiles were applied.

This enhancement is being added in a patch release because it's will
be useful for Spring Cloud 2020.0.0.

Closes gh-24504
4 years ago