[katello-devel] Changeset promotion api/cli in master

Lukas Zapletal lzap at redhat.com
Mon Jul 25 11:24:58 UTC 2011


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?

-- 
Later,

  Lukas Zapletal | E32E400A
  RHN Satellite Engineering
  Red Hat Czech s.r.o. Brno




More information about the katello-devel mailing list