Actions
Feature #13417
closedWrap Facet registration in plugin API
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
The current Facet registration for plugins occurs independently of registering and using the plugin interface. To me, this breaks from the idea of centralizing additions plugins need in the plugin API. Current registration:
Facets.register(Katello::Host::ContentFacet, :content_facet) do api_view :list => 'katello/api/v2/content_facet/base_with_root', :single => 'katello/api/v2/content_facet/show' end
Updated by Dominic Cleal almost 9 years ago
- Related to Feature #12630: Facets - Add facet declaration added
Updated by The Foreman Bot almost 9 years ago
- Status changed from New to Ready For Testing
- Assignee set to Eric Helms
- Pull request https://github.com/theforeman/foreman/pull/3134 added
Updated by Eric Helms almost 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 7d90b5cb23decf7d9f6f09f8114ea8a9b1f697a0.
Updated by Dominic Cleal almost 9 years ago
- Translation missing: en.field_release set to 71
Updated by Lukas Zapletal over 8 years ago
Stumbled upon this when I was reading Facet documentation.
http://projects.theforeman.org/projects/foreman/wiki/How_to_Create_a_Plugin#Facets
Shall we remove the "This is being re-worked into a proper plugin API via #13417, it's highly recommended to use that when available and not use internal APIs." note?
Actions