mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2026-01-11 22:35:13 +00:00
WIFI-14588: Cloud Package manager
1. Added package north/south bound API for package listing/installing/deleting 2. Added modified openapi schema for swagger Signed-off-by: Kumiko18 <alex18_huang@accton.com>
This commit is contained in:
@@ -155,7 +155,13 @@ namespace OpenWifi::RESTAPI_RPC {
|
||||
auto ScanObj = rpc_answer->get(uCentralProtocol::RESULT)
|
||||
.extract<Poco::JSON::Object::Ptr>();
|
||||
ParseWifiScan(ScanObj, ResultText, Logger);
|
||||
} else {
|
||||
}
|
||||
// else if (Cmd.Command == uCentralProtocol::PACKAGE) {
|
||||
// auto PkgObj = rpc_answer->get(uCentralProtocol::RESULT)
|
||||
// .extract<Poco::JSON::Object::Ptr>();
|
||||
// ParsePackageList(PkgObj, ResultText, Logger);
|
||||
// }
|
||||
else {
|
||||
Poco::JSON::Stringifier::stringify(rpc_answer->get(uCentralProtocol::RESULT),
|
||||
ResultText);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user