Skip to content

Commit

Permalink
MB-8604 changed REST api url in cluster_connect
Browse files Browse the repository at this point in the history
...for default bucket creation call to adhere to the
changes made for MB-7720

Change-Id: I488deb852acf188c8e4ff6dfc1e379c6f96f633a
Reviewed-on: http://review.couchbase.org/27430
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
  • Loading branch information
vzasade committed Jul 15, 2013
1 parent eb59ed3 commit a3cae4a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cluster_connect
Expand Up @@ -72,8 +72,11 @@ def main():

o.open("http://127.0.0.1:{0}/pools/default".format(base_port),
"memoryQuota=" + str(memsize)).read()
o.open("http://127.0.0.1:{0}/controller/setupDefaultBucket".format(base_port),
"bucketType=" + buckettype +
o.open("http://127.0.0.1:{0}/pools/default/buckets".format(base_port),
"name=default" +
"&authType=sasl" +
"&saslPassword=" +
"&bucketType=" + buckettype +
"&ramQuotaMB=" + str(memsize) +
"&replicaNumber=" + str(replicas) +
"&replicaIndex=" + bool_request_value(replica_index)).read()
Expand Down

0 comments on commit a3cae4a

Please sign in to comment.