Bug #5726

[hooks] JSON supplied to Foreman hooks is missing data

Added by Martin Matuška over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Joseph Magen
Category:API
Target version:Sprint 24
Difficulty: Bugzilla link:1107692
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.5.1Release relationshipAuto

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 over 3 years ago

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

History

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

  • Project changed from Plugins to Foreman
  • Category set to API
  • Release set to 1.5.1

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 3 years ago

  • Target version set to Sprint 24

#4 Updated by Joseph Magen over 3 years ago

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

#5 Updated by Dominic Cleal over 3 years ago

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

#6 Updated by Joseph Magen over 3 years ago

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

#7 Updated by Bryan Kearney over 3 years ago

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

Also available in: Atom PDF