-
Notifications
You must be signed in to change notification settings - Fork 897
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
Exposing regions as a primary collection /api/regions #14109
Conversation
abellotti
commented
Feb 28, 2017
- /api/regions
- Support queries of /api/regions
- Support "query" post for bulk queries
This is a precursor for the settings support enhancements. WIP, missing:
|
@imtayadeway please review /cc @h-kataria for the miq_product_features changes, thanks! |
:identifier: region | ||
:options: | ||
- :collection | ||
:verbs: *gp |
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.
Since you're adding post, can one update a region with the default implementation?
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.
not today. This post is just for the bulk query implemented.
But shortly, it will also be used for updating settings.
ping @imtayadeway @h-kataria any changes needed here ? |
@abellotti could you add a test to prove that the code added for region member GETs is needed/works? Otherwise LGTM |
- /api/regions - Enhanced miq_product_features to support Region queries/edits - Support queries of /api/regions - Support "query" post for bulk queries
Thanks @imtayadeway !! regions resources spec added. |
Checked commits abellotti/manageiq@65f703f~...4f674d3 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
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.
product features changes look good
Thanks @h-kataria for the review |
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.
👍 LGTM