Framework update.

This commit is contained in:
stephb9959
2022-05-12 08:49:58 -07:00
parent 1ba4bda798
commit db9a184014
3 changed files with 7 additions and 9 deletions

2
build
View File

@@ -1 +1 @@
53
54

View File

@@ -206,15 +206,14 @@ namespace OpenWifi {
{"operation", "emailVerified"}
},
Body,30000);
Logger().information(fmt::format("({}): Completed subscriber e-mail verification and password.",UInfo.email));
Poco::JSON::Object::Ptr Response;
auto Status = ProvRequest.Do(Response);
std::stringstream ooo;
if(Response!= nullptr)
Response->stringify(ooo);
Logger().information(fmt::format("({}): Status: {}, Completed subscriber e-mail verification. Provisioning notified. {}",
UInfo.email, Status, ooo.str()));
Logger().information(fmt::format("({}): Completed subscriber e-mail verification. Provisioning notified, Error={}.",
UInfo.email, Status));
SendHTMLFileBack(FormFile,FormVars);
Logger().information(fmt::format("({}): Completed subscriber e-mail verification. FORM notified.",UInfo.email));
} else {

View File

@@ -4389,7 +4389,7 @@ namespace OpenWifi {
Path,
Poco::Net::HTTPMessage::HTTP_1_1);
Poco::Logger::get("REST-CALLER-GET").information(fmt::format(" {}", URI.toString()));
Poco::Logger::get("REST-CALLER-GET").debug(fmt::format(" {}", URI.toString()));
if(BearerToken.empty()) {
Request.add("X-API-KEY", Svc.AccessKey);
@@ -4441,14 +4441,13 @@ namespace OpenWifi {
for(auto const &Svc:Services) {
Poco::URI URI(Svc.PrivateEndPoint);
auto Secure = (URI.getScheme() == "https");
URI.setPath(EndPoint_);
for (const auto &qp : QueryData_)
URI.addQueryParameter(qp.first, qp.second);
Poco::Logger::get("REST-CALLER-PUT").information(fmt::format("{}", URI.toString()));
Poco::Logger::get("REST-CALLER-PUT").debug(fmt::format("{}", URI.toString()));
std::string Path(URI.getPathAndQuery());
@@ -4527,7 +4526,7 @@ namespace OpenWifi {
for (const auto &qp : QueryData_)
URI.addQueryParameter(qp.first, qp.second);
Poco::Logger::get("REST-CALLER-POST").information(fmt::format(" {}", URI.toString()));
Poco::Logger::get("REST-CALLER-POST").debug(fmt::format(" {}", URI.toString()));
std::string Path(URI.getPathAndQuery());
@@ -4603,7 +4602,7 @@ namespace OpenWifi {
for (const auto &qp : QueryData_)
URI.addQueryParameter(qp.first, qp.second);
Poco::Logger::get("REST-CALLER-DELETE").information(fmt::format(" {}", URI.toString()));
Poco::Logger::get("REST-CALLER-DELETE").debug(fmt::format(" {}", URI.toString()));
std::string Path(URI.getPathAndQuery());