Skip to content

make credentail and host setup happen in build_client #939

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

Merged
merged 2 commits into from
Apr 23, 2020

Conversation

jsvd
Copy link
Member

@jsvd jsvd commented Apr 23, 2020

Related to #934 and elastic/logstash#11818

This patch release is intended essentially to solve the cloud_id problem reverted fix elastic/logstash#11800 for 7.6 and 7.7.

jsvd added 2 commits April 23, 2020 11:48
This so that features like logstash license checking can
Take an instance of this plugin and extract the http client using
the `build_client` method.
As cloud id/credential/host setup was happening during register,
extracting a client through build_client would result in a partially
configured instance.
@jsvd jsvd force-pushed the move_cred_setup_to_build_client branch from 1b8fa10 to 28d8e5b Compare April 23, 2020 10:51
@jsvd jsvd marked this pull request as ready for review April 23, 2020 10:58
@jsvd jsvd changed the title make cred and host setup happens in build_client make credentail and host setup happen in build_client Apr 23, 2020
@colinsurprenant colinsurprenant self-requested a review April 23, 2020 14:22
Copy link
Contributor

@colinsurprenant colinsurprenant left a comment

Choose a reason for hiding this comment

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

LGTM

@jsvd jsvd merged commit 51ad7fa into logstash-plugins:10.4 Apr 23, 2020
@jsvd jsvd deleted the move_cred_setup_to_build_client branch April 23, 2020 14:32
@colinsurprenant
Copy link
Contributor

Merge into the 10.4 branch and released as v10.4.2

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