Pulp 3 Minimum Viable Product » History » Sprint/Milestone 18
dkliban@redhat.com, 03/14/2017 09:08 PM
1 | 1 | bmbouter | # Pulp 3.0.0 Minimum Viable Product (MVP) |
---|---|---|---|
2 | |||
3 | ## Authentication |
||
4 | |||
5 | 17 | semyers | As an authenticated user I can manage user(s). |
6 | |||
7 | - Add a user |
||
8 | - View user(s) |
||
9 | - Update any user detail |
||
10 | - Delete a user |
||
11 | |||
12 | As an API user, I can have documentation to generate a JSON Web Token (JWT) without the server being online. |
||
13 | |||
14 | A user authenticated with HTTP/HTTPS "Basic" auth can acquire a non-expiring JWT to access the API. |
||
15 | |||
16 | - The JWT shall have a created timestamp which can be used to invalidate |
||
17 | - The JWT shall have a user identifier (its primary key) |
||
18 | |||
19 | I can authenticate to any API call using HTTP/HTTPS "Basic" auth with a username and password that Pulp stores. |
||
20 | |||
21 | - The password is stored as a hash (for security). |
||
22 | |||
23 | As an API user, I can authenticate any API call with a JWT. |
||
24 | |||
25 | As an API user, I can invalidate all JWT tokens for a given user issued earlier than now. |
||
26 | |||
27 | As an authenticated user, when deleting a user 'foo', all of user 'foo's JWTs are invalidated. |
||
28 | 1 | bmbouter | |
29 | ## Repositories |
||
30 | |||
31 | 18 | dkliban@redhat.com | As an authenticated user, I can list all repos. |
32 | |||
33 | - All fields are included |
||
34 | - Pagination is supported |
||
35 | - Filtering support |
||
36 | |||
37 | As an authenticated user, I can CRUD a repository |
||
38 | |||
39 | - Create a repo |
||
40 | - Read a repo |
||
41 | - Update all mutable repo fields |
||
42 | - Delete a repo |
||
43 | |||
44 | As an authenticated user, I can list a repository's associated importers and publishers |
||
45 | |||
46 | - All fields are included |
||
47 | - Pagination is supported |
||
48 | - Filtering support |
||
49 | |||
50 | As an authenticated user, I can list content in a repository |
||
51 | |||
52 | - All fields are included |
||
53 | - Pagination is supported |
||
54 | - Filtering support |
||
55 | |||
56 | As an authenticated user, I can summarize content in a repo (including counts) |
||
57 | |||
58 | As an authenticated user, I can CRUD an importer |
||
59 | |||
60 | - Create an importer |
||
61 | - Read an importer |
||
62 | - Update all mutable importer fields |
||
63 | - Delete an importer |
||
64 | |||
65 | As an authenticated user, I can CRUD a publisher |
||
66 | |||
67 | - Create a publisher |
||
68 | - Read a publisher |
||
69 | - Update all mutable publisher fields |
||
70 | - Delete a publisher |
||
71 | 1 | bmbouter | |
72 | ## Content Manipulation |
||
73 | |||
74 | 4 | Ichimonji10 | I can sync an importer |
75 | I can publish a publisher |
||
76 | I can upload *(What to where?)* |
||
77 | I can copy *(What from where to where?)* |
||
78 | I can clean up orphans |
||
79 | 1 | bmbouter | |
80 | ## Filter |
||
81 | |||
82 | 5 | Ichimonji10 | I can filter all nouns *(What is the meaning of "filter?" What is a noun?)* |
83 | 1 | bmbouter | |
84 | ## Task Management |
||
85 | |||
86 | 13 | Ichimonji10 | 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?)* |
87 | 1 | bmbouter | I can see a detail view for a specific task including its progress and results |
88 | I can cancel tasks |
||
89 | |||
90 | ## Task Group |
||
91 | |||
92 | I can view a summary of the status of all tasks in a group |
||
93 | |||
94 | ## Event Listener Notifier |
||
95 | |||
96 | I can receive serialized task info via AMQP on each task save |
||
97 | |||
98 | 12 | Ichimonji10 | *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?* |
99 | |||
100 | 1 | bmbouter | ## Status |
101 | |||
102 | I can view the status of all pulp components |
||
103 | I can view an overall health attribute |
||
104 | I can view information about unapplied migrations |
||
105 | |||
106 | ## Plugin API |
||
107 | |||
108 | We will have one |
||
109 | We will use one |
||
110 | It will be semantically versioned at 0.x separate from the REST API |
||
111 | |||
112 | 6 | Ichimonji10 | *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?* |
113 | |||
114 | *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.)* |
||
115 | |||
116 | 1 | bmbouter | ## CLI |
117 | |||
118 | 8 | Ichimonji10 | 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?)* |
119 | |||
120 | 1 | bmbouter | repo CRUD |
121 | CRUD for importers |
||
122 | CRUD for publishers |
||
123 | trigger syncs |
||
124 | trigger publish |
||
125 | list content in a repo |
||
126 | upload |
||
127 | server status |
||
128 | list and cancel tasks |
||
129 | 8 | Ichimonji10 | authn via basic auth |
130 | *(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."?)* |
||
131 | 1 | bmbouter | |
132 | ## Nectar Plugin Download API |
||
133 | |||
134 | 9 | Ichimonji10 | *(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://?")* |
135 | 1 | bmbouter | I can download files via HTTP, HTTPS |
136 | I can download via file:// |
||
137 | 9 | Ichimonji10 | Authentication parity with 2.y *(Again, is this an "I can do X" statement or a "Nectar can do X" statement?)* |
138 | 1 | bmbouter | Recommend something for bandwidth limiting |
139 | Verify integrity of downloaded files |
||
140 | 10 | Ichimonji10 | 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?)* |
141 | 1 | bmbouter | Streamer parity with 2.y |
142 | |||
143 | ## Consumer Applicability |
||
144 | |||
145 | Using consumer profiles and repo bindings I can compute applicability with 2.y parity |
||
146 | Performance needs to be awesome |
||
147 | |||
148 | 11 | Ichimonji10 | *(Is the Pulp Consumer going away in Pulp 3? If so, is this section still appropriate?)* |
149 | |||
150 | 1 | bmbouter | ## ISO exports |
151 | |||
152 | 16 | Ichimonji10 | Export a group of repos to a single iso *(What will the format be? A plain directory tree that's understandable by Pulp?)* |
153 | 1 | bmbouter | |
154 | ## Plugin compatibility |
||
155 | |||
156 | rpm will work with platform |
||
157 | puppet will work with platform |
||
158 | ostree will work with platform |
||
159 | python will work with platform |
||
160 | file_plugin will work with platform |
||
161 | docker will work with platform |
||
162 | |||
163 | ## Migrations |
||
164 | |||
165 | 14 | Ichimonji10 | users can run an executable similar to pulp-manage-db that is not named pulp-manage-db *(Why the change in name?)* |