Skip to content

make credentail and host setup happen in build_client - #939

Merged
jsvd merged 2 commits into
logstash-plugins:10.4from
jsvd:move_cred_setup_to_build_client
Apr 23, 2020
Merged

jsvd merged 2 commits into
logstash-plugins:10.4from
jsvd:move_cred_setup_to_build_client

Conversation

@jsvd

@jsvd jsvd commented Apr 23, 2020 •

Copy link
Copy Markdown
Member

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

@colinsurprenant colinsurprenant left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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