-
Notifications
You must be signed in to change notification settings - Fork 1
[ITEP-67228] Updated OperatingSystem Resource as per the design for day2 updates for apiv2 #171
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
Conversation
…n for day2 updates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, @raphaelvrosa let's agree on the deprecation.
…edge-platform/infra-core into itep-67228-day2-upgrade-br
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, I missed a couple of comments earlier. Otherwise LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we have changes in other resources? I am still trying to understand the mechanism behind APIv2
It's a problem of plugins version. APIv2 is not running generate target in CI (for unknown reason), so we are facing these issues now. |
Co-authored-by: Daniele Moro <9449199+daniele-moro@users.noreply.github.com>
…removed OperatingSystemResourceFieldDescription from os.go
… into itep-67228-day2-upgrade-br
… into itep-67228-day2-upgrade-br
Description
Updated OperatingSystem Resource as per the design for day2 updates for apiv2
Fixes # (issue)
Changes 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?
Internal Unit Testing for apiv2 has been successfully executed.
Checklist: