Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMHE-2011 Save firmware file to file system #1324

Merged
merged 29 commits into from
May 30, 2024

Conversation

jboon
Copy link
Contributor

@jboon jboon commented May 23, 2024

With this PR we removed the request back from dlms adapter to core in case a firmware file is not yet in the dlms adapter's cache repository when needed.
The firmware file content is no longer stored in the core database but stored by the core module on a configured file system. This file system is also reachable for the dlms adapter.
Firmware file is still read once and stored in the cache repository.
ImageIdentifier is removed from the core database since this was a smartmetering specific solution which is no longer needed now the ImageIdentifier is stored on a file system in the same way as the firmware file.
A hash is stored in the core database to check the content of the firmware file stored in the file system. For this content check hash and hashtype are added to the firmware file properties in the firmware requests.

harrymiddelburgetall and others added 17 commits May 13, 2024 14:15
…d digest

Signed-off-by: Harry Middelburg <harry.middelburg@alliander.com>
Signed-off-by: Harry Middelburg <harry.middelburg@alliander.com>
…ering specific). Add optional hash and hash_type

Signed-off-by: Harry Middelburg <harry.middelburg@alliander.com>
Signed-off-by: Harry Middelburg <harry.middelburg@alliander.com>
Signed-off-by: Harry Middelburg <harry.middelburg@alliander.com>
…rvice

Signed-off-by: Harry Middelburg <harry.middelburg@alliander.com>
…P/open-smart-grid-platform into feature/SMHE-2011_firmware-s3-bucket
Signed-off-by: Harry Middelburg <harry.middelburg@alliander.com>
Signed-off-by: Harry Middelburg <harry.middelburg@alliander.com>
…P/open-smart-grid-platform into feature/SMHE-2011_firmware-s3-bucket
@jboon jboon marked this pull request as draft May 23, 2024 21:08
jboon and others added 10 commits May 27, 2024 11:11
Signed-off-by: Jaco Boon <jaco.boon@gmail.com.com>
Signed-off-by: Harry Middelburg <harry.middelburg@alliander.com>
…P/open-smart-grid-platform into feature/SMHE-2011_firmware-s3-bucket
Signed-off-by: Harry Middelburg <harry.middelburg@alliander.com>
Signed-off-by: Jaco Boon <jaco.boon@gmail.com>
…P/open-smart-grid-platform into feature/SMHE-2011_firmware-s3-bucket
Signed-off-by: Jaco Boon <jaco.boon@gmail.com>
Signed-off-by: Harry Middelburg <harry.middelburg@alliander.com>
@harrymiddelburgetall
Copy link
Contributor

harrymiddelburgetall commented May 28, 2024

…gConfig

Signed-off-by: Harry Middelburg <harry.middelburg@alliander.com>
Signed-off-by: Harry Middelburg <harry.middelburg@alliander.com>
Copy link

sonarcloud bot commented May 29, 2024

@harrymiddelburgetall harrymiddelburgetall marked this pull request as ready for review May 30, 2024 06:59
@harrymiddelburgetall harrymiddelburgetall merged commit 6594020 into development May 30, 2024
7 checks passed
@harrymiddelburgetall harrymiddelburgetall deleted the feature/SMHE-2011_firmware-s3-bucket branch May 30, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants