Skip to content

Commit

Permalink
refactor: move http_server.h to dsn/http (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wu Tao authored Aug 14, 2020
1 parent 40d86f7 commit 53f6d75
Show file tree
Hide file tree
Showing 16 changed files with 15 additions and 15 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/http/http_message_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <dsn/tool-api/rpc_message.h>
#include <dsn/cpp/serialization.h>
#include <dsn/c/api_layer1.h>
#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>
#include <iomanip>

namespace dsn {
Expand Down
2 changes: 1 addition & 1 deletion src/http/http_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// This source code is licensed under the Apache License Version 2.0, which
// can be found in the LICENSE file in the root directory of this source tree.

#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>
#include <dsn/tool_api.h>
#include <boost/algorithm/string.hpp>
#include <fmt/ostream.h>
Expand Down
2 changes: 1 addition & 1 deletion src/http/perf_counter_http_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#pragma once

#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>

namespace dsn {

Expand Down
2 changes: 1 addition & 1 deletion src/http/pprof_http_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#ifdef DSN_ENABLE_GPERF

#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>

namespace dsn {

Expand Down
2 changes: 1 addition & 1 deletion src/http/root_http_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// This source code is licensed under the Apache License Version 2.0, which
// can be found in the LICENSE file in the root directory of this source tree.

#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>
#include <dsn/utility/output_utils.h>
#include <string>

Expand Down
2 changes: 1 addition & 1 deletion src/http/server_info_http_services.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#pragma once

#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>

namespace dsn {

Expand Down
2 changes: 1 addition & 1 deletion src/http/test/http_server_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// This source code is licensed under the Apache License Version 2.0, which
// can be found in the LICENSE file in the root directory of this source tree.

#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>
#include <gtest/gtest.h>

#include "http/http_message_parser.h"
Expand Down
2 changes: 1 addition & 1 deletion src/http/test/perf_counter_http_service_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include <gtest/gtest.h>
#include <dsn/perf_counter/perf_counters.h>
#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>
#include <http/perf_counter_http_service.h>

namespace dsn {
Expand Down
2 changes: 1 addition & 1 deletion src/meta/meta_backup_service.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <dsn/utility/filesystem.h>
#include <dsn/utility/time_utils.h>
#include <dsn/utility/output_utils.h>
#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>

#include "meta_backup_service.h"
#include "meta_service.h"
Expand Down
2 changes: 1 addition & 1 deletion src/meta/meta_backup_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <functional>

#include <dsn/dist/block_service.h>
#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>
#include <dsn/perf_counter/perf_counter_wrapper.h>

#include "meta_data.h"
Expand Down
2 changes: 1 addition & 1 deletion src/meta/meta_http_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <algorithm>

#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>

namespace dsn {
namespace replication {
Expand Down
2 changes: 1 addition & 1 deletion src/meta/meta_service_app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <dsn/dist/replication.h>
#include <dsn/utility/factory_store.h>
#include <dsn/dist/replication/meta_service_app.h>
#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>

#include "distributed_lock_service_simple.h"
#include "meta_state_service_simple.h"
Expand Down
2 changes: 1 addition & 1 deletion src/meta/test/meta_http_service_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include <gtest/gtest.h>
#include <dsn/dist/fmt_logging.h>
#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>

#include "meta/meta_http_service.h"
#include "meta/meta_service.h"
Expand Down
2 changes: 1 addition & 1 deletion src/replica/replica_http_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// This source code is licensed under the Apache License Version 2.0, which
// can be found in the LICENSE file in the root directory of this source tree.

#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>

#include "replica_stub.h"

Expand Down
2 changes: 1 addition & 1 deletion src/replica/replication_service_app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/

#include <dsn/dist/replication/replication_service_app.h>
#include <dsn/tool-api/http_server.h>
#include <dsn/http/http_server.h>

#include "common/replication_common.h"
#include "http/server_info_http_services.h"
Expand Down

0 comments on commit 53f6d75

Please sign in to comment.