Project

General

Profile

Actions

Bug #3001

closed

host facts do not allow search by id (just by name)

Added by Martin Bacovsky about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

This is issue probably in api or routes and needs further investigation. --id was temporarily disabled

Actions #1

Updated by Dominic Cleal about 11 years ago

  • Project changed from Foreman to Hammer CLI
  • Category deleted (44)
Actions #2

Updated by Dominic Cleal almost 11 years ago

  • Target version set to 1.9.1
Actions #3

Updated by Daniel Lobato Garcia almost 11 years ago

"results": {
  "myhost.localdomain.1": {
    "afact": "23" 
  }
  "myhost2.localdomain.1": {
    "afact": 24
  }
}

is the current way facts come from the API, so there is certainly no way of using the ID to search in Hammer without changing the API.

Actions #4

Updated by Daniel Lobato Garcia almost 11 years ago

  • Project changed from Hammer CLI to Foreman
  • Category set to API
  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia

https://github.com/theforeman/foreman/pull/1238

Moving this to Foreman as the problem comes from the API, not Hammer.

Actions #5

Updated by Dominic Cleal over 10 years ago

  • Translation missing: en.field_release set to 4
Actions #6

Updated by Anonymous over 10 years ago

  • Target version changed from 1.9.1 to 1.9.0
Actions #7

Updated by Daniel Lobato Garcia over 10 years ago

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

Also available in: Atom PDF