Bug 1753806 - [RFE] Enhance api to allow configuration of region, zones, and servers
Summary: [RFE] Enhance api to allow configuration of region, zones, and servers
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.10.8
Hardware: All
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.12.0
Assignee: Daniel Berger
QA Contact: Parthvi Vala
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1805844
TreeView+ depends on / blocked
 
Reported: 2019-09-19 23:18 UTC by Tuan
Modified: 2023-09-07 20:38 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1805844 (view as bug list)
Environment:
Last Closed: 2020-03-20 15:44:20 UTC
Category: Feature
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Martin Povolny 2019-10-17 17:53:07 UTC
Advanced settings for Servers, Zones, Regions can be modified.

Here's the documentation:

https://www.manageiq.org/docs/reference/latest/api/reference/settings

You are right that is't now advertised in the output.


Unfortunately I can confirm that the collections themselves do not allow editing.

Comment 3 Martin Povolny 2019-10-17 17:53:55 UTC
> You are right that is't now advertised in the output.

You are right that is't NOT advertised in the output.

Comment 4 Daniel Berger 2019-10-18 13:58:03 UTC
You can currently modify the advanced settings with a request like so, assuming you have admin privileges:

curl --user admin:smartvm -X PATCH --data '{"api":{"authentication_timeout":"44.seconds"}}' http://localhost:3000/api/regions/1/settings

I'll see about adding create/edit/delete for regions, servers and zones directly, as that does not appear to be possible.

Comment 5 Daniel Berger 2019-10-23 13:49:32 UTC
Part 1 complete: https://github.com/ManageIQ/manageiq-api/pull/690

Comment 6 Dave Johnson 2019-12-18 15:01:43 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 8 Daniel Berger 2019-12-18 15:54:09 UTC
Actually, I guess target release is GA, so no backporting required.

Moving to POST.

Comment 10 Satoe Imaishi 2020-02-27 20:53:09 UTC
Remove ability to delete a region - https://github.com/ManageIQ/manageiq-api/pull/758


Note You need to log in before you can comment on or make changes to this bug.