DESCRIPTION

added more helper methods to restclient

added more helper methods to restclient and RestHelper

added these methods :
init_cluster : to initialize the cluster
fail_over : to failover a node
get_nodes_self : invoke nodes/self and returns Node object
get_buckets : invokes get_buckets and returns list of BucketInfo
create_bucket : fixed this method to set the right authType
for default bucket
added parse_get_nodes_response method to parse get_nodes
response and turn it into list of NodeInfo objects

Change-Id: I486dfb5938f619649818b40730987102b4c97124


COMMENTS

author: Zackery Barr
date: 2011-04-27 16:08:40.498000000

Uploaded patch set 4.

-------------------------------------
