Project

General

Profile

Actions

Feature #32140

closed

Allow searching hosts by attributes of the reported data facet

Added by Marek Hulán about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Search
Target version:
-
Fixed in Releases:
Found in Releases:

Description

The ReportedDataFacet (https://github.com/theforeman/foreman/blob/develop/app/models/host_facets/reported_data_facet.rb) defines several normalized data based on facts however we don't allow to use that in our search. E.g. search of all hosts having RAM > 1024 or all hosts running for longer than a year without reboot (based on boot_time).

We should define a scoped_search definition for each of the attribute. Ideally that should be possible on host search syntax so on host detail page I could do something like "reported.ram > 1024".

Actions #1

Updated by Marek Hulán about 3 years ago

  • Description updated (diff)
Actions #2

Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Dominik Matoulek
  • Pull request https://github.com/theforeman/foreman/pull/8524 added
Actions #3

Updated by The Foreman Bot almost 3 years ago

  • Fixed in Releases 3.0.0 added
Actions #4

Updated by Dominik Matoulek almost 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by The Foreman Bot almost 3 years ago

  • Pull request https://github.com/theforeman/foreman/pull/8589 added
Actions #6

Updated by Tomer Brisker almost 3 years ago

  • Category set to Search
  • Fixed in Releases 2.5.1 added
Actions

Also available in: Atom PDF