mirror of
https://github.com/Telecominfraproject/wlan-cloud-analytics.git
synced 2026-03-20 03:39:59 +00:00
40 lines
1.7 KiB
C++
40 lines
1.7 KiB
C++
//
|
|
// Created by stephane bourque on 2021-10-23.
|
|
//
|
|
|
|
#include "framework/MicroService.h"
|
|
#include "RESTAPI/RESTAPI_board_list_handler.h"
|
|
#include "RESTAPI/RESTAPI_board_handler.h"
|
|
#include "RESTAPI/RESTAPI_board_devices_handler.h"
|
|
#include "RESTAPI/RESTAPI_board_timepoint_handler.h"
|
|
#include "RESTAPI/RESTAPI_wificlienthistory_handler.h"
|
|
|
|
namespace OpenWifi {
|
|
|
|
Poco::Net::HTTPRequestHandler * RESTAPI_ExtRouter(const std::string &Path, RESTAPIHandler::BindingMap &Bindings,
|
|
Poco::Logger & L, RESTAPI_GenericServer & S,
|
|
uint64_t TransactionId) {
|
|
return RESTAPI_Router<
|
|
RESTAPI_system_command,
|
|
RESTAPI_board_devices_handler,
|
|
RESTAPI_board_timepoint_handler,
|
|
RESTAPI_board_handler,
|
|
RESTAPI_board_list_handler,
|
|
RESTAPI_wificlienthistory_handler
|
|
>(Path,Bindings,L, S, TransactionId);
|
|
}
|
|
|
|
Poco::Net::HTTPRequestHandler * RESTAPI_IntRouter(const std::string &Path, RESTAPIHandler::BindingMap &Bindings,
|
|
Poco::Logger & L, RESTAPI_GenericServer & S,
|
|
uint64_t TransactionId) {
|
|
return RESTAPI_Router_I<
|
|
RESTAPI_system_command,
|
|
RESTAPI_board_devices_handler,
|
|
RESTAPI_board_timepoint_handler,
|
|
RESTAPI_board_handler,
|
|
RESTAPI_board_list_handler,
|
|
RESTAPI_wificlienthistory_handler
|
|
>(Path, Bindings, L, S, TransactionId);
|
|
}
|
|
|
|
} |