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:28:46.566000000

Uploaded patch set 5.

-------------------------------------
author: Zackery Barr
date: 2011-04-27 16:48:40.339000000

Patch Set 5: Verified; Looks good to me, approved



-------------------------------------
author: Zackery Barr
date: 2011-04-27 16:48:40.434000000

Change has been successfully cherry-picked as 6f5a60127d3e8a43a5b8528b4c2afc39cf9c0bf5.

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