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

Host checks execution api #1740

Merged
merged 5 commits into from Aug 29, 2023
Merged

Host checks execution api #1740

merged 5 commits into from Aug 29, 2023

Conversation

nelsonkopliku
Copy link
Member

@nelsonkopliku nelsonkopliku commented Aug 23, 2023

Description

Disclaimer: don't be scared, mainly tests

This PR exposes a new endpoint to request checks execution for a host.

  • an execution can be started only for registered hosts
  • an execution can be started only for non empty selections (cluster endpoint needs to be fixed about this)
  • target type is provided to the ExecutionRequested message
  • target type is handled on ExecutionStarted and ExecutionCompleted
  • unsupported target types are handled

How was this tested?

Automated tests ajdusted/added plus manual test in integration with wanda.

@nelsonkopliku nelsonkopliku added the enhancement New feature or request label Aug 24, 2023
@nelsonkopliku nelsonkopliku force-pushed the host_checks_execution_api branch 8 times, most recently from bea6a7c to ab27ade Compare August 25, 2023 08:43
@nelsonkopliku nelsonkopliku added user story elixir Pull requests that update Elixir code labels Aug 25, 2023
nelsonkopliku and others added 5 commits August 25, 2023 12:45
…ne integration module

Co-authored-by: Eugen Maksymenko <eugen.maksymenko@suse.com>
Co-authored-by: Eugen Maksymenko <eugen.maksymenko@suse.com>
Co-authored-by: Eugen Maksymenko <eugen.maksymenko@suse.com>
Co-authored-by: Eugen Maksymenko <eugen.maksymenko@suse.com>
@nelsonkopliku nelsonkopliku marked this pull request as ready for review August 25, 2023 10:47
Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@EMaksy EMaksy left a comment

Choose a reason for hiding this comment

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

Hey man great stuff, a big thanks!
Just some small questions as comments, but besides this nothing to add!
LGTM! 👍

@nelsonkopliku nelsonkopliku merged commit 9ed46e9 into main Aug 29, 2023
24 checks passed
@nelsonkopliku nelsonkopliku deleted the host_checks_execution_api branch August 29, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
elixir Pull requests that update Elixir code enhancement New feature or request user story
Development

Successfully merging this pull request may close these issues.

None yet

3 participants