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

Brian Bouterse bbouters at redhat.com
Fri Nov 10 21:04:05 UTC 2017


+1

On Thu, Nov 9, 2017 at 7:10 PM, Daniel Alley <dalley at redhat.com> wrote:

> +1
>
> On Thu, Nov 9, 2017 at 3:27 PM, Jeff Ortel <jortel at redhat.com> wrote:
>
>> +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
>> >
>>
>>
>> _______________________________________________
>> Pulp-dev mailing list
>> Pulp-dev at redhat.com
>> https://www.redhat.com/mailman/listinfo/pulp-dev
>>
>>
>
> _______________________________________________
> Pulp-dev mailing list
> Pulp-dev at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20171110/886eda6a/attachment.htm>


More information about the Pulp-dev mailing list