Skip to content
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

Automatic detection of hawkular endpoint #37

Merged
merged 1 commit into from
Jan 3, 2017

Conversation

nimrodshn
Copy link
Contributor

@nimrodshn nimrodshn commented Dec 28, 2016

Added automatic detection of Hawkular hostname from route when endpoint is not specified.

When the user does not specify the Hawkular client hostname upon adding a new container provider (i.e. Hawkular endpoint is left blank) we had taken it from the hostname - this behavior is changed in this PR - now we are taking the hostname from the Route.

cc: @yaacov @enoodle @simon3z

(converted from ManageIQ/manageiq#12530)

Added tests

refactored get_hostname_from_routes

(cherry picked from commit b9d7bea3e734d433c2f217aec2c2c6146375644b)
@nimrodshn nimrodshn closed this Dec 28, 2016
@nimrodshn nimrodshn reopened this Dec 28, 2016
@miq-bot
Copy link
Member

miq-bot commented Dec 28, 2016

Checked commit nimrodshn@6643b0e with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1
2 files checked, 0 offenses detected
Everything looks good. 🏆

@nimrodshn nimrodshn closed this Dec 28, 2016
@nimrodshn nimrodshn reopened this Dec 28, 2016
@martinpovolny martinpovolny added this to the Sprint 52 Ending Jan 23, 2017 milestone Jan 3, 2017
@martinpovolny martinpovolny merged commit 0dffd5c into ManageIQ:master Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants