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

Adding support for https connection #102

Merged
merged 3 commits into from
Jan 26, 2015
Merged

Conversation

peterneubauer
Copy link

solves #101

@@ -17,6 +17,7 @@ class Riemann::Tools::Rabbitmq
opt :monitor_pass, 'RabbitMQ monitoring user password', type: :string
opt :monitor_port, 'RabbitMQ monitoring port', type: :int, default: 15672
opt :monitor_host, 'RabbitMQ monitoring host', type: :string, default: "localhost"
opt :monitor_ssl, 'RabbitMQ ssl', type: :string, default: "false"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type :bool, perhaps?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might actually call this :monitor_tls since it's TLS, not SSL, right? Or maybe have it be a string but call it :protocol?, and have values be http or https?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, a protocol string might be easiest but too verbose. I it is a string, why not expose "url" to provide custom schemes overriding the rest?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. Let's just go for a boolean then and I'll be happy to merge. :)

@peterneubauer
Copy link
Author

Done.

@aphyr
Copy link
Collaborator

aphyr commented Jan 26, 2015

Terrific, thanks so much @peterneubauer! Released as a part of riemann-tools 0.2.4, available now. :)

aphyr added a commit that referenced this pull request Jan 26, 2015
Adding support for https connection
@aphyr aphyr merged commit f468ee3 into riemann:master Jan 26, 2015
@aphyr
Copy link
Collaborator

aphyr commented Jan 26, 2015

Scratch that, 0.2.5, sorry. :)

@peterneubauer
Copy link
Author

Awesome, thanks for the fast merge @aphyr !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants