[katello-devel] Listing environments

Todd B Sanders tsanders at redhat.com
Wed May 25 12:32:16 UTC 2011


On 05/25/2011 07:35 AM, Bryan Kearney wrote:
> On 05/25/2011 06:59 AM, Tomas Strachota wrote:
>> Hi,
>>
>> at the moment the api for listing environments omits the locker. I guess
>> it's because of the special role the locker plays.
>>
>> Currently you can access it via
>> /organizations/<org_name>/environments/locker/
>> because everybody knows its name. But when we switch to use integer IDs
>> for environments, you have no chance to find out what the locker's ID
>> is. Therefore I think we should include it to the list of environments.
>>
>> Opinions?
>>
>
> I would agree.. as long as we throw errors around deleting the 
> locker.. since that will not be allowed.
>
> -- bk
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
As well as disallow system registration to the locker.  Will RHSM use 
this api to populate an environment selector, if so...the locker would 
need to be filtered out.

-Todd




More information about the katello-devel mailing list