Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apim api get querying remote hosts users individually #462

Open
emmanuel-galindo opened this issue Mar 8, 2024 · 2 comments
Open

apim api get querying remote hosts users individually #462

emmanuel-galindo opened this issue Mar 8, 2024 · 2 comments
Labels
question Further information is requested

Comments

@emmanuel-galindo
Copy link

APIM-CLI version

1.14.2

API-Management version

7.7.20231130

Question

Hi,
checking the DEBUG of "apim api get" command, it seems to be loading the user details of the remotehosts entries.
It does this for each user (/api/portal/v1.4/users/{id}).
In our implementation we have a lot of remote hosts defined, added by different users, and it ends up adding a lot of delay for each export we need to do.
I wonder if by just calling /api/portal/v1.4/users wouldn't be enough to get what apim-cli needs at this stage?

Or if there's any cache that can be setup for users?

@emmanuel-galindo emmanuel-galindo added the question Further information is requested label Mar 8, 2024
@rathnapandi
Copy link
Member

@emmanuel-galindo
Copy link
Author

emmanuel-galindo commented Mar 11, 2024

Hi @rathnapandi but is there any cache, or anything, to improve "apim api get" execution for remote hosts? I guess there are no more caches that could be enabled? or I am not reading anything there to make it faster when iterating "apim api get" many times on the same instance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants