Project

General

Custom queries

Profile

Actions

Bug #5726

closed

[hooks] JSON supplied to Foreman hooks is missing data

Added by Martin Matuška about 11 years ago. Updated almost 7 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 #2

Updated by Dominic Cleal about 11 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 #4

Updated by Joseph Magen about 11 years ago

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

Updated by Joseph Magen about 11 years ago

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

Also available in: Atom PDF