The rgw_admin_curl.sh script will allow end-user/developers to
access RGW admin APIs through curl command.
Signed-off-by: Prashant D <pdhange@redhat.com>
Admins may setup different pools for RGW objects and
having the StorageClass field mutable allows the steering
of RGW objects to the proper pools. This Lua example shows
how a user can modify the StorageClass header when
it is empty on a PUT request and steer objects to different
pools based on size (Request.ContentLength).
Signed-off-by: Curt Bruns <curt.e.bruns@gmail.com>
Add examples on how to use lua scripting to push request fields from the RGW to Elasticsearch and Prometheus.
Signed-off-by: Zulai Wang <zl31wang@gmail.com>
example on how to use 'lua scripting' feature to add NATS
to the list of bucket notification endpoints
depends on PR: #41927 and #42102
Signed-off-by: Matan Breizman <Matan.Brz@gmail.com>
added examples on how to fetch attributes of a specific topic
add explanation on SNS signature version
Fixes: https://tracker.ceph.com/issues/46243
Signed-off-by: dorindabassey <dorindabassey@gmail.com>
Co-authored-by: Yuval Lifshitz <ylifshit@redhat.com>
Make the quota settings visible to s3 and swift users
rgw send headers of quota settings
Fixes: https://tracker.ceph.com/issues/47752
Signed-off-by: Or Friedmann <ofriedma@redhat.com>
facilitates the full usage of the Nginx cache endpoint
with s3 tools that support AWSv4
like s3cmd,aws-cli, benchmarking tools like hsbench
and also hadoop/s3a.
Co-authored-by: Or Friedmann <ofriedma@redhat.com>
Signed-off-by: Mark Kogan <mkogan@redhat.com>
Put Object takes a `--append` `--append-position` params which allows for
appendable objects. Also PutObject api response has a AppendPosition output
which displays the next position to append to
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
For backwards compatibility and upgrade reasons, the librados2
API needs to be preserved and it needs to continue to be compatible
with dependent libraries like librbd1.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
If the 'if' clause ends executing a goto, there is no need for an else
clause that only prints a message about the success of the action.
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
If the 'if' clause ends executing a goto, there is no need for an else
clause that only prints a message about the success of the action.
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
109e6022be introduced "-lboost_system" into
example/librados/Makefile but the Boost system library is no longer required
to compile and link hello_world.cc.
Fixes: http://tracker.ceph.com/issues/25054
Signed-off-by: Nathan Cutler <ncutler@suse.com>
The library link order in librados example Makefile is incorrect
and as a result 'make' throws an error. This change fixes the order.
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
/bin/bash is a Linuxism. Other operating systems install bash to
different paths. Use /usr/bin/env in shebangs to find bash.
Signed-off-by: Alan Somers <asomers@gmail.com>
Fixes#15100. The Makefile now by default links and includes from the
current source tree's librados and offers another option for building
examples against the system's.
Signed-off-by: Jesse Williamson <nerd.cpp@gmail.com>
Copy contents of bufferlist to a string before sending to stdout since a
bufferlist is not null terminated.
Fixes: #7822
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>