> +1. Exposing UUIDs is definitely preferable to using hrefs as ids. "The app just looks at the relative path" -> what if pulp wants the flexibility to change repositories end point (highly improbable but you never know).
Is it better, though? URIs were chosen specifically with immutability in mind. "Cool URIs don't change." This is reflected in the application's behaviour. If one changes an object's attributes (e.g. UUID), its href doesn't change. And in what case are hostname and port changing? If that's a common deployment issue, I would contend that the deployment at hand is screwed up.
_______________________________________________ Pulp-dev mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-dev
