-
Notifications
You must be signed in to change notification settings - Fork 70
autocomplete: allow searching for VMs belonging to projects #185
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
base: main
Are you sure you want to change the base?
autocomplete: allow searching for VMs belonging to projects #185
Conversation
@shwstppr, can we include this one in the CMK 6.5 release? |
✅ Build complete for PR #185. 🔗 Download the cmk binaries (expires on September 01, 2025) |
@bernardodemarco |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm
I expect all the list behaviours to be consistent.
I think we could add global flag or global setting like
|
@bernardodemarco please check the suggestion from Wei. I guess it will be good to have the consistency. |
@weizhouapache @shwstppr, thanks for your review!
Yes, I totally agree. The problem, however, is that the ACS APIs themselves are not consistent regarding the
|
Thank you, @bernardodemarco, for looking into the suggestions. For now, I'm moving this PR to the next milestone to allow a bit more discussion and reach a consensus. |
thanks @shwstppr @DaanHoogland @bernardodemarco I agree with @shwstppr |
Currently, when searching for VMs through the CloudMonkey's autocomplete, VMs belonging to projects are not listed. For instance, below are listed all existing VMs of the cloud environment:
However, the projects' VMs are not listed as available options in the autocomplete.
This PR, therefore, adds the
projectid=-1
parameter to thelistVirtualMachines
API call that is performed by CloudMonkey when fetching the existing VMs. With that, it is possible to select VMs that belong to projects: