stephb9959
2023-02-27 22:17:02 -08:00
parent a7fa58b72a
commit 38b9d6c231
2 changed files with 6 additions and 3 deletions

View File

@@ -38,6 +38,7 @@
#include "framework/RESTAPI_SystemCommand.h"
#include "framework/RESTAPI_WebSocketServer.h"
#include "framework/RESTAPI_SystemConfiguration.h"
namespace OpenWifi {
@@ -45,7 +46,8 @@ namespace OpenWifi {
RESTAPI_ExtRouter(const std::string &Path, RESTAPIHandler::BindingMap &Bindings,
Poco::Logger &L, RESTAPI_GenericServerAccounting &S, uint64_t TransactionId) {
return RESTAPI_Router<
RESTAPI_system_command, RESTAPI_entity_handler, RESTAPI_entity_list_handler,
RESTAPI_system_command, RESTAPI_system_configuration,
RESTAPI_entity_handler, RESTAPI_entity_list_handler,
RESTAPI_contact_handler, RESTAPI_contact_list_handler, RESTAPI_location_handler,
RESTAPI_location_list_handler, RESTAPI_venue_handler, RESTAPI_venue_list_handler,
RESTAPI_inventory_handler, RESTAPI_inventory_list_handler,
@@ -66,7 +68,8 @@ namespace OpenWifi {
RESTAPI_IntRouter(const std::string &Path, RESTAPIHandler::BindingMap &Bindings,
Poco::Logger &L, RESTAPI_GenericServerAccounting &S, uint64_t TransactionId) {
return RESTAPI_Router_I<
RESTAPI_system_command, RESTAPI_entity_handler, RESTAPI_entity_list_handler,
RESTAPI_system_command, RESTAPI_system_configuration, RESTAPI_entity_handler,
RESTAPI_entity_list_handler,
RESTAPI_contact_handler, RESTAPI_contact_list_handler, RESTAPI_location_handler,
RESTAPI_location_list_handler, RESTAPI_venue_handler, RESTAPI_venue_list_handler,
RESTAPI_inventory_handler, RESTAPI_inventory_list_handler,

View File

@@ -663,7 +663,7 @@ case "$1" in
"addoverride") login; addoverride "$2"; logout;;
"deleteoverride") login; deleteoverride "$2"; logout;;
"venueupgraderevisions") login; venueupgraderevisions "$2"; logout;;
"getsystemconfiguration") login; getsystemconfiguration "$2"; logout
"getsystemconfiguration") login; getsystemconfiguration "$2"; logout;;
*) help ;;
esac