[katello-devel] Changeset promotion api/cli in master
Justin Sherrill
jsherril at redhat.com
Mon Jul 25 13:01:06 UTC 2011
On 07/25/2011 07:24 AM, Lukas Zapletal wrote:
>
> Good work, Tomas.
>
>> - new async api route POST
>> /api/organizations/:org_name/environments/:env_id/changesets/:id/promote
>
> Isn't this against the "two-levels-max" rule?
>
> I mean this URL could be effortlessly changed to:
>
> /environments/:env_id/changesets/:id/promote
>
> since the environment id is unique enough. I guess it could be even
> changed to:
>
> /changesets/:id/promote
>
> since id is unique too in this case.
>
> Objections?
>
None! The UI has this same two level url scheme for promotions and I've
been meaning to change it (although its probably not quite as simple as
the UI). I'll see about changing the UI when i get a chance.
-Justin
More information about the katello-devel
mailing list