Skip to content

Feature sm im - #325

Merged
al1img merged 8 commits into
aosedge:feature_imagemanagerfrom
mlohvynenko:feature_sm_im
Nov 6, 2026
Merged

al1img merged 8 commits into
aosedge:feature_imagemanagerfrom
mlohvynenko:feature_sm_im

Conversation

@mlohvynenko

Copy link
Copy Markdown
Member

No description provided.

@al1img al1img left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>

@mlohvynenko
mlohvynenko force-pushed the feature_sm_im branch 3 times, most recently from 9e2ab2a to f11a1e5 Compare November 6, 2026 18:00
Signed-off-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
Reviewed-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
Signed-off-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
Reviewed-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
Signed-off-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
Reviewed-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
Signed-off-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
Reviewed-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
Signed-off-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
Reviewed-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
The SM API returns the info of a single blob now. Return the blob
URLs, SHA-256 and size, and put the provider error into the response
error info, so SM gets its code, e.g. integrity error.

Signed-off-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
Reviewed-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
The SM image manager stores items and blobs in the common image
manager storage. Inherit common::database::Database, which implements
it, drop the obsolete update items table, create the image manager
items and blobs tables in migration 7 and implement IsLayerUsed.

Signed-off-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
Reviewed-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
cppcheck lint fails with missingOverride on the CM database
destructor, which overrides the virtual destructor of the common
database now, and with noExplicitConstructor on the fileserver
FDHandle constructors.

Mark the CM database destructor override and make the FDHandle int
constructor explicit. Keep the nullptr constructor implicit, as
unique_ptr requires its pointer type to be constructible from
nullptr, and suppress the warning for it.

Signed-off-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
Reviewed-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
@sonarqubecloud

sonarqubecloud Bot commented Nov 6, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@al1img
al1img merged commit f553508 into aosedge:feature_imagemanager Nov 6, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants