-
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
Fix Add Datasource via existing driver Issue #941
Fix Add Datasource via existing driver Issue #941
Conversation
@miq-bot add_label middleware, bug, fine/yes |
This pull request is not mergeable. Please rebase and repush. |
If this is a BZ, please paste a link to it. |
@miq-bot add_label angular dialogs |
@abonas yes, I don't usually link to BZs, screenshots, etc until it's not WIP. |
Ignoring the codeclimate warning here. The similiar code warning is a false positive and 3 instances of 'Replace double quotes with Single Quotes' should be in a different PR like we discussed last week. |
why? :) |
@miq-bot assign @karelhala |
@karelhala @mtho11 what's the status of this bug fix? |
@abonas from my perspective it is done. Just need @karelhala to verify the fix doesn't show repeated items in the existing JDBC driver list. So, the test is to add several JDBC drivers and see that they show up and do not repeat. |
Github didn't submit my codereview... Looks good, however as codeclimate complains use single quotes instead of double quotes please. |
…main if it is empty.
…o external Wildfly services.
Checked commits https://github.com/mtho11/manageiq-ui-classic/compare/52e2c50e2044bcc238542025428b804eb50745f0~...1d9ca128dc54919271857ff5c67d924e02026e9d with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
Double quotes changed to single quotes. The other codeclimate issue is a false positive. |
@miq-bot assign @dclarizio |
Fix Add Datasource via existing driver Issue (cherry picked from commit e928b35)
Fine backport details:
|
This fixes an issue where the JDBC Driver for existing drivers that was not pulling the data from the WildFly/EAP server but instead, incorrectly from defaults. So it would always try to create the datasource using the default name (like 'h2') instead of the custom name returned from the Wildfly server. Another issue, where username/password/securityDomain was empty it would send them as empty strings to the server instead of not sending them at all.
Links
Testing Instructions
As this is an asynchronous operation, the best way to test this is to monitor the logs of the WildFly/EAP server and make sure there are no errors during Datasource creation. Running the Hawkular Agent in debug logging mode helps if there are issues