-
Notifications
You must be signed in to change notification settings - Fork 356
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
Add UI support for Pod to PV relationship #682
Conversation
a82b5f8
to
3b9974a
Compare
def textual_pods_using_persistent_volume | ||
link = url_for_only_path(:id => @record.id, :action => "show", :display => "container_groups") | ||
textual_link(@record.container_groups, :as => ContainerGroup, :link => link) | ||
end |
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.
@martinpovolny textual_link
didn't generate the right url since it is a complex relationship. Any other way to do this other than the above?
3b9974a
to
8fe1fe8
Compare
PTAL @simon3z @zakiva @moolitayer |
@nimrodshn please add the relevant bugzilla (top comment) |
@moolitayer Done. |
@nimrodshn you are missing a navbar addition |
fe7b4df
to
2abb074
Compare
@moolitayer Done, PTAL. |
@nimrodshn need to add count of records in the side bar button, e.g. |
2abb074
to
09f55cd
Compare
refactored small mistakes refactored small mistakes refactored small mistakes refactored small mistakes refactoring refactoring refactored navbar refactored navbar
09f55cd
to
4586f47
Compare
Checked commit nimrodshn@4586f47 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
@nimrodshn @moolitayer do we need to fix tests for travis? |
@simon3z ran the tests locally and they pass - its just pending the back-end merge. |
@miq-bot add_label blocker |
@himdel PTAL ? |
Test failure is due to missing backend. @nimrodshn is working on getting backend reviewed and merged. |
@nimrodshn Please restart tests |
Restarted travis. |
@martinpovolny can you review this please? or merge unless there aren't any offenses? |
Add UI support for Pod to PV relationship (cherry picked from commit 5630694) https://bugzilla.redhat.com/show_bug.cgi?id=1447049
Fine backport details:
|
This is part of an effort to support the Pod to PV relationship - Such that one could be able to view which pods are using a given persistent volume(if the are any).
![screenshot from 2017-03-14 18-00-08](https://cloud.githubusercontent.com/assets/8366181/23915439/c484dac6-08f1-11e7-82e4-8153d8b79336.png)
![screenshot from 2017-03-14 18-00-15](https://cloud.githubusercontent.com/assets/8366181/23909899/a7522ec4-08e0-11e7-9cfd-c058d38de967.png)
After click:
cc: @simon3z @zakiva
related to: ManageIQ/manageiq#14231
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1402329