Project

General

Profile

Feature #31537

Expose installed BMC providers as capabilities or settings

Added by Ewoud Kohl van Wijngaarden 7 months ago. Updated 8 days ago.

Status:
Closed
Priority:
Normal
Category:
BMC
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Currently the BMC module exposes an API endpoint /providers/installed but this can also be provided as capabilities or settings. This allows Foreman to determine up front if a proxy is even a valid choice without making API requests over the network.

Associated revisions

Revision 758f197d (diff)
Added by Ewoud Kohl van Wijngaarden 6 months ago

Fixes #31537 - Expose BMC providers as capabilities

Currently the BMC module exposes an API endpoint /providers/installed
but this can also be provided as capabilities or settings. This allows
Foreman to determine up front if a proxy is even a valid choice without
making API requests over the network.

The load_classes part is needed because capabilities are exectuted
before loading the main API (which already has the same require). The
require is explicit in the tests to stub out the implementation, making
the tests reliable, regardless of which providers are installed.

History

#1 Updated by The Foreman Bot 7 months ago

  • Assignee set to Ewoud Kohl van Wijngaarden
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/782 added

#2 Updated by The Foreman Bot 6 months ago

  • Fixed in Releases 2.4.0 added

#3 Updated by Ewoud Kohl van Wijngaarden 6 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by The Foreman Bot 8 days ago

  • Pull request https://github.com/theforeman/smart-proxy/pull/792 added

#5 Updated by Ewoud Kohl van Wijngaarden 8 days ago

  • Pull request deleted (https://github.com/theforeman/smart-proxy/pull/792)

Also available in: Atom PDF