Project

General

Profile

Actions

Bug #8922

closed

authorized_smart_proxy_features should not fail if not implemented

Added by Daniel Lobato Garcia over 9 years ago. Updated almost 6 years ago.

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

Description

Currently it raises a NotImplementedError. In case the user has a plugin that uses it and the plugin with a fact parser does not implement authorized_smart_proxy_features, this will make foreman fail in various parts (anywhere add_smart_proxy_filters is used), including tests.

Instead we can default to returning an empty array with no features.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #8484: Make SmartProxyAuth concern more useful to pluginsClosedStephen Benjamin11/24/2014Actions
Actions

Also available in: Atom PDF