-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Add Couchbase support #3499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Couchbase support #3499
Conversation
<exclusions> | ||
<exclusion> | ||
<artifactId>jcl-over-slf4j</artifactId> | ||
<groupId>org.slf4j</groupId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please swap those (groupId
first)
@eddumelendez @snicoll since the |
@simonbasle I will update the PR fixing @snicoll comments and I will create another branch moving to |
coming back to this today, it looks to me like the |
@simonbasle Currently using <dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-releasetrain</artifactId>
<version>${spring-data-releasetrain.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency> In which version will be |
@eddumelendez we'd like to merge this PR and it won't be in the Spring Data release train before the next major so you'll need to add the dependency yourself in |
@eddumelendez it won't be part of the official Spring Data release train before Hopper... Current version is @snicoll when is the RC1 deadline for the next Spring Boot version? I wonder if it is ok to include a Milestone version in it... And the current code is close to a state where at least a M2 could be released... |
When is your RC scheduled? Ours is in two weeks. |
with the Page, Slice and PagingAndSortingRepository support that I just added, I think we can schedule a RC in 1 to 2 weeks as well... however I'm not sure that @olivergierke is available to do that in the next two weeks :( |
I will submit the update to this PR tonight, at my time 😄 |
3762a03
to
e6e9a67
Compare
PR has been updated :) |
Thanks for you hard word Eddu. @simonbasle I discussed this matter with @wilkinsona and we need a stable couchebase release for our release candidate so I am afraid it won't happen for 1.3. We may consider it for a point release though. |
@snicoll ah I see, too bad 💔 I'll work toward a stable release of SDC... a new version (at least a milestone) is needed anyway since we must rely on a Couchbase SDK release that is available on Maven Central (as pointed out by the CI error)... @eddumelendez thanks for the 🎁 of PR 😃, looks like there's a tiny bit more work to do, I'll keep you updated |
(tracking the issue of |
👍 |
e6e9a67
to
0a245a4
Compare
@simonbasle what's the status on the couchbase SDK? |
@snicoll we are pretty much ready for a |
b674fd8
to
8ecd16a
Compare
PR has been updated with the RC, couchbase validator added, HealthIndicator has been added too. :) |
8ecd16a
to
be1b10c
Compare
PR has been updated with version 2.0.0.RELEASE. |
protected static class CouchbaseConfiguration { | ||
|
||
@Bean | ||
public CouchbaseOperations cassandraOperations() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo there method name should be couchbaseOperations
😉
@@ -273,6 +274,11 @@ | |||
</dependency> | |||
<dependency> | |||
<groupId>org.springframework.boot</groupId> | |||
<artifactId>spring-boot-starter-data-couchbase</artifactId> | |||
<version>1.4.0.BUILD-SNAPSHOT</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@snicoll have a doubt about this version number being relevant. should the version of a spring-boot couchbase starter be in sync with the spring data version number or the current spring boot version number?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope. What you're suggesting would be a nightmare IMO ;-) All "official" Spring Boot starters have the same version: the version of Spring Boot you're using.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, makes sense
look good to me, 👍 and thanks for doing that @eddumelendez! |
I am trying to run the sample and I can't manage to get it working. I've started to document how to create the |
@snicoll maybe it has to do with the consistency of the view? views can take a small amount of time indexing new data and can return stale data by default (see |
* pr/3499: Polish contribution Add Couchbase support
Add Couchbase Auto-Configuration support for entities and repositories.