mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralfms.git
synced 2026-03-20 03:40:59 +00:00
47 lines
1.9 KiB
C++
47 lines
1.9 KiB
C++
//
|
|
// Created by stephane bourque on 2021-10-23.
|
|
//
|
|
|
|
#include "framework/MicroService.h"
|
|
|
|
#include "RESTAPI/RESTAPI_firmwareHandler.h"
|
|
#include "RESTAPI/RESTAPI_firmwaresHandler.h"
|
|
#include "RESTAPI/RESTAPI_firmwareAgeHandler.h"
|
|
#include "RESTAPI/RESTAPI_connectedDeviceHandler.h"
|
|
#include "RESTAPI/RESTAPI_connectedDevicesHandler.h"
|
|
#include "RESTAPI/RESTAPI_historyHandler.h"
|
|
#include "RESTAPI/RESTAPI_deviceReportHandler.h"
|
|
#include "RESTAPI/RESTAPI_deviceInformation_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_firmwaresHandler,
|
|
RESTAPI_firmwareHandler,
|
|
RESTAPI_system_command,
|
|
RESTAPI_firmwareAgeHandler,
|
|
RESTAPI_connectedDevicesHandler,
|
|
RESTAPI_connectedDeviceHandler,
|
|
RESTAPI_historyHandler,
|
|
RESTAPI_deviceReportHandler,
|
|
RESTAPI_deviceInformation_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_firmwaresHandler,
|
|
RESTAPI_firmwareHandler,
|
|
RESTAPI_system_command,
|
|
RESTAPI_firmwareAgeHandler,
|
|
RESTAPI_connectedDevicesHandler,
|
|
RESTAPI_connectedDeviceHandler,
|
|
RESTAPI_historyHandler,
|
|
RESTAPI_deviceReportHandler,
|
|
RESTAPI_deviceInformation_handler
|
|
>(Path, Bindings, L, S, TransactionId);
|
|
}
|
|
} |