-
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
Ensure that error indicator appears on Hawkular tab #1172
Ensure that error indicator appears on Hawkular tab #1172
Conversation
@moolitayer I have fixed the I figured that with this change, we would also need the If this resolves the bug, we can make identical changes for RHEV for the |
0f16e59
to
abd1daf
Compare
@AparnaKarve tested and this works great. The mandatory hostname & port addition is also good. I don't think we should add hawkular_password and hawkular_verify. I'm pretty sure it's by design that in our hawkular tab we do not display passwords and use the same one from our default endpoint. |
@moolitayer Thanks for testing. I will remove the password and verify fields for Hawkular |
abd1daf
to
cac62c7
Compare
Checked commits AparnaKarve/manageiq-ui-classic@e5bc475~...cac62c7 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
@moolitayer I have adjusted the last commit (cac62c7) to not display the Token fields for Hawkular. The only change that I have made is Hostname and Port are now Required fields. |
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.
LGTM 👍
@dclarizio this should not go to fine. We must add together with this an ability to disable metrics explicitly. BTW why is this fine/yes if the bz is targeted at 5.8.1 ? |
removing label per #1172 (comment). |
Fine IS 5.8, so if we want it in any version of 5.8, we would need to label as |
It was possible to add such provider prior to ManageIQ#1172. This makes Edit not crash but display port 443 (and save it upon Save). https://bugzilla.redhat.com/show_bug.cgi?id=1432070
Thanks for the explanation @dclarizio All pieces should be ready by next release |
@miq-bot remove_label fine/no |
@moolitayer which PR needs to go together with this PR for Fine branch? Marking as |
Thanks @simaishi I've responded on https://bugzilla.redhat.com/show_bug.cgi?id=1437138 . We either include all fixes or none in 5.8.1 |
@miq-bot add_label fine/no |
It is possible to add such provider on fine (fixed in ManageIQ#1172, fine/no). This makes Edit not crash but display port 443 (and save it upon Save). https://bugzilla.redhat.com/show_bug.cgi?id=1432070
For a time (before ManageIQ/manageiq-ui-classic#1172), it was possible in UI to save containers provider without hawkular port and then it'd be impossible to edit the provider as UI would crash. This migration normalizes such endpoints to port 0, still invalid but possible to edit in UI, so UI won't need a nil special case. https://bugzilla.redhat.com/show_bug.cgi?id=1432070
For a time (before ManageIQ/manageiq-ui-classic#1172), it was possible in UI to save containers provider without hawkular port and then it'd be impossible to edit the provider as UI would crash. AFAICT, such providers were effectively using port 443 (builds hawkular url https://<host>/ without port, HTTPS defaults to 443). This migration normalizes such endpoints to port 443. This makes it possible to edit in UI, without adding a nil special case. We'll also be able to simplify hawkular connection code in future. https://bugzilla.redhat.com/show_bug.cgi?id=1432070
For a time (before ManageIQ/manageiq-ui-classic#1172), it was possible in UI to save containers provider without hawkular port and then it'd be impossible to edit the provider as UI would crash. AFAICT, such providers were effectively using port 443 (builds hawkular url https://<host>/ without port, HTTPS defaults to 443). This migration normalizes such endpoints to port 443. This makes it possible to edit in UI, without adding a nil special case. We'll also be able to simplify hawkular connection code in future. https://bugzilla.redhat.com/show_bug.cgi?id=1432070
Display the
Hawkular
tab error indicator while adding a new Container Provider.https://bugzilla.redhat.com/show_bug.cgi?id=1445735