Project

General

Profile

Actions

Bug #19367

closed

katello models not working with foreman-hooks plugin

Added by Thomas McKay about 7 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

The foreman-hooks plugin is looking for rabl files in katello/app/views. For example, a hook for Katello::Pool expects a rabl of katello/app/views/katello/pools/show.

Perhaps add the api/v2 rabl to the paths in engine.rb (line 144) but this would require mapping models to resource names (pool to subscription)

Actions #1

Updated by Thomas McKay about 7 years ago

  • Bugzilla link set to 1445070
Actions #2

Updated by Thomas McKay about 7 years ago

Perhaps foreman-hooks needs a way to specifiy the show.rabl for a model?

Actions #3

Updated by Stephen Benjamin about 7 years ago

The issue with Foreman hooks is tracked here: #8379.

Actions #4

Updated by John Mitsch about 7 years ago

  • Assignee set to Thomas McKay
  • translation missing: en.field_release set to 228

That bug and its duplicate seems to be closed, so I'm going to keep this open

Actions #5

Updated by Justin Sherrill almost 7 years ago

  • Target version set to 155
  • translation missing: en.field_release changed from 228 to 114
Actions #6

Updated by Thomas McKay almost 7 years ago

  • Assignee deleted (Thomas McKay)
  • Target version deleted (155)
Actions #7

Updated by Thomas McKay almost 6 years ago

  • Status changed from New to Resolved

Hooks for katello models work in recent releases.

Actions

Also available in: Atom PDF