Project

General

Profile

Actions

Feature #13417

closed

Wrap Facet registration in plugin API

Added by Eric Helms over 8 years ago. Updated almost 6 years ago.

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

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

Related issues 1 (0 open1 closed)

Related to Foreman - Feature #12630: Facets - Add facet declarationClosedShimon Shtein11/30/2015Actions
Actions

Also available in: Atom PDF