Project

Profile

Help

Pulp 3 Minimum Viable Product » History » Revision 17

Revision 16 (Ichimonji10, 11/07/2016 05:52 PM) → Revision 17/167 (semyers, 02/28/2017 06:08 PM)

# Pulp 3.0.0 Minimum Viable Product (MVP) 

 ## Authentication 

 As an authenticated user I can manage user(s). 

   - Add login with a user 
   - View user(s) 
   - Update any user detail 
   - Delete username and password that Pulp stores   
 I can CRUD a user 

 As an API user,   
 I can have documentation to generate list all users   
 I can change the password of a JSON Web Token (JWT) without the server being online. 

 A user authenticated with HTTP/HTTPS "Basic" auth   
 I can acquire a non-expiring JWT token to access the API. 

   - The JWT shall have a created timestamp which can be used to invalidate 
   - The JWT shall have a user identifier (its primary key) 

 I can authenticate to any API call using HTTP/HTTPS "Basic" auth with a username and password that Pulp stores. 

   - The password is stored as a hash (for security). 

 As an API user,   
 I can authenticate any API call with a JWT. 

 As an API user, I can invalidate all JWT tokens for a given user issued earlier than now. 

 As an authenticated user, when deleting a user 'foo', all of user 'foo's JWTs are invalidated. 

 ## Repositories 

 I can list all repos   
 I can CRUD a repository   
 I can list associated importers and publishers   
 I can list content in a repository   
 I can summarize content in a repo (including counts)   
 I can CRUD an importer   
 I can CRUD a publisher 

 ## Content Manipulation 

 I can sync an importer   
 I can publish a publisher   
 I can upload *(What to where?)*   
 I can copy *(What from where to where?)*   
 I can clean up orphans 

 ## Filter 

 I can filter all nouns *(What is the meaning of "filter?" What is a noun?)* 

 ## Task Management 

 I can list all tasks and filter them *(Does this listing include only tasks that have not finished? If so, is there a way to list finished tasks?)*   
 I can see a detail view for a specific task including its progress and results   
 I can cancel tasks 

 ## Task Group 

 I can view a summary of the status of all tasks in a group 

 ## Event Listener Notifier 

 I can receive serialized task info via AMQP on each task save 

 *Can this be restated in more pedantic terms? Does this mean that an arbitrary host can attach itself to Pulp's AMQP message bus and get updates on the progress of tasks?* 

 ## Status 

 I can view the status of all pulp components   
 I can view an overall health attribute   
 I can view information about unapplied migrations 

 ## Plugin API 

 We will have one   
 We will use one   
 It will be semantically versioned at 0.x separate from the REST API 

 *Will this API be a Python code interface, a networked HTTP interface, or something else? In other words, for Pulp to use a plugin, will Pulp look for Python code, will it make HTTP calls to some networked resource, or something else?* 

 *What are three examples of plugins that will be written? (One goal is "we will use one," so presumably some specific plug-ins are already in mind.)* 

 ## CLI 

 We will port what is there with as little effort as possible *(Does this mean that porting will be easy for developers, or that switching from the Pulp 2-3 CLI will be easy for users? If the former, isn't this an implementation detail that doesn't belong in an MVP document? If the latter, does this mean that we're going to carry forward the issues with pulp-admin, like a lack of status codes?)* 

 repo CRUD   
 CRUD for importers   
 CRUD for publishers   
 trigger syncs   
 trigger publish   
 list content in a repo   
 upload   
 server status   
 list and cancel tasks   
 authn via basic auth   
 *(Should the supported set of operations be stated in terms of "The capabilities listed in the 'Authenctication,' 'Repositories,' and 'Filter' sections will be supported by the CLI."?)* 

 ## Nectar Plugin Download API 

 *(Is it correct to say that "I, the user, can download files via HTTP, HTTPS and file://," or "Nectar, the application, can download files via HTTP, HTTPS and file://?")*   
 I can download files via HTTP, HTTPS   
 I can download via file://   
 Authentication parity with 2.y *(Again, is this an "I can do X" statement or a "Nectar can do X" statement?)*   
 Recommend something for bandwidth limiting   
 Verify integrity of downloaded files   
 Alternate content source support *(Please clarify what this means. Does this mean that content can be downloaded via a protocol other than HTTP, HTTPS and file://? Does it mean that a single importer may attempt to download content from a prioritized list of locations? Something else? Assuming this is an importer-related things, which types of importers will support this? RPM? Python? Etc?)*   
 Streamer parity with 2.y 

 ## Consumer Applicability 

 Using consumer profiles and repo bindings I can compute applicability with 2.y parity   
 Performance needs to be awesome 

 *(Is the Pulp Consumer going away in Pulp 3? If so, is this section still appropriate?)* 

 ## ISO exports 

 Export a group of repos to a single iso *(What will the format be? A plain directory tree that's understandable by Pulp?)* 

 ## Plugin compatibility 

 rpm will work with platform   
 puppet will work with platform   
 ostree will work with platform   
 python will work with platform   
 file_plugin will work with platform   
 docker will work with platform 

 ## Migrations 

 users can run an executable similar to pulp-manage-db that is not named pulp-manage-db *(Why the change in name?)*