Refactor namespaces part 2 (#820)

Part 2 of refactoring effort
This commit is contained in:
Peter Chen
2023-08-11 12:00:31 -04:00
committed by GitHub
parent 23442ff1a7
commit 696b1a585c
61 changed files with 188 additions and 108 deletions

View File

@@ -20,8 +20,8 @@
#include <rpc/common/impl/HandlerProvider.h>
#include <etl/ETLService.h>
#include <feed/SubscriptionManager.h>
#include <rpc/Counters.h>
#include <subscriptions/SubscriptionManager.h>
#include <rpc/handlers/AccountChannels.h>
#include <rpc/handlers/AccountCurrencies.h>
@@ -58,9 +58,9 @@ namespace RPC::detail {
ProductionHandlerProvider::ProductionHandlerProvider(
util::Config const& config,
std::shared_ptr<BackendInterface> const& backend,
std::shared_ptr<SubscriptionManager> const& subscriptionManager,
std::shared_ptr<LoadBalancer> const& balancer,
std::shared_ptr<ETLService const> const& etl,
std::shared_ptr<feed::SubscriptionManager> const& subscriptionManager,
std::shared_ptr<etl::LoadBalancer> const& balancer,
std::shared_ptr<etl::ETLService const> const& etl,
Counters const& counters)
: handlerMap_{
{"account_channels", {AccountChannelsHandler{backend}}},