rgw_user: Create RGWUser class.

Clean up the existing user operations in order to support a RESTful user
management api.

Signed-off-by: caleb miles <caleb.miles@inktank.com>
rgw_bucket: Create RGWBucket class.

Clean up the existing bucket operations in order to support a RESTful
bucket management api.

Signed-off-by: caleb miles <caleb.miles@inktank.com>
rgw: remove all extern declarations of rgw_bucket.cc

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: RGWBucket cleanups

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw_rest_user: Create RESTful interface for administrative user operations.

Allow for user creation, modification, and removal through the
Admin API. Also exposes a user's access keys, subuers, and admin
capabilities as subresources to the RESTful /{admin}/user endpoint.

Signed-off-by: caleb miles <caleb.miles@inktank.com>
rgw_rest_bucket: Create RESTful interface for admin bucket operations.

Allow for bucket removal, linking, un-linking, policy retrieval, object
removal, and index repair through the Admin API. Also exposes a bucket's
index, objects, and policy as subresources to the RESTful /{admin}/bucket
endpoint.

Signed-off-by: caleb miles <caleb.miles@inktank.com>
rgw: admin bucket handler, fix remove object

subresource should be 'object' and not 'objects'.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw_admin.cc: fix flusher initialization

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: admin, user creation is idempotent

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw_admin: fix check

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: fix bucket stats

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: RGWUser fixes

Don't initialize in the constructor as it may fail. Other fixes.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: RGWUser, fix user modify

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: remove dead block

This was left aside while doing a manual merge, but apparently the
code in question was already incorporated.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: RGWUser, RGWBucket, cleanups

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: move stuff off the heap

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: fix a few issues related to radosgw-admin user create/modify

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: admin, only init user structure on user ops

This fixes radosgw-admin bucket operations.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: fix bucket link

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
rgw: admin, fix object rm, object unlink

Broken due to recent changes in radosgw-admin.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>