Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Adding Jolokia authentication support #227

Merged
merged 1 commit into from
Feb 4, 2020
Merged

Conversation

EladLeev
Copy link
Contributor

Hey,
We use user & password in order to authenticate to Jolokia in our organization.
I added the ability to provide it by passing 2 more arguments - --jolokia-password and --jolokia-user.

In case of bad authentication credentials (401), the user will face Jolokia Authentication Failed. Exiting. error.

I updated the docs/source/kafka_rolling_restart.rst doc as well.

Thanks 🙃

@Baisang
Copy link
Contributor

Baisang commented Jan 3, 2020

@EladLeev , this seems reasonable and thank you for contributing!

Would you mind squashing your commits first?

Adding the ability to authenticate to Jolokia using username and password by providing `--jolokia-user` and `--jolokia-password`

Update `kafka_rolling_restart` doc

Adding the user and password flags to `kafka_rolling_restart` doc

Change 401 error msg

Change the 401 error msg to "Jolokia Authentication Failed. Exiting."

Updated tests

`wait_for_stable_cluster` and `read_cluster_status` now takes 5 arguments.
IRL - They will get `None` from `argparse` default value.

Update main.py

missing white space
@EladLeev
Copy link
Contributor Author

EladLeev commented Jan 5, 2020

@Baisang Sure.
Thanks

@Baisang
Copy link
Contributor

Baisang commented Feb 4, 2020

Sorry, I totally forgot about this. Merging now

@Baisang Baisang merged commit eacf617 into Yelp:master Feb 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants