From f6dd3750911109fc29d70dbf886c0f4dc43d2957 Mon Sep 17 00:00:00 2001 From: Gaurav Sitlani Date: Wed, 10 Feb 2021 00:54:41 +0530 Subject: [PATCH] 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 --- doc/radosgw/config-ref.rst | 2 +- doc/radosgw/notifications.rst | 1 + doc/radosgw/pubsub-module.rst | 2 ++ src/common/options.cc | 2 +- src/rgw/rgw_main.cc | 2 +- 5 files changed, 6 insertions(+), 3 deletions(-) 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 3747af34a79..c159182aa91 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 36838a67237..1e77c3f6f5d 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 3412f92d994..62bafdb510f 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5721,7 +5721,7 @@ std::vector