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

Refactor actors #31

Closed SaeedRe closed 10 months ago

SaeedRe commented 11 months ago

Refactor workflow to handle authorization requests properly

Refactored DownloadManager and UpdateManager Move corresponding authorization requests to Download and Update manager to handle them in their own actor Check if the artifacts are already downloaded before asking for authorization or even starting the download again

SaeedRe commented 10 months ago

@andrea-zoleo Cleaned the code and also made it more readable.