- 17 Mar, 2020 11 commits
-
-
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 7 commits
-
-
Andy Wilkinson authored
Closes gh-20514
-
Andy Wilkinson authored
Closes gh-20513
-
Andy Wilkinson authored
Closes gh-20512
-
Andy Wilkinson authored
Closes gh-20511
-
Andy Wilkinson authored
Closes gh-20510
-
Madhura Bhave authored
This commit adds an additional 'layers/configuration' property that can be used to refer to a separate layers configuration file. This separate file defines: * The layers and their order of precedence, * How libraries are handled using filters that match against the coordinates of each library, and * How classes are handled using filters that match against the location of the entry An XSD to validate the XML configuration file is available. Closes gh-20295 Co-authored-by:
Stephane Nicoll <snicoll@pivotal.io>
-
Andy Wilkinson authored
Closes gh-20489
-
- 11 Mar, 2020 10 commits
-
-
Andy Wilkinson authored
Closes gh-20469
-
Andy Wilkinson authored
* gh-20417: Polish "Add clearChecksums to Liquibase auto-configuration" Add clearCheckSums to Liquibase auto configuration Closes gh-20417
-
Andy Wilkinson authored
See gh-20417
-
ferengra authored
Liquibase auto configuration is extended with clearCheckSums to allow to clear all checksums in the current changelog, so they will be recalculated upon the next update. See gh-20417
-
Andy Wilkinson authored
Closes gh-20503
-
Andy Wilkinson authored
Previously, DevToolsDataSourceCondition called getBeanNamesForType(Class) which could trigger unwanted initialization of lazy init singletons and objects created by FactoryBeans. This commit updates DevToolsDataSourceCondition to prohibit eager init when getting the names of the beans of a particular type. Fixes gh-20430
-
Andy Wilkinson authored
Closes gh-20502
-
Andy Wilkinson authored
Closes gh-20501
-
Andy Wilkinson authored
Previously, DependencyCustomizer's ifAllResourcesPresent method would return a customizer that added modules if any of the resources were present. This commit corrects this behaviours so that modules are only added if all resources are present. Fixes gh-20418
-
Stephane Nicoll authored
* pr/20498: Polish Closes gh-20498
-