- 18 Mar, 2020 14 commits
-
-
Scott Frederick authored
This commit modifies the DSL for custom layer configuration in the Gradle plugin to avoid duplication of terms that could be confusing. Fixes gh-20563
-
Stephane Nicoll authored
* pr/20561: Upgrade to Gradle 6.3 RC3 Closes gh-20561
-
dreis2211 authored
See gh-20561
-
Stephane Nicoll authored
See gh-20413
-
Stephane Nicoll authored
* pr/20413: Polish "Add Java 14 CI" Add Java 14 CI Closes gh-20413
-
Stephane Nicoll authored
See gh-20413
-
dreis2211 authored
See gh-20413
-
Stephane Nicoll authored
Closes gh-20558
-
Andy Wilkinson authored
This reverts commit 9f3bc78f.
-
Andy Wilkinson authored
Closes gh-20556
-
Andy Wilkinson authored
* gh-20323: Fix recommended task dependency configuration Closes gh-20323
-
Lars Grefer authored
`compileJava.dependsOn(processResources)` is not enough to ensure the correct behavior. Using `dependsOn` only affects the execution order (`processResources` before `compileJava`) but not the up-to-date check of `compileJava`. After modifying `META-INF/additional-spring-configuration-metadata.json`, the `processResouces` task will considered out-of-date and will be re-executed, but after that `compileJava` will still be considered up-to-date which causes the changes not to be merged into `META-INF/spring-configuration-metadata.json` With this change the up-do-date check of `compileJava` is affected, too. Therefore, it will correctly re-execute the configuration-processor when `META-INF/additional-spring-configuration-metadata.json` was changed. See gh-20323
-
Andy Wilkinson authored
-
Scott Frederick authored
-
- 17 Mar, 2020 12 commits
-
-
Scott Frederick authored
This commit adds support for setting the image name and builder parameters of the Maven spring-boot:build-image goal using command-line properties as an alternative to plugin configuration in pom.xml. Per Maven conventions, a value in pom.xml configuration will override a command-line property when both are provided. Fixes gh-20520
-
Stephane Nicoll authored
Closes gh-20549
-
Stephane Nicoll authored
* pr/20541: Use @Configuration(proxyBeanMethods=false) wherever possible Closes gh-20541
-
Stephane Nicoll authored
The upgrade to the Couchbase SDK v3 changed how errors are reported when the cluster is not available. This commit updates the check to look for the new exception in the hope a more solid check can be found shortly.
-
dreis2211 authored
See gh-20541
-
Stephane Nicoll authored
This commit expands the `spring.couchbase.env.timeouts` configuration namespace with timeouts for disconnect, key-value operations with a durability level, search, analytics and management. Closes gh-19893 Co-authored-by:
Michael Nitschinger <michael@nitschinger.at>
-
Stephane Nicoll authored
This commit upgrades to the Couchbase SDK v3 which brings the following breaking changes: * Bootstrap hosts have been replaced by a connection string and the authentication is now mandatory. * A `Bucket` is no longer auto-configured. The `spring.couchbase.bucket.*` properties have been removed * `ClusterInfo` no longer exists and has been replaced by a dedicated API on `Cluster`. * `CouchbaseEnvironment` no longer exist in favour of `ClusterEnvironment`, the customizer has been renamed accordingly. * The bootstrap-related properties have been removed. Users requiring custom ports should supply the seed nodes and initialize a Cluster themselves. * The endpoints-related configuration has been consolidated in a single IO configuration. The Spring Data Couchbase provides an integration with the new SDK. This leads to the following changes: * A convenient `CouchbaseClientFactory` is auto-configured. * Repositories are configured against a bucket and a scope. Those can be set via configuration in `spring.data.couchbase.*`. * The default consistency property has been removed in favour of a more flexible annotation on the repository query methods instead. You can now specify different query consistency on a per method basis. * The `CacheManager` implementation is provided, as do other stores for consistency so a dependency on `couchbase-spring-cache` is no longer required. See gh-19893 Co-authored-by:
Michael Nitschinger <michael@nitschinger.at>
-
Stephane Nicoll authored
This commit configures Spring Data Couchbase explicitly rather than relying on the abstract configuration class. This has the advantage of simplifying the auto-configuration and let it us proxy-free configuration classes. Spring Boot no longer uses or interacts with CouchbaseConfigurer. Users relying on that to teach Spring Boot which components to use should rely on `@Primary` flag instead in case of multiple beans of the same type. `CouchbaseConfiguration` is no longer public as extending from it is no longer necessary. If the `CouchbaseEnvironment` has to be customized, a `CouchbaseEnvironmentBuilderCustomizer` bean can be registered to tune the auto-configured environment. Closes gh-20533
-
Andy Wilkinson authored
Closes gh-20544
-
Andy Wilkinson authored
Closes gh-20543
-
Andy Wilkinson authored
Fixes gh-20531
-
Madhura Bhave authored
-
- 16 Mar, 2020 6 commits
-
-
Madhura Bhave authored
Closes gh-20516
-
Madhura Bhave authored
Closes gh-20526
-
Scott Frederick authored
Register Boot Gradle tasks instead of creating them so they can be loaded lazily. Closes gh-18881
-
Scott Frederick authored
This commit adds configuration to the Spring Boot Gradle plugin that allows the names and contents of layers to be customized in the build configuration. Fixes gh-20296
-
Andy Wilkinson authored
Maven's war plugin does not support reproducible builds, resulting in the entries in the war file not being written in a consistent order from build to build. Closes gh-20176
-
Andy Wilkinson authored
Closes gh-20176
-
- 15 Mar, 2020 2 commits
-
-
Stephane Nicoll authored
* pr/20527: Fix some deprecation warnings Closes gh-20527
-
dreis2211 authored
See gh-20527
-
- 13 Mar, 2020 4 commits
-
-
Andy Wilkinson authored
* gh-20525: Fix method order checkstyle issue Closes gh-20525
-
dreis2211 authored
See gh-20525
-
Andy Wilkinson authored
Previously, any HTTP request to an endpoint that included a principal would bypass the cache. This prevented authenticated requests from making use of the cache and its configurable time-to-live. This commit updates the caching operation invoker to include the principal, if any, in its cache key. As a result, requests that include a principal will make use of the cache, potentially returning the result of a previous invocation of the same endpoint by the same principal. Closes gh-19538
-
Andy Wilkinson authored
Closes gh-20175
-
- 12 Mar, 2020 2 commits
-
-
Andy Wilkinson authored
Closes gh-20514
-
Andy Wilkinson authored
Closes gh-20513
-