summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2019-10-11 01:39:33 +0300
committerEd Tanous <ed.tanous@intel.com>2019-10-18 19:20:11 +0300
commitc94ad49bc747e7a7170287b9f4c859e3638cf432 (patch)
tree17ca83806e5b546f20c3478862fe1aa699e2ae22 /include
parent789771dda22c256afa9e46ffe4c859bb87532af1 (diff)
downloadbmcweb-c94ad49bc747e7a7170287b9f4c859e3638cf432.tar.xz
Make references to crow less obvious
Recently, a number of people in the community have made the (admittedly easy) mistake that we use a significant portion of crow. Today, we use crow for the router, and the "app" structure, and even those have been significantly modified to meet the bmc needs. All other components have been replaced with Boost beast. This commit removes the crow mentions from the Readme, and moves the crow folder to "http" to camouflage it a little. No code content has changed. Tested: Code compiles. No functional change made to any executable code. Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: Iceb57b26306cc8bdcfc77f3874246338864fd118
Diffstat (limited to 'include')
-rw-r--r--include/dbus_monitor.hpp4
-rw-r--r--include/http_utility.hpp2
-rw-r--r--include/image_upload.hpp2
-rw-r--r--include/kvm_websocket.hpp4
-rw-r--r--include/obmc_console.hpp4
-rw-r--r--include/openbmc_dbus_rest.hpp2
-rw-r--r--include/persistent_data_middleware.hpp6
-rw-r--r--include/redfish_v1.hpp2
-rw-r--r--include/security_headers_middleware.hpp4
-rw-r--r--include/sessions.hpp2
-rw-r--r--include/token_authorization_middleware.hpp8
-rw-r--r--include/vm_websocket.hpp4
-rw-r--r--include/webassets.hpp8
13 files changed, 26 insertions, 26 deletions
diff --git a/include/dbus_monitor.hpp b/include/dbus_monitor.hpp
index 8c46cf4f35..662d3c6aa5 100644
--- a/include/dbus_monitor.hpp
+++ b/include/dbus_monitor.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include <crow/app.h>
-#include <crow/websocket.h>
+#include <app.h>
+#include <websocket.h>
#include <boost/container/flat_map.hpp>
#include <boost/container/flat_set.hpp>
diff --git a/include/http_utility.hpp b/include/http_utility.hpp
index b20952b438..6f55c59192 100644
--- a/include/http_utility.hpp
+++ b/include/http_utility.hpp
@@ -1,7 +1,7 @@
#pragma once
#include <boost/algorithm/string.hpp>
-#include "crow/http_request.h"
+#include "http_request.h"
namespace http_helpers
{
diff --git a/include/image_upload.hpp b/include/image_upload.hpp
index 529e0562ae..ba9c403f29 100644
--- a/include/image_upload.hpp
+++ b/include/image_upload.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include <crow/app.h>
+#include <app.h>
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_generators.hpp>
diff --git a/include/kvm_websocket.hpp b/include/kvm_websocket.hpp
index 9fc3926f65..817f7c4a70 100644
--- a/include/kvm_websocket.hpp
+++ b/include/kvm_websocket.hpp
@@ -1,7 +1,7 @@
#pragma once
-#include <crow/app.h>
-#include <crow/websocket.h>
+#include <app.h>
#include <sys/socket.h>
+#include <websocket.h>
#include <boost/container/flat_map.hpp>
#include <webserver_common.hpp>
diff --git a/include/obmc_console.hpp b/include/obmc_console.hpp
index 25f3b39fd8..b8afba6d71 100644
--- a/include/obmc_console.hpp
+++ b/include/obmc_console.hpp
@@ -1,7 +1,7 @@
#pragma once
-#include <crow/app.h>
-#include <crow/websocket.h>
+#include <app.h>
#include <sys/socket.h>
+#include <websocket.h>
#include <boost/container/flat_map.hpp>
#include <boost/container/flat_set.hpp>
diff --git a/include/openbmc_dbus_rest.hpp b/include/openbmc_dbus_rest.hpp
index 749e89952b..93c198e676 100644
--- a/include/openbmc_dbus_rest.hpp
+++ b/include/openbmc_dbus_rest.hpp
@@ -13,7 +13,7 @@
// limitations under the License.
#pragma once
-#include <crow/app.h>
+#include <app.h>
#include <tinyxml2.h>
#include <async_resp.hpp>
diff --git a/include/persistent_data_middleware.hpp b/include/persistent_data_middleware.hpp
index 5d7e97c2c2..c368ab21dc 100644
--- a/include/persistent_data_middleware.hpp
+++ b/include/persistent_data_middleware.hpp
@@ -1,8 +1,8 @@
#pragma once
-#include <crow/app.h>
-#include <crow/http_request.h>
-#include <crow/http_response.h>
+#include <app.h>
+#include <http_request.h>
+#include <http_response.h>
#include <boost/container/flat_map.hpp>
#include <boost/uuid/uuid.hpp>
diff --git a/include/redfish_v1.hpp b/include/redfish_v1.hpp
index f1dbfd26cd..3e97ad1e28 100644
--- a/include/redfish_v1.hpp
+++ b/include/redfish_v1.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include <crow/app.h>
+#include <app.h>
#include <boost/algorithm/string.hpp>
#include <dbus_singleton.hpp>
diff --git a/include/security_headers_middleware.hpp b/include/security_headers_middleware.hpp
index a89acaa603..f60ce766b2 100644
--- a/include/security_headers_middleware.hpp
+++ b/include/security_headers_middleware.hpp
@@ -1,7 +1,7 @@
#pragma once
-#include <crow/http_request.h>
-#include <crow/http_response.h>
+#include <http_request.h>
+#include <http_response.h>
namespace crow
{
diff --git a/include/sessions.hpp b/include/sessions.hpp
index b183a0e9c7..df65d6155d 100644
--- a/include/sessions.hpp
+++ b/include/sessions.hpp
@@ -10,7 +10,7 @@
#include <random>
#include <sdbusplus/bus/match.hpp>
-#include "crow/logging.h"
+#include "logging.h"
namespace crow
{
diff --git a/include/token_authorization_middleware.hpp b/include/token_authorization_middleware.hpp
index 2ff3879bec..0a440501e1 100644
--- a/include/token_authorization_middleware.hpp
+++ b/include/token_authorization_middleware.hpp
@@ -1,9 +1,9 @@
#pragma once
-#include <crow/app.h>
-#include <crow/common.h>
-#include <crow/http_request.h>
-#include <crow/http_response.h>
+#include <app.h>
+#include <common.h>
+#include <http_request.h>
+#include <http_response.h>
#include <boost/container/flat_set.hpp>
#include <pam_authenticate.hpp>
diff --git a/include/vm_websocket.hpp b/include/vm_websocket.hpp
index 648592094e..57a690c205 100644
--- a/include/vm_websocket.hpp
+++ b/include/vm_websocket.hpp
@@ -1,8 +1,8 @@
#pragma once
-#include <crow/app.h>
-#include <crow/websocket.h>
+#include <app.h>
#include <signal.h>
+#include <websocket.h>
#include <boost/beast/core/flat_static_buffer.hpp>
#include <boost/process.hpp>
diff --git a/include/webassets.hpp b/include/webassets.hpp
index daead984fc..aec7dba9a3 100644
--- a/include/webassets.hpp
+++ b/include/webassets.hpp
@@ -1,9 +1,9 @@
#pragma once
-#include <crow/app.h>
-#include <crow/http_request.h>
-#include <crow/http_response.h>
-#include <crow/routing.h>
+#include <app.h>
+#include <http_request.h>
+#include <http_response.h>
+#include <routing.h>
#include <boost/algorithm/string/replace.hpp>
#include <boost/container/flat_set.hpp>