Changes for API handler implementation update for OS Resource in apiv2 as per the day2 upgrade#257
Merged
daniele-moro merged 10 commits intomainfrom Jun 13, 2025
Merged
Conversation
daniele-moro
approved these changes
Jun 13, 2025
…open-edge-platform/infra-core into itep-67228-hndlr-impl-update-br
daniele-moro
approved these changes
Jun 13, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Changes for API handler implementation update for OS Resource in apiv2 as per the day2 upgrade
Fixes ITEP-67228
Changes required in OSProfile:
installed_packages: field is used to track only packages installed at day 0, for Immutable these come from the Manifest file published together with the EMT image. For Mutable, those are filled using the Ubuntu manifest file. For Mutable, this won't include Bare Metal Agents packages, since those are installed during Day 0, but they are not part of the Ubuntu manifest.
installed_packages_source: field is the URL where the Manifest file is stored. The field is immutable. This is added to allow manual creation of OSProfiles (advanced feature).
update_sources: the field is deprecated, and should not be used anymore.
kernel_commands: the field is deprecated, and should not be used anymore.
installed_packages: read-only from API
installed_pacakges_source: r/w from API
update_sources: deprecate
kernel_commands: deprecate
Any Newly Introduced Dependencies
No
How Has This Been Tested?
Tests will be done using another Jira Tasks.
Checklist: