Skip to content

Pass SSL arg to all requests in DruidOperator#39066

Merged
eladkal merged 12 commits intoapache:mainfrom
danielbe11:druid-operator-pass-ssl-arg-to-all-request-calls
May 5, 2024
Merged

Pass SSL arg to all requests in DruidOperator#39066
eladkal merged 12 commits intoapache:mainfrom
danielbe11:druid-operator-pass-ssl-arg-to-all-request-calls

Conversation

@danielbe11
Copy link
Contributor

@danielbe11 danielbe11 commented Apr 16, 2024

  • We're currently only passing the verify kwarg in the first post request (the one assigning req_index var). We should be passing the arg to all the requests in the operator.
  • Note that request sets this True by default ref
  • For context, the original change was in Modify ssl verification in druid operator #37673

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@danielbe11 danielbe11 marked this pull request as draft April 16, 2024 16:05
@danielbe11 danielbe11 marked this pull request as ready for review April 17, 2024 15:19
Copy link
Contributor

@dirrao dirrao left a comment

Choose a reason for hiding this comment

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

LGTM. Can you add the test with verify is set to True?

…thub.com:danielbe11/airflow into druid-operator-pass-ssl-arg-to-all-request-calls
@danielbe11
Copy link
Contributor Author

Thanks for the review @dirrao, added the other test

@danielbe11 danielbe11 force-pushed the druid-operator-pass-ssl-arg-to-all-request-calls branch from c181728 to 0172704 Compare April 18, 2024 10:11
@danielbe11 danielbe11 marked this pull request as draft April 19, 2024 08:07
@danielbe11 danielbe11 marked this pull request as ready for review April 20, 2024 17:12
@danielbe11 danielbe11 requested a review from dirrao May 4, 2024 06:40
@eladkal eladkal merged commit e396f06 into apache:main May 5, 2024
@danielbe11 danielbe11 deleted the druid-operator-pass-ssl-arg-to-all-request-calls branch May 5, 2024 11:30
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.

3 participants