Skip to content

Commit 1b4a58c

Browse files
committed
https://telecominfraproject.atlassian.net/browse/WIFI-13172
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
1 parent bd20aba commit 1b4a58c

5 files changed

Lines changed: 8 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.13)
2-
project(owsec VERSION 2.11.0)
2+
project(owsec VERSION 3.0.0)
33

44
set(CMAKE_CXX_STANDARD 17)
55

build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14
1+
2

src/framework/MicroService.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

src/framework/MicroServiceFuncs.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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

src/framework/MicroServiceFuncs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)