Project

General

Profile

Feature #31213

Add Hostgroup API views Facet extenstion points

Added by Ondřej Ezr over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin integration
Target version:
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Facets can extend API responses for Host, but not Hostgroup.


Related issues

Related to Foreman - Refactor #31094: Extract ConfigGroup APIClosed
Related to Foreman - Feature #31372: Improve Facets registrationClosed

Associated revisions

Revision 477d457c (diff)
Added by Ondřej Ezr about 2 years ago

Fixes #31213 - hostgroup API facets extension point (#8115)

  • Fixes #31213 - hostgroup API facets extension point

Adds Facet extension points for Hostgroup API responses.
Refactor refresh for facets, to ensure all run just once.

Now the already registered entries are being run once the facet entry point is configured.
The hook is registered also on the entry point registration.
It should give us more clear API of the new facet entry poin registration.

  • Refs #31213 - model specific definition iterrable

fixes an issue with an Model having access to general facet definitions (entries)
rather than it's own (model based entries) definitions.

  • Refs #31213 - Add tests for API response with facets

History

#1 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8115 added

#2 Updated by Ondřej Ezr over 2 years ago

#3 Updated by Ondřej Ezr over 2 years ago

  • Target version changed from 2.3.0 to 2.4.0

#4 Updated by Ondřej Ezr over 2 years ago

#5 Updated by The Foreman Bot about 2 years ago

  • Fixed in Releases 2.4.0 added

#6 Updated by Ondřej Ezr about 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF