Project

General

Profile

Actions

Bug #5726

closed

[hooks] JSON supplied to Foreman hooks is missing data

Added by Martin Matuška over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

Has duplicate Foreman - Bug #5820: Hosts show API does not return parameter valuesDuplicateTomáš Strachota05/20/2014Actions
Actions #1

Updated by Dominic Cleal over 10 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)
Actions #2

Updated by Dominic Cleal over 10 years ago

  • Project changed from Plugins to Foreman
  • Category set to API
  • Translation missing: en.field_release 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

Actions #3

Updated by Dominic Cleal over 10 years ago

  • Target version set to 1.8.2
Actions #4

Updated by Joseph Magen over 10 years ago

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

Updated by Dominic Cleal over 10 years ago

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

Updated by Joseph Magen over 10 years ago

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

Updated by Bryan Kearney over 10 years ago

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

Also available in: Atom PDF