-
Notifications
You must be signed in to change notification settings - Fork 358
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
Network provider: Refactor items to use API routes #737
Comments
@h-kataria, could you please assign it to me? |
@gildub The main idea here would be to get rid of controller routes and actions that feed a json to the angular form, and replace those actions in the angular controller with REST API calls. To give you an example, in your most recent PR #716, Can you try the following API and see if it gets you the output that you need to replace
*Replace the |
The That's great, I can get started. Meanwhile, my initial wonder was about the other network resources available from the web service end. I suppose I have to submit a patch to manageiq core repo in order to add |
Yes, that is correct... and you'll find plenty of examples on how to add an API endpoint for a collection. |
The API provides for the resource for the Security Groups and related FW rules through the relationship. |
Subnets need the REST API that was just added: ManageIQ/manageiq#15248 |
This issue has been automatically marked as stale because it has not been updated for at least 6 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! |
@gildub is this still a valid issue? If yes, lease remove the stale label. If not can you close. |
@JPrause, no more need for it. Thanks. |
The new practice is to use API routes instead of dedicated controllers methods for feeding Angular forms. We need to re-align the network items to make use of it.
The text was updated successfully, but these errors were encountered: