mirror of
				https://github.com/Telecominfraproject/wlan-cloud-owprov.git
				synced 2025-10-30 18:18:03 +00:00 
			
		
		
		
	Refactoring and adding VariableBlocks.
This commit is contained in:
		| @@ -5,6 +5,7 @@ | ||||
| #pragma once | ||||
|  | ||||
| #include "framework/MicroService.h" | ||||
| #include "StorageService.h" | ||||
|  | ||||
| namespace OpenWifi { | ||||
|  | ||||
| @@ -17,9 +18,11 @@ namespace OpenWifi { | ||||
|             Poco::Net::HTTPRequest::HTTP_OPTIONS}, | ||||
|             Server, | ||||
|             TransactionId, | ||||
|             Internal) {} | ||||
|             Internal), | ||||
|             DB_(StorageService()->LocationDB()){} | ||||
|         static const std::list<const char *> PathName() { return std::list<const char *>{"/api/v1/location"}; }; | ||||
|  | ||||
|     private: | ||||
|         LocationDB  & DB_; | ||||
|         void DoGet() final; | ||||
|         void DoPost() final {}; | ||||
|         void DoPut() final {}; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959