Bug #5726

[hooks] JSON supplied to Foreman hooks is missing data

Added by Martin Matuška about 4 years ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Joseph Magen
Category:API
Target version:1.5.1
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1107692 Found in Releases:
Pull request:

Description

Since Foreman 1.5, the JSON supplied to Foreman hooks contains only parameter names and is missing parameter values.
There is no way to check these values from "create" hooks as the host data is not yet fetchable via the API.


Related issues

Duplicated by Foreman - Bug #5820: Hosts show API does not return parameter values Duplicate 05/20/2014

Associated revisions

Revision 283ff66b
Added by Joseph Magen about 4 years ago

fixes #5726 - parameter values missing from host#show API call

Revision 3394686a
Added by Joseph Magen about 4 years ago

fixes #5726 - parameter values missing from host#show API call

(cherry picked from commit 283ff66be9b8300424c73df044f94e2b7fb06747)

History

#1 Updated by Dominic Cleal about 4 years ago

  • Project changed from Foreman to Plugins
  • Subject changed from JSON supplied to Foreman hooks is missing data to [hooks] JSON supplied to Foreman hooks is missing data
  • Category deleted (Host creation)

#2 Updated by Dominic Cleal about 4 years ago

  • Project changed from Plugins to Foreman
  • Category set to API
  • Legacy Backlogs Release (now unused) set to 16

112320 < Dominic> mmat: oh, I see why. app/views/api/v2/hosts/show.json.rabl is using the puppetclasses view for parameters!
112336 < Dominic> should be extends "api/v2/parameters/base" I think

#3 Updated by Dominic Cleal about 4 years ago

  • Target version set to 1.8.2

#4 Updated by Joseph Magen about 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Joseph Magen

#5 Updated by Dominic Cleal about 4 years ago

  • Duplicated by Bug #5820: Hosts show API does not return parameter values added

#6 Updated by Joseph Magen about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#7 Updated by Bryan Kearney about 4 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1107692

Also available in: Atom PDF