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: allow application triggering works #26

Merged
merged 3 commits into from
Sep 28, 2023

Conversation

joelguittet
Copy link
Owner

The purpose of this Pull Request is to add APIs allowing the application to trigger works (authentication/update/inventory/configure).
Additionally, it is possible to disable the periodic execution of works by configuration, so both feature together permit to handle triggering of the execution of the mender client from the application.

Works are still executed from the mender work queue thread inside the rtos module to ensure priorities, stack size etc that are guaranteed by the rtos module scheduler.

The troubleshooting work cannot be stopped and triggered from the applications. There is no interest for that because it is a pure internal work to perform keep alive with the mender server.

This Pull Request replaces #19 and offers a solution to #17.

@joelguittet joelguittet added the enhancement New feature or request label Sep 28, 2023
@joelguittet joelguittet self-assigned this Sep 28, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.17) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@joelguittet joelguittet merged commit b349e3e into master Sep 28, 2023
6 checks passed
@joelguittet joelguittet deleted the feature/allow-triggerring-works branch September 28, 2023 22:06
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