-
Notifications
You must be signed in to change notification settings - Fork 357
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
Remove middeware topology #3141
Remove middeware topology #3141
Conversation
fe36ebd
to
552f190
Compare
@martinpovolny I did not add you as a reviewer, not sure what automatic process did :) |
@miq-bot rm_label wip |
@miq-bot add_label gaprindashvili/no |
@miq-bot add_label topology |
@karelhala @mtho11 please review and verify the topology is removed for middleware |
ad94601
to
d406702
Compare
Checked commit abonas@d406702 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0 app/helpers/ems_middleware_helper/textual_summary.rb
app/views/layouts/_tabs.html.haml
|
This pull request is not mergeable. Please rebase and repush. |
Please, rebase. |
d406702
to
8153893
Compare
rebased |
tests fail around provider_foreman_controller_spec which is unrelated to this patch |
@miq-bot rm_label unmergeable |
This pull request is not mergeable. Please rebase and repush. |
8153893
to
e7fbfa3
Compare
tests failures seem unrelated |
rerunning tests |
e7fbfa3
to
2cd42b9
Compare
@martinpovolny ready for merge? |
@karelhala please have a look on this as well. 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 good.
%i(properties status), | ||
%i(relationships smart_management) | ||
] | ||
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.
Why is this here?
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.
excellent question :)
Without this part, it inherits textual_group_list from https://github.com/ManageIQ/manageiq-ui-classic/blob/master/app/controllers/ems_common.rb#L24
which has topology defined.
And that causes opening several middleware screens to crash because "no method" etc.
So overriding it without the topology part solved the problem.
Remove the implementation of middleware topology - ui and backend
@miq-bot add_label middleware