From: Gaurav Sitlani Date: Tue, 9 Feb 2021 19:24:41 +0000 (+0530) Subject: doc: added missing documentation on "pubsub" in rgw_enable_apis X-Git-Tag: v16.2.0~49^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F40258%2Fhead;p=ceph.git doc: added missing documentation on "pubsub" in rgw_enable_apis Fixes: https://tracker.ceph.com/issues/49203 Adding support for the term "notifications" in rgw_enable_apis Signed-off-by: Gaurav Sitlani (cherry picked from commit f6dd3750911109fc29d70dbf886c0f4dc43d2957) --- diff --git a/doc/radosgw/config-ref.rst b/doc/radosgw/config-ref.rst index 4426b3563d1..e9d419fd3c0 100644 --- a/doc/radosgw/config-ref.rst +++ b/doc/radosgw/config-ref.rst @@ -40,7 +40,7 @@ instances or all radosgw-admin options can be put into the ``[global]`` or the participate in a `multi-site <../multisite>`_ configuration. :Type: String -:Default: ``s3, swift, swift_auth, admin`` All APIs. +:Default: ``s3, s3website, swift, swift_auth, admin, sts, iam, notifications`` All APIs. ``rgw_cache_enabled`` diff --git a/doc/radosgw/notifications.rst b/doc/radosgw/notifications.rst index bda5e0e9731..adf0d4d93a3 100644 --- a/doc/radosgw/notifications.rst +++ b/doc/radosgw/notifications.rst @@ -29,6 +29,7 @@ mechanism. This API is similar to the one defined as the S3-compatible API of th S3 Bucket Notification Compatibility +.. note:: To enable bucket notifications API, the `rgw_enable_apis` configuration parameter should contain: "notifications". Notification Reliability ------------------------ diff --git a/doc/radosgw/pubsub-module.rst b/doc/radosgw/pubsub-module.rst index e2eaac7c8e2..c1b8e4cd553 100644 --- a/doc/radosgw/pubsub-module.rst +++ b/doc/radosgw/pubsub-module.rst @@ -38,6 +38,8 @@ be accessed directly, but need to be pulled and acked using the new REST API. S3 Bucket Notification Compatibility +.. note:: To enable bucket notifications API, the `rgw_enable_apis` configuration parameter should contain: "notifications". + PubSub Zone Configuration ------------------------- diff --git a/src/common/options.cc b/src/common/options.cc index e315b267a2a..5a4079290b4 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5729,7 +5729,7 @@ std::vector