mirror of
https://github.com/Telecominfraproject/wlan-cloud-owls.git
synced 2026-01-27 10:22:52 +00:00
35 lines
1.4 KiB
C++
35 lines
1.4 KiB
C++
//
|
|
// Created by stephane bourque on 2021-10-23.
|
|
//
|
|
|
|
#include "framework/MicroService.h"
|
|
#include "RESTAPI/RESTAPI_deviceDashboardHandler.h"
|
|
#include "RESTAPI/RESTAPI_operation_handler.h"
|
|
#include "RESTAPI/RESTAPI_results_handler.h"
|
|
#include "RESTAPI/RESTAPI_simulation_handler.h"
|
|
#include "RESTAPI/RESTAPI_status_handler.h"
|
|
|
|
namespace OpenWifi {
|
|
|
|
Poco::Net::HTTPRequestHandler * RESTAPI_ExtRouter(const char *Path, RESTAPIHandler::BindingMap &Bindings,
|
|
Poco::Logger & L, RESTAPI_GenericServer & S, uint64_t TransactionId) {
|
|
return RESTAPI_Router<
|
|
RESTAPI_system_command,
|
|
RESTAPI_deviceDashboardHandler,
|
|
RESTAPI_operation_handler,
|
|
RESTAPI_results_handler,
|
|
RESTAPI_simulation_handler,
|
|
RESTAPI_status_handler
|
|
>(Path,Bindings,L, S, TransactionId);
|
|
}
|
|
|
|
Poco::Net::HTTPRequestHandler * RESTAPI_IntRouter(const char *Path, RESTAPIHandler::BindingMap &Bindings,
|
|
Poco::Logger & L, RESTAPI_GenericServer & S, uint64_t TransactionId) {
|
|
return RESTAPI_Router_I<
|
|
RESTAPI_operation_handler,
|
|
RESTAPI_results_handler,
|
|
RESTAPI_simulation_handler,
|
|
RESTAPI_system_command
|
|
>(Path, Bindings, L, S, TransactionId);
|
|
}
|
|
} |