Compare commits

..

4 Commits

Author SHA1 Message Date
TIP Automation User
83ce648020 Chg: update image tag in helm values to v3.2.0 2024-10-04 15:54:39 +00:00
TIP Automation User
dba50327b0 Chg: update image tag in helm values to v3.2.0-RC2 2024-09-30 23:10:59 +00:00
i-chvets
b15808d1e0 Merge pull request #110 from Telecominfraproject/version_update
WIFI-14165: release 3.2 version update
2024-09-30 11:02:25 -04:00
TIP Automation User
6cb71d4cdf Chg: update image tag in helm values to v3.2.0-RC1 2024-09-27 17:09:39 +00:00
5 changed files with 11 additions and 11 deletions

View File

@@ -21,7 +21,7 @@ defaults:
jobs:
docker:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
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.1)
project(owprov VERSION 3.2.0)
set(CMAKE_CXX_STANDARD 17)

View File

@@ -9,7 +9,7 @@ fullnameOverride: ""
images:
owprov:
repository: tip-tip-wlan-cloud-ucentral.jfrog.io/owprov
tag: main
tag: v3.2.0
pullPolicy: Always
# regcred:
# registry: tip-tip-wlan-cloud-ucentral.jfrog.io

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 pArr = Registry_->getArray(key);
for(const auto &v : *pArr) {
Value.emplace_back(v.toString());
auto Arr = Registry_->get(key);
for(const auto &v:Arr) {
Value.emplace_back(v);
}
return true;
}
@@ -91,4 +91,4 @@ namespace OpenWifi {
inline auto AppServiceRegistry() { return AppServiceRegistry::instance(); }
} // namespace OpenWifi
} // namespace OpenWifi

View File

@@ -118,10 +118,6 @@ 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()));
@@ -130,6 +126,10 @@ 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();