[Pulp-dev] Let's use immutable resource URIs for all resources in pulp 3

Jeff Ortel jortel at redhat.com
Thu Nov 9 20:27:09 UTC 2017


+1

On 11/09/2017 02:01 PM, Dennis Kliban wrote:
> Pulp 3 currently uses a resource's 'name' attribute to form a URI for that resource. However, the name is
> usually mutable and as a result can cause some clients to have references to resources that no longer exist.
> All resources in Pulp 3 have a primary key that is a UUID. I propose that we switch to using the UUID for
> forming the resource URI.
> 
> As I was working on a related issue[0], I put together a PR[1] that does this for the repository resource. I
> just now filed an issue[2] to do the same thing for Importers and Publishers.
> 
> Thoughts?
> 
> 
> [0] https://pulp.plan.io/issues/3101
> [1] https://github.com/pulp/pulp/pull/3218
> [2] https://pulp.plan.io/issues/3125
> 
> 
> _______________________________________________
> Pulp-dev mailing list
> Pulp-dev at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-dev
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 847 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20171109/8adb6ae1/attachment.sig>


More information about the Pulp-dev mailing list