eclipse-hara / hara-ddiclient

Hara-ddiclient is a Kotlin library that facilitates and speeds up the development of DDI API clients for devices connecting to hawkBit servers.
https://projects.eclipse.org/projects/iot.hawkbit.hara
Eclipse Public License 2.0
18 stars 13 forks source link

Fix authorization request handling issue #51

Closed SaeedRe closed 5 months ago

SaeedRe commented 5 months ago

This commit addresses an issue where the client sends an immediate authorization response upon receiving the authorization request, which might get ignored, causing the client to be stuck waiting for the authorization response. From now on, the DownloadManager and UpdateManager actors will first wait for the authorization response and then broadcast the event/state regarding the authorization to the client.

diegorondini commented 5 months ago

Mac OS test is failing due to docker setup issue, but tests are succeeding locally.