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

client: rework apis so that the mender-client registers add-ons and manage them #58

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

joelguittet
Copy link
Owner

The purpose of this Pull Request is to improve management of add-ons giving the control to the mender client itself instead of relying on user application.

A new function mender_client_register_addon is introduced to register the wanted add-on to the mender client. It will then manage init/activation/deactivation/exit for each add-on.

Particularly, the inventory and configure add-ons are now only managed by mender-client. Only the mender-troubleshoot add-on has an optional activation still controlled by the user application (because this mean connecting to the network and keeping the connection opened, so it's better to let control).

This enhancement permits additional user custom add-ons to be created and registered to the mender-client, for example to manage specific artifact types.

@joelguittet joelguittet added the enhancement New feature or request label Jun 20, 2024
@joelguittet joelguittet self-assigned this Jun 20, 2024
Copy link

sonarqubecloud bot commented Jun 20, 2024

@joelguittet joelguittet merged commit 41195b8 into master Jun 20, 2024
5 checks passed
@joelguittet joelguittet deleted the feature/mender-client-register-add-ons branch June 20, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant