Hi Diego, long time no see!

The call seems to be part of the OS-KSADM extension [1], right? jclouds
does not implement it yet, but adding it to the TenantAdminApi [2] would be
pretty straightforward. Since this addition shouldn't introduce breaking
changes, there is no problem in adding it to 2.0 and 1.9.x.

We love pull requests. Wanna try sending us a path [3]?


HTH!

I.


[1] http://developer.openstack.org/api-ref-identity-v2-ext.html
[2]
https://github.com/jclouds/jclouds/blob/master/apis/openstack-keystone/src/main/java/org/jclouds/openstack/keystone/v2_0/extensions/TenantAdminApi.java
[3] https://cwiki.apache.org/confluence/display/JCLOUDS/How+to+Contribute

On 10 April 2015 at 13:48, Diego Parrilla Santamaría <
[email protected]> wrote:

> Hi folks,
>
> this is an issue we have been struggling with for a while and now it's
> becoming mandatory to find a workaround for how we do it now:
>
> Our goal is to get what users are in a specific tenant using Keystone API.
> There is a well known call to the API that can return the list of users:
>
> curl -i -X GET http://api.stackops.int:35357/v2.0/tenants/<tenant-id>/users
> -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: TOKEN"
>
> But we can't find an equivalent call in JClouds. The way we do it now is:
> 1) Get the list of users
> 2) Check if any user has a role in the tenant. If so, add the user to the
> users in the tenant list.
>
> The process hits heavily on Keystone and it's fine for a few hundreds of
> tenants, but  now we are facing performance issues when dealing with
> thousands of tenants and users.
>
> So my question(s) are:
> 1) Is this call implemented in JClouds and we don't know how to use it?
> 2) Any plans for future implementations in 1.9.x and 2.0?
> 3) Are there a good reason for not to have this API call implemented?
> Maybe I'm missing something.
> 4) Any chance of having our code implementing this feature in JClouds?
>
> Cheers!
> Diego
>
>  --
> Diego Parrilla
> <http://www.stackops.com/>*CEO*
> *www.stackops.com <http://www.stackops.com/> | *
> [email protected] | +34 91 005-2164 | skype:diegoparrilla
>

Reply via email to