-
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
Physical server routing #1162
Physical server routing #1162
Conversation
@AparnaKarve ping |
"physical_server_blink_loc_led" => [:blink_loc_led, "Blink LED"], | ||
"physical_server_turn_on_loc_led" => [:turn_on_loc_led, "Turn On LED"], | ||
"physical_server_turn_off_loc_led" => [:turn_off_loc_led, "Turn Off LED"]}.freeze | ||
|
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.
@gabrielsvinha Since this is a PR that just shows us the basic show_list
view with a basic toolbar, can you remove the ACTIONS
hash and all related code around it?
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.
All you really need for this first pass is the show_list
method.
Please remove all the other unused methods that are never called.
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.
Done.
d3b608e
to
3211b95
Compare
@miq-bot assign @AparnaKarve |
@gabrielsvinha I'm thinking if we should also include Since
|
@AparnaKarve This one: #1169 |
Looks like #1169 would also have to be broken down into smaller functioning units. Can you include the |
Without the toolbar also? |
Either with a basic toolbar or without the toolbar |
60b5ec3
to
9f619d1
Compare
@lastaction = session[:physical_server_lastaction] | ||
end | ||
|
||
def collect_data(server_id) |
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.
Can you delete this method too?
It might be needed later, but not now.
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.
Done.
The rails log shows this error since it is not able to find physical_server.png
Do you have a PR that would address this? Other than this issue, and the comment above to remove the |
bb8ca87
to
c0f9dbe
Compare
Checked commit gabrielsvinha@c0f9dbe with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
- Add physical server controller. - app/controllers/physical_server_controller.rb - Implement show_list view and basic toolbar - Implements show view for specific physical server
@AparnaKarve The PR we are thinking is #1252 |
@gabrielsvinha Thanks. @dclarizio This PR gets us the basic Physical Server view. |
@gabrielsvinha, @AparnaKarve, @dclarizio : we have invested a significant effort to remove the
This PR introduces back the stuff that we have spent time removing. See: Please, make sure that these files go away in the follow up PRs.
|
@gabrielsvinha see Martin's note above ... might be best to just do a follow up PR with these changes alone ... Thx, Dan |
@martinpovolny Thanks for catching that. @gabrielsvinha The original PR #755 for Physical Server view had a lot of these issues addressed. |
This Pull Request adds the specific routes and controller.
Obs: This Pull Request fixes the physical_server.png error (#1252)