Bug #14637

Discovery rules taxonomy cannot be edited via API/CLI

Added by Lukas Zapletal over 1 year ago. Updated about 1 year ago.

Status:Closed
Priority:Normal
Assigned To:Shlomi Zadok
Category:Discovery plugin
Target version:Plugin 6.0
Difficulty: Pull request:https://github.com/theforeman/foreman_discovery/pull/280
Bugzilla link:1324508
Story points-
Velocity based estimate-

Description

For UI, we can create a discovery rule associated with any specific Organization or Location. Via API we can't create/update a discovery rule with org/loc - satellite doesn't accept 'organization' or 'location' params, there's also no references to such params in apidocs. It's problematic as discovery rules created via API can't be seen via UI in any specific location/organization (except the case of 'any context').


Related issues

Related to Discovery - Bug #9881: Discovery rules are not connected to taxonomies Closed 03/24/2015
Duplicated by Discovery - Bug #19292: Cannot create discovery_rule with hammer cli due to missi... Duplicate 04/18/2017

Associated revisions

Revision 2aea5501
Added by Shlomi Zadok about 1 year ago

Fixes #14637 - taxonomy to rules API added

History

#1 Updated by Lukas Zapletal over 1 year ago

  • Related to Bug #9881: Discovery rules are not connected to taxonomies added

#2 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Shlomi Zadok
  • Pull request https://github.com/theforeman/foreman_discovery/pull/280 added

#3 Updated by Shlomi Zadok about 1 year ago

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

#4 Updated by Ori Rabin 4 months ago

  • Duplicated by Bug #19292: Cannot create discovery_rule with hammer cli due to missing taxonomy added

Also available in: Atom PDF