Project

General

Profile

Feature #31213

Add Hostgroup API views Facet extenstion points

Added by Ondřej Ezr 9 months ago. Updated 7 months ago.

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

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 registrationReady For Testing

Associated revisions

Revision 477d457c (diff)
Added by Ondřej Ezr 7 months 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 9 months 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 9 months ago

#3 Updated by Ondřej Ezr 8 months ago

  • Target version changed from 2.3.0 to 2.4.0

#4 Updated by Ondřej Ezr 8 months ago

#5 Updated by The Foreman Bot 7 months ago

  • Fixed in Releases 2.4.0 added

#6 Updated by Ondřej Ezr 7 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF