-
Notifications
You must be signed in to change notification settings - Fork 898
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 Routers REST API #15450
Network Routers REST API #15450
Conversation
@gildub this looks promising, but can you add some tests to prove that this works? |
@imtayadeway, I added the test file, thanks. |
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.
Looks great! I just have the exact same questions as #15524
|
@@ -134,6 +134,11 @@ def test_collection_bulk_query(collection, collection_url, klass, id = nil) | |||
test_collection_query(:hosts, hosts_url, Host, :guid) | |||
end | |||
|
|||
it 'queries NetworkRouters' do |
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.
Similar question to https://github.com/ManageIQ/manageiq/pull/15524/files#r127473371
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.
@imtayadeway, sure although I believe all those test could go in the collection but that would be the purpose of another PR ;)
Add capability to retrieve network routers directly
Checked commits https://github.com/gildub/manageiq/compare/df825c7fc26f429ba8209e18a03a0670f44ef1a7~...cde93c57c21bfd3cd77d3673d9607bdd896e033e 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.
Great work @gildub , thanks!
Thanks @gildub for the API Enhancement. LGTM !! |
Add capability to retrieve network routers directly