Project

Profile

Help

Story #3560

closed

As a plugin writer, I can write views (at arbirary endpoints) which are discovered and registered with pulpcore.

Added by amacdona@redhat.com almost 6 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 35
Quarter:

Description

Plugin ViewSets are automatically registered with the router. There needs to be a similar mechanism for views.

Modify PulpPluginAppConfig to register named_views.
https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/app/apps.py#L46-L112

The urls.py is able to retrieve the app configs with named_views.
https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/app/urls.py#L102


Related issues

Related to Pulp - Story #3473: As a plugin writer, I have documentation on how to create live api endpoints responsiblyCLOSED - WONTFIX

Actions

Also available in: Atom PDF