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

CouchbaseContainer fixes #830

Merged
merged 2 commits into from
Sep 5, 2018

Conversation

klara-l
Copy link
Contributor

@klara-l klara-l commented Aug 12, 2018

  • removed example buckets
  • added missing withClusterUsername method
  • fixed capi port mapping:
    the environment patching was removed from the couchbase docker container.
    couchbase/docker@86e665b#diff-8941c93c7af57eff48058be15eb5ecff
  • updated container from 5.1.0 to 5.1.1

@klara-l
Copy link
Contributor Author

klara-l commented Aug 12, 2018

will rebase when #829 is merged.

@bsideup bsideup added this to the next milestone Aug 13, 2018
@bsideup bsideup self-assigned this Aug 13, 2018
@@ -67,12 +61,11 @@
@AllArgsConstructor
public class CouchbaseContainer extends GenericContainer<CouchbaseContainer> {

public static final String VERSION = "5.1.0";
public static final String VERSION = "5.1.1";
Copy link
Member

Choose a reason for hiding this comment

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

any reason we stick to 5.1.1 here? 5.5.0 is out. Is there a reason it is not using latest if not otherwise specified explicitly by the user?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

api compatibility. But this release will have breaking changes anyway for couchbase containers, so why not

Copy link
Member

Choose a reason for hiding this comment

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

👍

@@ -392,6 +358,11 @@ public CouchbaseContainer withIndexMemoryQuota(String indexMemoryQuota) {
return self();
}

public CouchbaseContainer withClusterUsername(String clusterUsername) {
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if this should be withAdminUsername / withAdminPassword ? to distinguish it from real RBAC users

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I like the word cluster for this context. it allows me to manage the whole thing.

Copy link
Member

Choose a reason for hiding this comment

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

what about ClusterAdmin ? makes both the scope and the role clear.

@@ -1,94 +0,0 @@
package org.testcontainers.containers;
Copy link
Member

Choose a reason for hiding this comment

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

is this an unrelated change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there are a lot of changes coming from @bsideup's pr

bsideup and others added 2 commits September 4, 2018 12:30
- removed example buckets
- added withClusterAdmin method
- fixed capi port mapping:
  the environment patching was removed from the couchbase docker container.
  couchbase/docker@86e665b#diff-8941c93c7af57eff48058be15eb5ecff
- updated container from 5.1.0 to 5.5.1
@bsideup bsideup changed the title couchbase container fixes CouchbaseContainer fixes Sep 5, 2018
@bsideup bsideup merged commit ac05988 into testcontainers:master Sep 5, 2018
@rnorth
Copy link
Member

rnorth commented Sep 10, 2018

We have this out in a Release Candidate build (1.9.0-rc1) for anyone who is keen to try it!

Release notes

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

Successfully merging this pull request may close these issues.

None yet

4 participants