Project

General

Profile

Bug #5726

[hooks] JSON supplied to Foreman hooks is missing data

Added by Martin Matuška over 5 years ago. Updated about 1 year ago.

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

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

Has duplicate Foreman - Bug #5820: Hosts show API does not return parameter valuesDuplicate2014-05-20

Associated revisions

Revision 283ff66b (diff)
Added by Joseph Magen over 5 years ago

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

Revision 3394686a (diff)
Added by Joseph Magen about 5 years ago

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

(cherry picked from commit 283ff66be9b8300424c73df044f94e2b7fb06747)

History

#1 Updated by Dominic Cleal over 5 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 over 5 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 over 5 years ago

  • Target version set to 1.8.2

#4 Updated by Joseph Magen over 5 years ago

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

#5 Updated by Dominic Cleal over 5 years ago

  • Has duplicate Bug #5820: Hosts show API does not return parameter values added

#6 Updated by Joseph Magen over 5 years ago

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

#7 Updated by Bryan Kearney about 5 years ago

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

Also available in: Atom PDF