Skip to content
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

Couchbase: Update to latest version, add flushEnabled flag #4041

Merged
merged 6 commits into from
Jun 29, 2021

Conversation

Gerschtli
Copy link
Contributor

Hey folks,

for easier usage for any new user of couchbase I upgraded the couchbase library, so that the snippets in the documentation are up-to-date and simply work :)

Furthermore, I added support for the flushEnabled flag for buckets. Pretty handy option to simplify usage in tests for easier cleanup.

Lastly, I added a communityMode which changes when enabled the storageMode for indexes to forestdb (the only supported mode for community edition).

Thank you all for this great project!

@rnorth
Copy link
Member

rnorth commented Jun 16, 2021

@Gerschtli I hope you don't mind if I resolve the current merge conflicts!

Copy link
Member

@daschl daschl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple comments to update/reduce scope, but overall this looks good to me!

modules/couchbase/build.gradle Outdated Show resolved Hide resolved
@Gerschtli
Copy link
Contributor Author

I removed the community support out of this PR. When this PR is merged, I can open a follow up PR.

Copy link
Member

@daschl daschl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good overall, just one more thing I spotted.

Copy link
Member

@rnorth rnorth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thank you @Gerschtli, and thanks @daschl for your help with this!

@rnorth rnorth changed the title Couchbase: Update to latest version, add flushEnabled, add community edition support Couchbase: Update to latest version, add flushEnabled flag Jun 29, 2021
@rnorth rnorth merged commit 655110a into testcontainers:master Jun 29, 2021
@Gerschtli Gerschtli deleted the update-couchbase branch June 29, 2021 16:38
@Gerschtli
Copy link
Contributor Author

Follow up PR for community support: #4221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants