Details
Description
Implement a "Compact" button for each bucket. Similarly to "Documents" "Views" or "Edit". Not sure if it should be inside details (as edit) or outside (as views and docs).
Clicking button should find controllers.compactAll property of bucket info and send empty POST to URL listed there. It will be something that looks like /pools/default/buckets/default/controllers/compactBucket.
E.g.: http://i.imgur.com/wykQp.png
And:
wget --user=Administrator --password=asdasd http://lh:9000/pools/default/buckets/default/controller/compactBucket --post-data=""
Clicking button should find controllers.compactAll property of bucket info and send empty POST to URL listed there. It will be something that looks like /pools/default/buckets/default/controllers/compactBucket.
E.g.: http://i.imgur.com/wykQp.png
And:
wget --user=Administrator --password=asdasd http://lh:9000/pools/default/buckets/default/controller/compactBucket --post-data=""
MB-5617: Implement Compact button for buckets (Revision fa4698cc23f4f06ec3c707f41fc07dd8a2ddf2f0)Result = SUCCESS
Aliaksey Kandratsenka :
Files :
* priv/public/js/buckets.js
* priv/public/index.html