mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2025-12-28 00:04:41 +00:00
67 lines
2.4 KiB
C++
67 lines
2.4 KiB
C++
//
|
|
// Created by stephane bourque on 2021-10-23.
|
|
//
|
|
|
|
#include "RESTAPI/RESTAPI_blacklist.h"
|
|
#include "RESTAPI/RESTAPI_blacklist_list.h"
|
|
#include "RESTAPI/RESTAPI_command.h"
|
|
#include "RESTAPI/RESTAPI_commands.h"
|
|
#include "RESTAPI/RESTAPI_default_configuration.h"
|
|
#include "RESTAPI/RESTAPI_default_configurations.h"
|
|
#include "RESTAPI/RESTAPI_deviceDashboardHandler.h"
|
|
#include "RESTAPI/RESTAPI_device_commandHandler.h"
|
|
#include "RESTAPI/RESTAPI_device_handler.h"
|
|
#include "RESTAPI/RESTAPI_devices_handler.h"
|
|
#include "RESTAPI/RESTAPI_file.h"
|
|
#include "RESTAPI/RESTAPI_ouis.h"
|
|
#include "RESTAPI/RESTAPI_capabilities_handler.h"
|
|
#include "RESTAPI/RESTAPI_telemetryWebSocket.h"
|
|
#include "RESTAPI/RESTAPI_iptocountry_handler.h"
|
|
#include "RESTAPI/RESTAPI_radiusProxyConfig_handler.h"
|
|
#include "framework/RESTAPI_SystemCommand.h"
|
|
#include "framework/RESTAPI_WebSocketServer.h"
|
|
|
|
namespace OpenWifi {
|
|
|
|
Poco::Net::HTTPRequestHandler * RESTAPI_ExtRouter(const std::string &Path, RESTAPIHandler::BindingMap &Bindings,
|
|
Poco::Logger & L, RESTAPI_GenericServerAccounting & S, uint64_t TransactionId) {
|
|
|
|
return RESTAPI_Router<
|
|
RESTAPI_devices_handler,
|
|
RESTAPI_device_handler,
|
|
RESTAPI_device_commandHandler,
|
|
RESTAPI_default_configurations,
|
|
RESTAPI_default_configuration,
|
|
RESTAPI_command,
|
|
RESTAPI_commands,
|
|
RESTAPI_ouis,
|
|
RESTAPI_file,
|
|
RESTAPI_system_command,
|
|
RESTAPI_deviceDashboardHandler,
|
|
RESTAPI_webSocketServer,
|
|
RESTAPI_blacklist,
|
|
RESTAPI_blacklist_list,
|
|
RESTAPI_iptocountry_handler,
|
|
RESTAPI_radiusProxyConfig_handler,
|
|
RESTAPI_capabilities_handler, RESTAPI_telemetryWebSocket>(Path,Bindings,L, S, TransactionId);
|
|
}
|
|
|
|
Poco::Net::HTTPRequestHandler * RESTAPI_IntRouter(const std::string &Path, RESTAPIHandler::BindingMap &Bindings,
|
|
Poco::Logger & L, RESTAPI_GenericServerAccounting & S, uint64_t TransactionId) {
|
|
|
|
return RESTAPI_Router_I<
|
|
RESTAPI_devices_handler,
|
|
RESTAPI_device_handler,
|
|
RESTAPI_device_commandHandler,
|
|
RESTAPI_default_configurations,
|
|
RESTAPI_default_configuration,
|
|
RESTAPI_command,
|
|
RESTAPI_commands,
|
|
RESTAPI_ouis,
|
|
RESTAPI_file,
|
|
RESTAPI_blacklist,
|
|
RESTAPI_iptocountry_handler,
|
|
RESTAPI_radiusProxyConfig_handler,
|
|
RESTAPI_blacklist_list>(Path,Bindings,L, S, TransactionId);
|
|
}
|
|
} |