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

Fixes #28585 - Drop host status api without type #7302

Merged
merged 1 commit into from Dec 31, 2019

Conversation

tbrisker
Copy link
Member

The hosts/<id>/status api endpoint has been deprecated in favor of
more specific status types.

The `hosts/<id>/status` api endpoint has been deprecated in favor of
more specific status types.
@theforeman-bot
Copy link
Member

Issues: #28585

@tbrisker
Copy link
Member Author

theforeman/theforeman.org#1518 is the docs

@mmoll
Copy link
Contributor

mmoll commented Dec 29, 2019

[test katello]

param :type, [ HostStatus::Global ] + HostStatus.status_registry.to_a.map { |s| s.humanized_name }, :required => true, :desc => N_(
<<~EOS
status type, can be one of
* global
Copy link
Member

Choose a reason for hiding this comment

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

Can we retrieve this from the status registry?

Copy link
Member Author

Choose a reason for hiding this comment

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

IIRC we normally generate the apidoc during packaging, meaning that it won't catch any others anyway except for the rare few who regenerate the doc

@mmoll mmoll merged commit 5d35e62 into theforeman:develop Dec 31, 2019
@mmoll
Copy link
Contributor

mmoll commented Dec 31, 2019

merged, thanks @tbrisker!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants