Project

General

Profile

Bug #19367

katello models not working with foreman-hooks plugin

Added by Thomas McKay over 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
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)

History

#1 Updated by Thomas McKay over 2 years ago

  • Bugzilla link set to 1445070

#2 Updated by Thomas McKay over 2 years ago

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

#3 Updated by Stephen Benjamin over 2 years ago

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

#4 Updated by John Mitsch over 2 years ago

  • Assignee set to Thomas McKay
  • Legacy Backlogs Release (now unused) set to 228

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

#5 Updated by Justin Sherrill over 2 years ago

  • Target version set to 155
  • Legacy Backlogs Release (now unused) changed from 228 to 114

#6 Updated by Thomas McKay over 2 years ago

  • Assignee deleted (Thomas McKay)
  • Target version deleted (155)

#7 Updated by Thomas McKay over 1 year ago

  • Status changed from New to Resolved

Hooks for katello models work in recent releases.

Also available in: Atom PDF