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

[RFE] Ability to change Catalog Item Request Info via API #1196

Open
eggoide opened this issue Jan 24, 2023 · 9 comments
Open

[RFE] Ability to change Catalog Item Request Info via API #1196

eggoide opened this issue Jan 24, 2023 · 9 comments
Assignees

Comments

@eggoide
Copy link

eggoide commented Jan 24, 2023

Hi, is there a way how to set or reset VM for a catalog item using rails or API? I can do it in GUI on the following tab:
image

but I need to do it in a script. I cannot find any relation between a Catalog Item and the data in Request Info. How can I retrieve them and change them if needed?

Thank you very much!

@Fryguy
Copy link
Member

Fryguy commented Jan 26, 2023

It's possible that's not exposed via the API, as those provisioning forms are some of the oldest in the app (from before we even had an API). I'm going to transfer this to the API repo and mark as an enhancement request.

@Fryguy Fryguy transferred this issue from ManageIQ/manageiq Jan 26, 2023
@Fryguy Fryguy changed the title How to manually change VMWare template for a catalog item? [RFE] Ability to change Catalog Item Request Info via API Jan 26, 2023
@Fryguy
Copy link
Member

Fryguy commented Jan 26, 2023

@kbrock Do you know if we have this?

@kbrock
Copy link
Member

kbrock commented Feb 17, 2023

We have a spec around using the API to update a request. I'm assuming you are talking about the request rather than the contents of the catalog item.

Knowing the actual fields to set here would be tricky, but it looks like it is possible.

https://github.com/ManageIQ/manageiq-api/blob/master/spec/requests/requests_spec.rb#L354-L369

@kbrock
Copy link
Member

kbrock commented Mar 27, 2023

Now that we know we have the endpoint.
Is this endpoint good enough?
Or do we have some changes we need?

@miq-bot miq-bot added the stale label Jul 3, 2023
@miq-bot
Copy link
Member

miq-bot commented Jul 3, 2023

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

@miq-bot miq-bot closed this as completed Oct 9, 2023
@miq-bot
Copy link
Member

miq-bot commented Oct 9, 2023

This issue has been automatically closed because it has not been updated for at least 3 months.

Feel free to reopen this issue if this issue is still valid.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

@kbrock kbrock reopened this Oct 12, 2023
@kbrock kbrock removed the stale label Oct 12, 2023
@miq-bot miq-bot added the stale label Jan 15, 2024
@miq-bot
Copy link
Member

miq-bot commented Jan 15, 2024

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

2 similar comments
@miq-bot
Copy link
Member

miq-bot commented Apr 22, 2024

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

@miq-bot
Copy link
Member

miq-bot commented Jul 29, 2024

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants