Project

Profile

Help

Story #65

closed

As a plugin writer, the platform enforces only one profiler per content_type_id

Added by Anonymous over 9 years ago. Updated over 3 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Currently in platform/src/pulp/plugins/loader/api.py, there is code to ""validate"" importers, but no code to validate profilers.Due to assumptions in the applicability system, it is important for the platform to enforce that there may only be one profiler registered per content_type_id that it supports. For example, only one profiler should be allowed to advertise that it handles RPM content.As part of this story, we can remove the comment from get_profiler_by_type in that module that says, ""this makes the assumption that there is only 1 profiler per type"".

Also available in: Atom PDF