]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: rename frontend from asio to beast 14273/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 28 Apr 2017 13:56:06 +0000 (09:56 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 5 May 2017 14:12:35 +0000 (10:12 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
CMakeLists.txt
src/include/config-h.in.cmake
src/rgw/CMakeLists.txt
src/rgw/rgw_main.cc

index 587ad337a4ca54ce2a4a6daeaf829463dd58be90..fd98fffdd1ef6dcdc509c20c9441b36e531b54d8 100644 (file)
@@ -340,7 +340,7 @@ endif(WITH_DPDK)
 #option for RGW
 option(WITH_RADOSGW "Rados Gateway is enabled" ON)
 option(WITH_RADOSGW_FCGI_FRONTEND "Rados Gateway's FCGI frontend is enabled" ON)
-option(WITH_RADOSGW_ASIO_FRONTEND "Rados Gateway's ASIO frontend is enabled" ON)
+option(WITH_RADOSGW_BEAST_FRONTEND "Rados Gateway's Beast frontend is enabled" ON)
 if(WITH_RADOSGW)
   find_package(EXPAT REQUIRED)
   if(WITH_RADOSGW_FCGI_FRONTEND)
index a3d8bd8ffd52b64e633101b4fa5db7c14a0c18ed..d6768f8b666fdb617519e7f25490eb4aaf16ea24 100644 (file)
 /* define if leveldb is enabled */
 #cmakedefine WITH_LEVELDB
 
-/* define if radosgw's asio frontend enabled */
-#cmakedefine WITH_RADOSGW_ASIO_FRONTEND
+/* define if radosgw's beast frontend enabled */
+#cmakedefine WITH_RADOSGW_BEAST_FRONTEND
 
 /* define if HAVE_THREAD_SAFE_RES_QUERY */
 #cmakedefine HAVE_THREAD_SAFE_RES_QUERY
index b95a4f2b043d2eb9b8715341fd5b3d98ff513789..ede95a5bd8e7fafde8e238d00ab775a68d1a42be 100644 (file)
@@ -135,11 +135,11 @@ if (WITH_RADOSGW_FCGI_FRONTEND)
   list(APPEND radosgw_srcs rgw_fcgi_process.cc)
 endif()
 
-if (WITH_RADOSGW_ASIO_FRONTEND)
+if (WITH_RADOSGW_BEAST_FRONTEND)
   list(APPEND radosgw_srcs
     rgw_asio_client.cc
     rgw_asio_frontend.cc)
-endif (WITH_RADOSGW_ASIO_FRONTEND)
+endif (WITH_RADOSGW_BEAST_FRONTEND)
 
 add_library(radosgw_a STATIC ${radosgw_srcs}
   $<TARGET_OBJECTS:civetweb_common_objs>)
index e4fafeff04bfba6d0290b16fdf3b92ac2e2a0996..01ef5556c221cc5e617bd6caa204f23b83ccb379 100644 (file)
@@ -53,9 +53,9 @@
 #include "rgw_request.h"
 #include "rgw_process.h"
 #include "rgw_frontend.h"
-#if defined(WITH_RADOSGW_ASIO_FRONTEND)
+#if defined(WITH_RADOSGW_BEAST_FRONTEND)
 #include "rgw_asio_frontend.h"
-#endif /* WITH_RADOSGW_ASIO_FRONTEND */
+#endif /* WITH_RADOSGW_BEAST_FRONTEND */
 
 #include <map>
 #include <string>
@@ -488,9 +488,9 @@ int main(int argc, const char **argv)
 
       fe = new RGWLoadGenFrontend(env, config);
     }
-#if defined(WITH_RADOSGW_ASIO_FRONTEND)
-    else if ((framework == "asio") &&
-       cct->check_experimental_feature_enabled("rgw-asio-frontend")) {
+#if defined(WITH_RADOSGW_BEAST_FRONTEND)
+    else if ((framework == "beast") &&
+       cct->check_experimental_feature_enabled("rgw-beast-frontend")) {
       int port;
       config->get_val("port", 80, &port);
       std::string uri_prefix;
@@ -498,7 +498,7 @@ int main(int argc, const char **argv)
       RGWProcessEnv env{ store, &rest, olog, port, uri_prefix, auth_registry };
       fe = new RGWAsioFrontend(env);
     }
-#endif /* WITH_RADOSGW_ASIO_FRONTEND */
+#endif /* WITH_RADOSGW_BEAST_FRONTEND */
 #if defined(WITH_RADOSGW_FCGI_FRONTEND)
     else if (framework == "fastcgi" || framework == "fcgi") {
       std::string uri_prefix;