mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-03 12:08:08 +00:00
Finishing framework refactor.
This commit is contained in:
@@ -8,10 +8,8 @@
|
||||
#ifndef OWPROV_RESTAPI_CONFIGURATIONS_HANDLER_H
|
||||
#define OWPROV_RESTAPI_CONFIGURATIONS_HANDLER_H
|
||||
|
||||
#include "framework/RESTAPI_handler.h"
|
||||
#include "Poco/Net/HTTPServerRequest.h"
|
||||
#include "Poco/Net/HTTPServerResponse.h"
|
||||
#include "RESTAPI_ProvObjects.h"
|
||||
#include "framework/MicroService.h"
|
||||
#include "RESTObjects/RESTAPI_ProvObjects.h"
|
||||
#include "StorageService.h"
|
||||
|
||||
namespace OpenWifi {
|
||||
@@ -25,7 +23,7 @@ namespace OpenWifi {
|
||||
Poco::Net::HTTPRequest::HTTP_OPTIONS},
|
||||
Server,
|
||||
Internal),
|
||||
DB_(Storage()->ConfigurationDB()){}
|
||||
DB_(StorageService()->ConfigurationDB()){}
|
||||
|
||||
static const std::list<const char *> PathName() { return std::list<const char *>{"/api/v1/configurations/{uuid}"}; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user