Compare commits

...

12 Commits
v3.2.0 ... main

Author SHA1 Message Date
Carsten Schafer
8b06a65d5b Merge pull request #118 from Telecominfraproject/WIFI-13821-bump-versions
WIFI-13821 version set to 4.1.0
2025-08-01 08:58:18 -04:00
Carsten Schafer
3e7c72831f version set to 4.1.0
Signed-off-by: Carsten Schafer <Carsten.Schafer@kinarasystems.com>
2025-08-01 08:26:29 -04:00
i-chvets
069b60a6c6 Merge pull request #116 from Telecominfraproject/fix_improve_exeception_handling
Exception handling improvement.
2025-05-16 10:06:34 -04:00
Ivan Chvets
1832d2c1cb Merge branch 'main' of github.com:Telecominfraproject/wlan-cloud-owprov into fix_improve_exeception_handling 2025-05-02 10:58:26 -04:00
i-chvets
0ef1dad4dc Merge pull request #117 from Telecominfraproject/fix_ci
fix: Updated CI with ubuntu-latest.
2025-05-02 10:57:21 -04:00
Ivan Chvets
d001c44a81 fix: Updated CI with ubuntu-latest.
Signed-off-by: Ivan Chvets <ivan.chvets@kinarasystems.com>
2025-05-02 10:22:09 -04:00
Ivan Chvets
fe6023b18d Exception handling improvement. Details in: https://telecominfraproject.atlassian.net/browse/WIFI-14038
Signed-off-by: Ivan Chvets <ivan.chvets@kinarasystems.com>
2025-05-01 17:49:04 -04:00
Carsten Schafer
1bd1cf0af6 Merge pull request #114 from Telecominfraproject/version_update
fix: release 3.2.1 version update
2024-12-04 12:16:33 -05:00
Ivan Chvets
6ce0f2fb51 fix: release 3.2.1 version update
https://telecominfraproject.atlassian.net/browse/WIFI-14165

Signed-off-by: Ivan Chvets <ivan.chvets@kinarasystems.com>
2024-12-04 12:09:27 -05:00
i-chvets
020ff8641a Merge pull request #112 from kerwinma-git/WIFI-14257-fix-can-not-get-the-correct-deviceTypes-from-AppServiceRegistery
WIFI-14257: fix can not get corrent deviceTypes from AppServiceRegistry
2024-12-02 10:53:22 -05:00
MBW
342c6900ef WIFI-14257: fix can not get corrent deviceTypes from AppServiceRegistry
Signed-off-by: MBW <mbwofmbw@foxmail.com>
2024-11-06 19:04:37 +08:00
i-chvets
a549024a29 Merge pull request #109 from Telecominfraproject/version_update
WIFI-14165: release 3.2 version update
2024-09-30 10:22:20 -04:00
4 changed files with 10 additions and 11 deletions

View File

@@ -21,7 +21,7 @@ defaults:
jobs:
docker:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
env:
DOCKER_REGISTRY_URL: tip-tip-wlan-cloud-ucentral.jfrog.io
DOCKER_REGISTRY_USERNAME: ucentral

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.13)
project(owprov VERSION 3.2.0)
project(owprov VERSION 4.1.0)
set(CMAKE_CXX_STANDARD 17)
@@ -242,4 +242,3 @@ target_link_libraries(owprov PUBLIC
CppKafka::cppkafka
resolv
fmt::fmt)

View File

@@ -67,9 +67,9 @@ namespace OpenWifi {
bool Get(const char *key, std::vector<std::string> &Value) {
if(Registry_->has(key) && !Registry_->isNull(key) && Registry_->isArray(key)) {
auto Arr = Registry_->get(key);
for(const auto &v:Arr) {
Value.emplace_back(v);
auto pArr = Registry_->getArray(key);
for(const auto &v : *pArr) {
Value.emplace_back(v.toString());
}
return true;
}
@@ -91,4 +91,4 @@ namespace OpenWifi {
inline auto AppServiceRegistry() { return AppServiceRegistry::instance(); }
} // namespace OpenWifi
} // namespace OpenWifi

View File

@@ -118,6 +118,10 @@ namespace OpenWifi {
Producer.poll((std::chrono::milliseconds) 0);
}
}
if (Queue_.size() == 0) {
// message queue is empty, flush all previously sent messages
Producer.flush();
}
} catch (const cppkafka::HandleException &E) {
poco_warning(Logger_,
fmt::format("Caught a Kafka exception (producer): {}", E.what()));
@@ -126,10 +130,6 @@ namespace OpenWifi {
} catch (...) {
poco_error(Logger_, "std::exception");
}
if (Queue_.size() == 0) {
// message queue is empty, flush all previously sent messages
Producer.flush();
}
Note = Queue_.waitDequeueNotification();
}
Producer.flush();