Project

Profile

Help

Pulp 3 Minimum Viable Product » History » Sprint/Milestone 132

bmbouter, 12/12/2017 05:15 PM
Posting results of the "Webserver Deployment and Integration" use cases and a term to the Glossary section

1 1 bmbouter
# Pulp 3.0.0 Minimum Viable Product (MVP)
2
3 21 bmbouter
<span style="color:red;">Lines highlighted in red need more attention.</span>
4 20 bmbouter
5 37 bmbouter
## Overall Guarantees
6
7 57 mhrivnak
  - This is not a direct replacement for Pulp 2.
8
  - This is the minimum required for a 3.0.0 beta and GA.
9
  - All REST API calls will update the DB using transactions as necessary to ensure data integrity.
10 37 bmbouter
11 59 bmbouter
## Legend
12
13
\[done\] means merged and documented  
14
\[in-progress\] means started but not fully done  
15
If there is no label the effort has not yet been started
16
17 1 bmbouter
## Authentication
18
19 59 bmbouter
As an authenticated user I can manage user(s). \[done\]
20 17 semyers
21
  - Add a user
22
  - View user(s)
23 58 mhrivnak
  - Update any user detail
24 1 bmbouter
  - Delete a user
25
26 59 bmbouter
As an API user, I can have documentation to generate a JSON Web Token (JWT) without the server being online. \[done\]
27 1 bmbouter
28 59 bmbouter
As an administrator, I can disable JWT token expiration. This configuration is in the settings file and is system-wide. \[done\]
29 1 bmbouter
30 59 bmbouter
As an administrator, I can configure the JWT tokens to expire after a configurable amount of time. This configuration is in the settings file and is system-wide. \[done\]
31 1 bmbouter
32 59 bmbouter
The JWT shall have a username identifier \[done\]
33 1 bmbouter
34 125 bmbouter
As an API user, I can authenticate any API call with a valid username and password \[done\]
35
36
As an API user, I can authenticate any API call with a valid JWT \[[3163](https://pulp.plan.io/issues/3163)\]
37
38
As a JWT authenticated user, I can refresh my JWT token if Pulp is configured with JWT_ALLOW_REFRESH set to True (default is False) \[[3163](https://pulp.plan.io/issues/3163)\]
39 17 semyers
40 59 bmbouter
As an API user, I can invalidate all existing JWT tokens for a given user. \[done\]
41 17 semyers
42 59 bmbouter
As an authenticated user, when deleting a user 'foo', all of user 'foo's existing JWTs are invalidated. \[done\]
43 17 semyers
44 59 bmbouter
As an un-authenticated user, I can obtain a JWT token by using a username and password. \[done\]
45 1 bmbouter
46 110 daviddavis
As an authenticated user, I can filter users by: \[[3142](https://pulp.plan.io/issues/3142)\]
47
48
  - username: (equality, username_in_list)
49
50 1 bmbouter
## Repositories
51
52 18 dkliban@redhat.com
As an authenticated user, I can list all repos.
53
54 60 bmbouter
  - All fields are included \[done\]
55
  - Pagination is supported \[done\]
56 1 bmbouter
57 112 bmbouter
As an authenticated user I can use filters on Repositories list: \[[3079](https://pulp.plan.io/issues/3079)\]
58 109 amacdona@redhat.com
59
  - id: (id_in_list) \# id equality is not necessary, v3/repositories/\<UUID\>/
60
  - name: (equality, name_in_list)
61
62 18 dkliban@redhat.com
As an authenticated user, I can CRUD a repository
63
64 60 bmbouter
  - Create a repo \[done\]
65
  - Read a repo \[done\]
66
  - Update all mutable repo fields \[done\]
67 130 daviddavis
  - Delete a repo (asynchronous)
68 112 bmbouter
69 18 dkliban@redhat.com
As an authenticated user, I can list a repository's associated importers and publishers
70
71 60 bmbouter
  - All fields are included \[done\]
72
  - Pagination is supported \[done\]
73 1 bmbouter
74
As an authenticated user, I can see the number of content unit types with counts for each \[done\]\[[3059](https://pulp.plan.io/issues/3059)\]
75
76 130 daviddavis
As an authenticated user, when viewing a repository, I can discover a URL to the latest version of a repository.
77
78 51 bmbouter
## Importers
79
80
note: Importer attributes will commonly be available on importers, but aren't guaranteed to be used by all importers.
81
82 18 dkliban@redhat.com
As an authenticated user, I can CRUD an importer
83
84
  - Create an importer
85
  - Read an importer
86
  - Update all mutable importer fields
87 21 bmbouter
  - Delete an importer (asynchronous)
88 1 bmbouter
89 113 bmbouter
As an authenticated user, I have filters on the Importer list: \[[3080](https://pulp.plan.io/issues/3080)\]
90 109 amacdona@redhat.com
91
  - id: (id_in_list) \# id equality is not necessary, objects are referenced by id
92
  - name: (equality, name_in_list)
93
94 64 mhrivnak
As an authenticated user I can configure the following attributes on an Importer: \[done\]
95 47 bmbouter
96 48 amacdona@redhat.com
  - validate (bool) \[optional: defaults to True\]: If true, the plugin will validate imported content.
97
  - ssl_ca_certificate (str) \[optional\] String containing a PEM encoded CA certificate used to validate the server certificate presented by the external source.
98
  - ssl_client_certificate (str) \[optional\] Contains a PEM encoded client certificate used for authentication.
99
  - ssl_client_key (str) \[optional\] Contains a PEM encoded private key used for authentication.
100
  - ssl_validation (bool) \[optional: defaults to True\]: If true, SSL peer validation must be performed.
101 65 mhrivnak
  - proxy_url (str) \[optional\] Contains the proxy URL. Format: scheme://user:password@host:port.
102 48 amacdona@redhat.com
  - username (str) \[optional\] Contains the username to be used for authentication when syncing.
103 1 bmbouter
  - password (str) \[optional\] Contains the password to be used for authentication when syncing.
104 63 mhrivnak
  - <span style="color:orange;">download_policy (str) \[optional\] Contains the downloading policy name. This is a choice of three options:  
105
 \- immediate (default) - Downloading occurs during sync. The sync task does not complete until downloading is done.  
106
 \- background - Downloading is started by the sync but occurs in the background. The sync task completes before downloading is complete.  
107
 \- on-demand - The sync task records everything that would be downloaded but does not download content. Downloading occurs on demand as driven by client requests for content.</span>
108 1 bmbouter
  - feed_url (str) \[optional\] Contains the URL of an external content source. This is optional.
109 63 mhrivnak
  - <span style="color:orange;">sync mode: (str) \[optional\]. It has two choices 'additive' and 'mirror':  
110 130 daviddavis
 \- additive (default) - all remote content is added to the base repo version on sync. During sync no content is removed from the base repo version.  
111 63 mhrivnak
 \- mirror - the local content will mirror the remote content exactly, removing local content if not also present in the remote content.</span>
112 1 bmbouter
  - name (str) \[required\] Contains the name.
113
  - last_updated (datetime) \[read-only\] Contains the datetime of the last importer update.
114 50 bmbouter
  - last_synced (datetime) \[read-only\] Contains the datetime of the last importer sync.
115
116 130 daviddavis
As an authenticated user, I can define a default importer on a repo via href to be used whenever a new repo version is created.
117
118 52 bmbouter
## Publishers
119 51 bmbouter
120
note: Publisher attributes will commonly be available on publishers, but aren't guaranteed to be used by all publishers.
121 47 bmbouter
122 18 dkliban@redhat.com
As an authenticated user, I can CRUD a publisher
123
124
  - Create a publisher
125 1 bmbouter
  - Read a publisher
126
  - Update all mutable publisher fields
127 50 bmbouter
  - Delete a publisher (asynchronous)
128 1 bmbouter
129 113 bmbouter
As an authenticated user, I have filters on the Publisher list: \[[3081](https://pulp.plan.io/issues/3081)\]
130 109 amacdona@redhat.com
131
  - id: (id_in_list) \# id equality is not necessary, objects are referenced by id
132
  - name: (equality, name_in_list)
133
134 50 bmbouter
As an authenticated user I can configure the following attributes on a Publisher:
135
136 1 bmbouter
  - relative_path (str) \[optional\] The (relative) path component of the published url.
137 50 bmbouter
  - name - (str) \[required\] contains the name.
138 109 amacdona@redhat.com
  - last_published (datetime) \[read-only\] When the last successful publis%{color:red}h occurred.
139 50 bmbouter
  - last_updated (datetime) \[read-only\] The datetime of the last publisher update.
140 1 bmbouter
  - <span style="color:red;">auto_publish(bool) - ??? consider adding auto-publish feature to MVP</span>
141
142 123 bmbouter
## Distributions
143 1 bmbouter
144 123 bmbouter
As an authenticated user, I can CRUD Distributions:
145 1 bmbouter
146 123 bmbouter
  - Create a Distribution.
147
  - Read a Distribution
148
  - List Distributions
149
  - Update all mutable Distribution fields (synchronous)  
150
    \- base path  
151
    \- http  
152
    \- https
153
  - Delete an Distribution (synchronous)
154
155
As a user, my distribution base paths don't conflict and my create/update is rejected identifying the conflicting distributions \[[2987](https://pulp.plan.io/issues/2987)\]
156
157
As an authenticated user, I can create or update a distribution that is not associated with any publication (NULL)
158
159
As an authenticated user, I can create or update a distribution that is not associated with any publisher (NULL)
160
161
As a user, I can update a Distribution to distribute a specific Publication
162
163
As a user, I want a newly created publication to be automatically served by the content as defined by distributions.
164
165
As a user, I can see the full urls my base path is served at (one for http and one for https depending on what is on)
166
167 109 amacdona@redhat.com
As an authenticated user, I have filters on the Distribution list: \[[3082](https://pulp.plan.io/issues/3082)\]
168
169 1 bmbouter
  - name: (equality, name_in_list) 
170
  - base_path: (equality, substring, base_path_in_list)
171
172
## Publications
173
174 130 daviddavis
As an authenticated user, when creating a Publication, I can post a repo version href to be published.
175 1 bmbouter
176 130 daviddavis
As an authenticated user, I can publish a repository's latest version by posting a repository href to be published.
177
178
As an authenticated user, I can view which repository version was used to create a particular publication.
179
180
As an authenticated user, I can read Publication(s)
181
182
  - Read a Publication - id, created datetime, list of distribution hrefs, repo version
183 120 bmbouter
  - List all Publications - ordered by created datetime in descending order
184
185 130 daviddavis
As an authenticated user, I can delete publications.  
186
\- asynchronously with a lock on the repository version.  
187
\- prevented if associated with a distribution.  
188
\- single object only.
189
190 120 bmbouter
As an authenticated user, I can list publications and I have enough information to choose which ones to delete.
191
192
  - choose by created (older ones or perhaps latest)
193
  - choose not associated to a distribution.
194
  - does not imply filtering
195
196
As an authenticated user, I can list publications and i have enough information to select a publication to be associated with a distribution.
197
198
  - choose by created (latest or just by publish date)  
199
    \- manual promotion. "My rawhide publication has been tested and now I want to promote it to stable".  
200
    \- rollback to an earlier publication.
201
  - does not imply filtering
202 109 amacdona@redhat.com
203 72 mhrivnak
As an authenticated user, I can determine if and how a publication is distributed.
204 1 bmbouter
205 66 mhrivnak
## Sync and Publish
206 19 bmbouter
207
As an authenticated user, I can trigger an importer to sync. \[done\]
208
209
  - I can follow the progress of all syncs. (Syncs are asynchronous.)
210
  - I cannot pass "sync" options.
211 68 mhrivnak
  - Auto-publish is not included as an importer property.
212 71 mhrivnak
213 70 mhrivnak
As an authenticated user, I can trigger a publisher to publish. \[done\]
214 1 bmbouter
215 102 bmbouter
  - I can follow the progress of all publishes. (Publishes are asynchronous.)
216 29 bmbouter
  - I cannot pass "publish" options.
217 99 bmbouter
218 113 bmbouter
## Content Manipulation
219 99 bmbouter
220
#### Uploading Artifacts
221
222
As an authenticated user, I can create an Artifact by uploading a file. \[done\]
223 113 bmbouter
224 99 bmbouter
As an authenticated user, I can specify a size and/or digest to validate the uploaded file. \[done\]
225
226
#### Creating Content Units
227 101 bmbouter
228 1 bmbouter
As an authenticated user, I can create a content unit by providing the content type (in the URL), references to Artifacts, and the metadata supplied in the POST body. \[done\]
229 101 bmbouter
230 126 amacdona@redhat.com
#### Simple Copy
231
232 101 bmbouter
As an authenticated user, I can search (synchronous call) a repository's content using filtering.  
233
<span style="color:red;">\* note: In a separate call (async), I can add this content to another repository. This is effectively a copy operation in two calls.</span>
234
235
As an authenticated user, I can import all content from one repository into another repository in a single async call. (Clone use case)
236
237
  - I can follow the progress. (adding are asynchronous).
238
239
#### Complex Copy
240
241
As a plugin writer I can provide a rich search features with abitrary viewsets. e.g. depsolving, verisoning, etc
242
243
Examples of specific plugin use cases motivating the above general viewset
244
245 1 bmbouter
  - As an authenticated user, I can add an Errata from one repository to another repository along with packages mentioned in the Errata and all their dependencies that are present in the source repository.
246 101 bmbouter
  - As an authenticated user, I can add bunch of dependencies and store n versions back for each RPM.
247 1 bmbouter
  - As an authenticated user, I can use depsolving and versioning copy features together
248 71 mhrivnak
  - As an authenticated user, I can copy a puppet module and all of it's dependencies from one repository to another. 
249 95 bmbouter
  - As an authenticated user, I can depsolve units to be added to a destination repo based on an errata
250 1 bmbouter
251 127 bmbouter
#### Delete
252 1 bmbouter
253 127 bmbouter
As an authenticated user, I can delete a specific content unit
254
255
  - If the content unit is still in at least one repository version the delete fails
256
  - Error message saying that the unit is in use by a repo version and a link to the filter to return all of the repo versions.
257
  - Content unit deletion needs to be race condition free. For example: cannot delete a content unit during (for example)  
258
    \- sync that may be assuming the content exits.  
259
    \- copy operation
260
261
<!-- end list -->
262 1 bmbouter
263 112 bmbouter
  - As a user, I know that files (Artifacts) associated with the Content unit are not removed by this call (docs)
264
265
#### Filtering
266 1 bmbouter
267 130 daviddavis
As an authenticated user, I can filter Content by repository version information when plugin writers have provided such a filter
268 112 bmbouter
269 130 daviddavis
As an authenticated user, I can filter content by repository version
270 112 bmbouter
271
As an authenticated user, I can filter content by type
272
273 129 daviddavis
As an authenticated user, I can filter content on plugin specific attributes when plugin writers have provided such a filter
274 1 bmbouter
275 129 daviddavis
## Versioned Repositories
276
277
#### CRD
278
279 1 bmbouter
As an authenticated user, I can create a new repository version. \[[3173](https://pulp.plan.io/issues/3173)\]
280
281
As an authenticated user, I can list versions for a particular repository.
282 129 daviddavis
283
As an authenticated user, I can filter repository versions by:
284
285
  - number (equality, lt/lte, gt/gte)
286
  - content id (equality, content_in_list)
287
288
As an authenticated user, I can delete any repository version.
289
290 130 daviddavis
As an authenticated user, I can view attributes on a repository version including its base_version, importer, added/removed content ids.
291 129 daviddavis
292
#### Repository Version Content
293
294
As an authenticated user, I can retrieve read-only immutable content sets by href.
295
296
As an authenticated user, I can list the content in a particular repository version
297 1 bmbouter
298 40 bmbouter
  - All fields are included
299 1 bmbouter
  - Pagination is supported
300
  - <span style="color:red;">Filtering support</span>
301 43 bmbouter
302
As an autheticated user, I can create a new version by adding or removing content to a particular base version (default is latest).
303 129 daviddavis
304 130 daviddavis
  - I can follow the progress. (adding/removing are asynchronous).
305
  - can add and remove in a single call
306
307 95 bmbouter
As an authenticated user, I can specify the base_version of content to be the basis for the new repository version. This defaults to the latest repo version associated with the repository.
308 43 bmbouter
309 95 bmbouter
## Orphan Content Units and Artifacts
310 43 bmbouter
311 95 bmbouter
As an authenticated user, I can cause an action that cleans up **both** orphaned content units and orphaned artifacts.
312
313 1 bmbouter
  - I cannot specify the units specifically (all types).
314 22 bmbouter
  - I can follow the progress of all cleanups. (Cleanups are asynchronous.)
315
316 76 mhrivnak
## Task Management
317
318 22 bmbouter
As an authenticated user, I can list all tasks
319 76 mhrivnak
320 22 bmbouter
  - <span style="color:orange;">Filtering support on \['state', 'id', 'group'\]</span>
321
  - <span style="color:orange;">This does not include associated progress reports</span>
322
323
As an authenticated user, I can see a detail view for a specific task \[done\]
324 76 mhrivnak
325 1 bmbouter
  - all attributes of a task
326
  - all associated progress reports
327
328 77 mhrivnak
As an authenticated user, I can cancel a task \[done\]
329
330 1 bmbouter
  - don't dare to use the DELETE verb!
331
332 114 daviddavis
As an authenticated user, I can delete tasks.
333 110 daviddavis
334
As an authenticated user, I can filter tags by: \[[3144](https://pulp.plan.io/issues/3144)\]
335
336
  - state (equality, state_in_list)
337
  - started_at(started_in_range)
338
  - finished_at(finished_in_range)
339
  - worker (equality)
340 78 mhrivnak
  - parent (equality)
341 1 bmbouter
342
## Task Group
343
344 82 mhrivnak
<span style="color:red;">I can view a summary of the status of all tasks in a group</span>
345 1 bmbouter
346 121 bmbouter
## Status
347 42 dkliban@redhat.com
348 80 mhrivnak
As an unauthenticated user I can view the status of Pulp workers and resource managers. \[done\]
349 46 bmbouter
350 28 bmbouter
As an unauthenticated user I can view the status of the web server's connection to the database and message broker. \[done\]
351 110 daviddavis
352 115 daviddavis
As an unauthenticated user I can view the versions of core and each installed plugin.
353 110 daviddavis
354 115 daviddavis
## Workers
355 110 daviddavis
356
As an authenticated user, I can filter workers by: \[[3143](https://pulp.plan.io/issues/3143)\]
357
358 116 daviddavis
  - last_heartbeat (range)
359 1 bmbouter
  - name (substring)
360 83 mhrivnak
  - gracefully_stopped (equality)
361 1 bmbouter
362 83 mhrivnak
## Plugin API
363 28 bmbouter
364 83 mhrivnak
As a plugin writer, I have a plugin API that is semantically versioned at 0.x separate from the REST API \[done\]
365 28 bmbouter
366 83 mhrivnak
As a plugin writer, I can report progress with a message and state \[done\]
367 28 bmbouter
368 83 mhrivnak
As a plugin writer, I can report progress with an optional suffix \[done\]
369 28 bmbouter
370 83 mhrivnak
As a plugin writer, I can report progress with a total count of things to do an the current count of things done \[done\]
371 28 bmbouter
372 83 mhrivnak
As a plugin writer, non-fatal exceptions on the Task and are included in the Task detail. non_fatal exceptions do not cause the Task to be marked as failed, but may be interpreted by the user as not fully successful. \[done\]
373 28 bmbouter
374 84 bmbouter
As a plugin writer, the working directory is set before Task work is done and cleaned up afterwards. I should not need to interact with the file system outside of the working dir. \[done\]
375 28 bmbouter
376 83 mhrivnak
<span style="color:red;">As a plugin writer, I can provide a subclassed Importer. The importer's responsibility is to synchronize the content of a Pulp repository with the content of a remote repository. (a circular import problem needs to be discussed and may cause this to change) \[done\]</span>
377 28 bmbouter
378 83 mhrivnak
<span style="color:red;">As a plugin writer, I can provide a subclassed Publisher. The publisher's responsibility is to publish content. (a circular import problem needs to be discussed and may cause this to change) \[done\]</span>
379 28 bmbouter
380 83 mhrivnak
As a plugin writer, I can define unit types by subclassing Content models to provide concrete content unit types to be manged by the platform. \[done\]
381 28 bmbouter
382 83 mhrivnak
As a plugin writer, I can interact with and create Artifacts \[done\]
383 6 Ichimonji10
384 83 mhrivnak
As a plugin writer, my app will be discovered by Pulp's app via an entry point provided by the plugin writer \[done\]
385 1 bmbouter
386 8 Ichimonji10
As a plugin writer, I can use the plugin API to query content units/artifacts associated with a repository. \[done\]
387 1 bmbouter
388 112 bmbouter
As a plugin writer, I can add and remove content units to and from a repository. \[done\]
389
390
As a plugin writer, I have documentation that shows how I can add filters to filter content responsibly.
391
392
As a plugin writer, I have documentation on how to write a filter for my Content that can use the RepositoryContent through table.
393
394 103 bmbouter
  - note: This will allow users to filter content by repository information
395
396 106 bmbouter
## Plugin Writer "live APIs"
397
398
As a plugin writer, I can provide a Live API with arbitrary views and viewsets.  
399 108 bmbouter
As a plugin writer, I have documentation on what URLs I should -not use for my views and viewsets
400
401
Here are some concrete use cases driving the very Live API use cases above:
402
403 113 bmbouter
~~~
404
# Concrete user use cases:
405
    As an authenticated user, I can use the puppet client to fetch content from Pulp using the Forge API
406 108 bmbouter
    As an authenticated user I can use the docker client to fetch content from Pulp using the Docker v1 API
407
    As an authenticated user I can use the docker client to fetch content from Pulp using the Docker v2 API
408
409
# Concrete plugin writer use cases
410
    As a puppet plugin developer, I can provide a viewset which handles the server side of the puppet Forge v3 API
411
    As a docker plugin developer, I can provide a viewset which handles the server side of the docker v1 API
412
    As a docker plugin developer, I can provide a viewset which handles the server side of the docker v2 API
413 117 bmbouter
~~~
414 106 bmbouter
415 113 bmbouter
## Webserver Deployment
416 106 bmbouter
417 132 bmbouter
As a system administrator, I can deploy all Pulp web applications on one process  
418
As a system administrator, I can deploy the Pulp REST API exclusively in one process  
419
As a system administrator, I can deploy the Pulp content serving view exclusively in one process
420 113 bmbouter
421 132 bmbouter
As a system administrator, I can deploy all Pulp web applications inside a virtualenv.  
422
As a system administrator, I can deploy all Pulp web applications without root permissions.
423 93 bizhang
424 1 bmbouter
## CLI
425 26 bmbouter
426
We will use coreapi-cli to generate a one to one mapping of cli commands to rest api schema #3068  
427
<span style="color:orange;">We will have a wrapper for coreapi-cli. This wrapper will handle parallel progress reporting</span>
428
429
## Download API
430
431
As a plugin writer, I can download files via
432
433
  - http://
434 27 bmbouter
  - https://
435
  - file://
436 26 bmbouter
437
As a plugin writer, I can configure a downloader with:
438
439
  - Basic Auth
440
  - SSL Cert Client Auth
441
  - Custom CAs will be configured via a "trust store" either on the system or similar. Pulp will not do anything to read/load/manage CAs directly.
442
443
As a plugin writer, I can provide arbitrary behaviors for customized downloaders
444
445
  - For example token authentication in the docker plugin
446
447
As a plugin writer, I can have connection pooling/reuse
448
449
As a plugin writer, I have proxy settings
450
451
  - proxy url (containing basic auth info)
452
453 113 bmbouter
As a plugin writer, I can have great logs
454 26 bmbouter
455
As an authenticated user, I have documentation about how to use something for bandwidth limiting
456
457
As a plugin writer, I can configure the validation mechanisms used at download time
458
459 1 bmbouter
  - checksum validation - minimum (md5, sha1, sha256, sha512)
460
  - size validation
461
462 26 bmbouter
<span style="color:red;">As a plugin writer, I expect units that are missing from the remote repository to not be created in Pulp when using the immediate download policy.</span>
463
464 1 bmbouter
<span style="color:red;">As a plugin writer, I expect units that are missing from the remote repository to be created in Pulp when using background or on_demand download policies.</span>
465 26 bmbouter
466 27 bmbouter
As a plugin writer, the plugin API provides tooling whereby I can provide the content to be added and removed from the repository. This tooling supports both immediate and deferred downloading.
467 26 bmbouter
468
As a plugin writer I can manage the catalog by using ChangeSets
469 1 bmbouter
470
As a plugin writer, the plugin can participate in adding content for cases where the decision to add additional content is based content that has been downloaded.
471
472
As a plugin writer, I can fetch content myself (but I am not encouraged to do so) with code I write
473
474 56 ttereshc
As a plugin writer, I can CRUD content units
475 1 bmbouter
476
## <span style="color:red;">Consumer Profile Applicability</span>
477
478 118 bmbouter
<span style="color:red;">Using Consumer Profiles and repository bindings I can compute applicability with 2.y parity</span>
479
480 1 bmbouter
  - Performance needs to be awesome%
481
482 86 mhrivnak
## Migrations only involving Pulp 3
483 1 bmbouter
484 87 mhrivnak
Users can run "pulp-manager migrate" to migrate the database and adjust state in other locations (filesystem, message broker, ...). \[done\]
485 1 bmbouter
486
## Web Server Integration
487 122 jortel@redhat.com
488 1 bmbouter
As a user, I can have content efficiently served to me by Apache by Pulp using the X-SEND response headers. \[done\]  
489 122 jortel@redhat.com
As a user, I can have content efficiently served to me by Nginx by Pulp using the X-Accel-Redirect response headers. \[done\]
490 105 bmbouter
491 132 bmbouter
As a user, I can have an Ansible role to install Apache which enables Apache integration for Pulp and configures Apache to serve Pulp. \[[2921](https://pulp.plan.io/issues/2921)\]  
492
As a user, I can have an Ansible role to install Nginx which enables Nginx integration for Pulp and configures Nginx to serve Pulp. \[[2922](https://pulp.plan.io/issues/2922)\]
493 87 mhrivnak
494 89 mhrivnak
## Glossary
495 88 mhrivnak
496 131 bmbouter
Add (Content Unit): An operation causing a new repository version to contain a content unit(s)
497 1 bmbouter
498 131 bmbouter
Applicability - A plugin defined term meaning when a package update available in a repository is applicable to a given consumer as determined by the Consumer Profile.
499 130 daviddavis
500 119 bmbouter
Artifact - A file associated with one content (unit). Artifacts are not shared between content (units). Create a content unit using an uploaded file ID as the source for its metadata. Create Artifacts associated with the content unit using an uploaded file ID for each; commit as a single transaction.
501 1 bmbouter
502
Consumer Profile - A set of installed units on a specific machine. In Pulp3 this machine is not a "consumer" in the same sense as Pulp2. Pulp is not "managing" the machine anymore; Pulp3 only collects Profile information.
503
504 131 bmbouter
Content (unit) - A single piece of content manged by Pulp. Each file associated with a content (unit) is called an Artifact. Each content (unit) may have zero or many Artifacts.
505 1 bmbouter
506
Distribution: Where and how the content app serves a Publication. i.e. http vs https and base path component of the URL. A Distribution defines:
507
508
  - the base path of the repository publication (required)
509
  - serving via http (default=False)
510
  - serving via https (default=True)
511
  - relationship w/ a Publisher for auto-distribution (should be allowed to be NULL)
512 130 daviddavis
  - relationship with Publication (should be allowed to be NULL)
513 132 bmbouter
514
Live API: a viewset endpoint contributed by plugin. For examples see the [associated MVP section](https://pulp.plan.io/projects/pulp/wiki/Pulp_3\_Minimum_Viable_Product#Plugin-Writer-live-APIs)
515 131 bmbouter
516
Orphan Artifact: An Artifact that is associated with 0 Content Units and 0 Publications
517
518
Orphan Content (unit): A content unit that is a member of 0 repository versions
519
520
Remove (content unit): An operation causing a new repository version to not contain a content unit(s)
521
522
Repository - A named collection of repository versions.
523
524
Repository Version - An immutable set of content which is versioned by a sequential number.