Compare commits

...

17 Commits

Author SHA1 Message Date
TIP Automation User
57198903cd Chg: update image tag in helm values to v4.1.0-RC1 2025-08-28 12:12:18 +00:00
Carsten Schafer
7ebb9dbe14 Merge pull request #117 from Telecominfraproject/WIFI-13821-bump-versions
WIFI-13821 version set to 4.1.0
2025-08-01 08:58:28 -04:00
Carsten Schafer
b51148e9c6 version set to 4.1.0
Signed-off-by: Carsten Schafer <Carsten.Schafer@kinarasystems.com>
2025-08-01 08:30:47 -04:00
i-chvets
966ddd3cbf Merge pull request #115 from Telecominfraproject/fix_improve_exeception_handling
Exception handling improvement.
2025-05-16 10:05:29 -04:00
Ivan Chvets
2781342aa5 Merge branch 'main' of github.com:Telecominfraproject/wlan-cloud-ucentralsec into fix_improve_exeception_handling 2025-05-02 10:59:09 -04:00
i-chvets
b98dd457a6 Merge pull request #116 from Telecominfraproject/fix_ci
fix: Updated CI with ubuntu-latest.
2025-05-02 10:57:16 -04:00
Ivan Chvets
54fc3dc6c4 fix: Updated CI with ubuntu-latest.
Signed-off-by: Ivan Chvets <ivan.chvets@kinarasystems.com>
2025-05-02 10:20:07 -04:00
Ivan Chvets
9d3fe561a4 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:51:06 -04:00
i-chvets
3e13e18f6c Merge pull request #113 from Telecominfraproject/version_update
WIFI-14165: Release 3.2 version update
2024-09-30 10:12:29 -04:00
Ivan Chvets
1977ecdfb7 fix: release 3.2 version update
https://telecominfraproject.atlassian.net/browse/WIFI-14165

Signed-off-by: Ivan Chvets <ivan.chvets@kinarasystems.com>
2024-09-30 09:35:21 -04:00
i-chvets
1d703e1737 Merge pull request #111 from Telecominfraproject/WIFI-13857-fix-svc-kafka-startup
WIFI-13857: fix: modified code to use flush() when internal queue is not loaded
2024-06-19 16:59:56 -04:00
Ivan Chvets
22ddb40d4c fix: modified code to use flush() when internal queue is not loaded
https://telecominfraproject.atlassian.net/browse/WIFI-13857

NOTE: This is port of https://github.com/Telecominfraproject/wlan-cloud-ucentralgw/pull/362

Signed-off-by: Ivan Chvets <ivan.chvets@kinarasystems.com>
2024-06-19 16:43:47 -04:00
i-chvets
791b72aec4 Merge pull request #110 from Telecominfraproject/WIFI-13597-fix-kafka-producer-using-poll
fix: added flush() for proper shutdown
2024-06-17 09:23:11 -04:00
Ivan Chvets
46b9524903 fix: added flush() for proper shutdown
https://telecominfraproject.atlassian.net/browse/WIFI-13597

NOTE: This PR is port of https://github.com/Telecominfraproject/wlan-cloud-ucentralgw/pull/361

Signed-off-by: Ivan Chvets <ivan.chvets@kinarasystems.com>
2024-06-14 16:51:47 -04:00
i-chvets
bb09f919e6 Merge pull request #109 from Telecominfraproject/WIFI-13597-fix-kafka-producer-using-poll
fix: modified kafka manager to use poll in producer
2024-06-13 14:35:18 -04:00
Ivan Chvets
8d04cbc059 fix: modified kafka manager to use poll in producer
https://telecominfraproject.atlassian.net/browse/WIFI-13597

NOTE: This fix is port of https://github.com/Telecominfraproject/wlan-cloud-ucentralgw/pull/360

Summary of changes:
- Modified code in KafkaManager to use poll instead of flush for every messages sent. flush is used only on empty internal notification queue in idle times.

Signed-off-by: Ivan Chvets <ivan.chvets@kinarasystems.com>
2024-06-13 13:18:29 -04:00
stephb9959
073856d385 https://telecominfraproject.atlassian.net/browse/WIFI-13808
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
2024-06-06 07:58:46 -07:00
5 changed files with 19 additions and 5 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(owsec VERSION 3.0.0)
project(owsec VERSION 4.1.0)
set(CMAKE_CXX_STANDARD 17)

2
build
View File

@@ -1 +1 @@
7
1

View File

@@ -9,7 +9,7 @@ fullnameOverride: ""
images:
owsec:
repository: tip-tip-wlan-cloud-ucentral.jfrog.io/owsec
tag: main
tag: v4.1.0-RC1
pullPolicy: Always
# regcred:
# registry: tip-tip-wlan-cloud-ucentral.jfrog.io

View File

@@ -107,6 +107,19 @@ namespace OpenWifi {
NewMessage.partition(0);
NewMessage.payload(Msg->Payload());
Producer.produce(NewMessage);
if (Queue_.size() < 100) {
// use flush when internal queue is lightly loaded, i.e. flush after each
// message
Producer.flush();
}
else {
// use poll when internal queue is loaded to allow messages to be sent in
// batches
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) {
@@ -119,6 +132,7 @@ namespace OpenWifi {
}
Note = Queue_.waitDequeueNotification();
}
Producer.flush();
poco_information(Logger_, "Stopped...");
}
@@ -324,4 +338,4 @@ namespace OpenWifi {
partitions.front().get_partition()));
}
} // namespace OpenWifi
} // namespace OpenWifi