I’m trying to use the following tool to convert an oracle db to a set of buckets: https://github.com/mahurtado/oracle2couchbase .
One issue I ran into is that it tries to open a bucket with a line like the following:
couchbaseBucket = CouchbaseCluster.create(Arrays.asList(Config.getCbClusterAddress().split(","))) .openBucket(Config.getCbBucketName(), Config.getCbBucketPassword());
This reference to a bucket password threw me for a bit until someone on #couchbase mentioned that this appears to be aimed at version 4.x, which has a password on each bucket. My workaround at the time was to create a user with the same name as the bucket, with that password.
I’ve since realized that I need to create quite a few buckets, and I’m trying to do this in an automated fashion. I’d really prefer to have a single admin user that can do this. Is there a variation of this call that can use the single admin user, instead of the bucket user?