File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.13 )
2- project (owsec VERSION 2.11 .0)
2+ project (owsec VERSION 3.0 .0)
33
44set (CMAKE_CXX_STANDARD 17)
55
Original file line number Diff line number Diff line change 1- 14
1+ 2
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ namespace OpenWifi {
231231 " logging.format" , " %Y-%m-%d %H:%M:%S.%i %s: [%p][thr:%I] %t" );
232232 auto UseAsyncLogs_ = MicroService::instance ().ConfigGetBool (" logging.asynch" , true );
233233 auto DisableWebSocketLogging =
234- MicroService::instance ().ConfigGetBool (" logging.websocket.disable " , true );
234+ MicroService::instance ().ConfigGetBool (" logging.websocket" , false );
235235
236236 if (LoggingDestination == " null" ) {
237237 Poco::AutoPtr<Poco::NullChannel> DevNull (new Poco::NullChannel);
Original file line number Diff line number Diff line change @@ -129,4 +129,8 @@ namespace OpenWifi {
129129 return ALBHealthCheckServer ()->RegisterExtendedHealthMessage (Callback);
130130 }
131131
132+ std::string MicroServiceAccessKey () {
133+ return MicroService::instance ().Hash ();
134+ }
135+
132136} // namespace OpenWifi
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ namespace OpenWifi {
2222 std::string MicroServicePublicEndPoint ();
2323 std::string MicroServiceConfigGetString (const std::string &Key,
2424 const std::string &DefaultValue);
25+ std::string MicroServiceAccessKey ();
2526 bool MicroServiceConfigGetBool (const std::string &Key, bool DefaultValue);
2627 std::uint64_t MicroServiceConfigGetInt (const std::string &Key, std::uint64_t DefaultValue);
2728 std::string MicroServicePrivateEndPoint ();
You can’t perform that action at this time.
0 commit comments