-
Notifications
You must be signed in to change notification settings - Fork 27
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
[Index configuration tool] Add support for insecure HTTPS endpoint #218
Merged
kartg
merged 3 commits into
opensearch-project:main
from
kartg:ict-insecure-flag-support
Jun 28, 2023
Merged
[Index configuration tool] Add support for insecure HTTPS endpoint #218
kartg
merged 3 commits into
opensearch-project:main
from
kartg:ict-insecure-flag-support
Jun 28, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kartg
requested review from
chelma,
gregschohn,
lewijacn,
mikaylathompson,
okhasawn and
sumobrian
as code owners
June 27, 2023 20:57
Codecov Report
@@ Coverage Diff @@
## main #218 +/- ##
=============================================
+ Coverage 57.07% 91.51% +34.44%
=============================================
Files 54 25 -29
Lines 2057 1155 -902
Branches 174 122 -52
=============================================
- Hits 1174 1057 -117
+ Misses 793 83 -710
+ Partials 90 15 -75
Flags with carried forward coverage won't be shown. Click here to find out more. |
kartg
force-pushed
the
ict-insecure-flag-support
branch
from
June 27, 2023 22:52
1a94bb3
to
c141676
Compare
4 tasks
This commit adds support for parsing the "insecure" flag from the Data Prepper YAML. This translates to a "verify" flag that is passed to the Python requests library. This commit also includes unit tests for this logic. Signed-off-by: Kartik Ganesh <[email protected]>
Separated the error messages for source and sink validation. Also fixed the unit test for this. Signed-off-by: Kartik Ganesh <[email protected]>
Fixed unnecessary bool() cast Signed-off-by: Kartik Ganesh <[email protected]>
kartg
force-pushed
the
ict-insecure-flag-support
branch
from
June 28, 2023 16:01
c141676
to
cc3f56e
Compare
mikaylathompson
approved these changes
Jun 28, 2023
gregschohn
added a commit
to gregschohn/opensearch-migrations
that referenced
this pull request
Jun 28, 2023
* main: (57 commits) [Index configuration tool] Add support for insecure HTTPS endpoint (opensearch-project#218) Refactor inner classes from ExpiringTrafficStreamMap into separate classes. One other refactorings to simplify data encapsulation between the main map itself and each ExpiringKeyQueue. Move ExpiringTrafficStreamMap file to a new package to accommodate refactoring in the next commit. Make getOrCreateNodeMap() less pessimistic and add a TODO for work that needs to be done to remove (or at least describe) an obscure and rare race condition. [index configuration tool] Change to parsing Data Prepper pipeline YAML as input (opensearch-project#215) changing argument and variable names + updating description run on any .py changes within the top cluster_migration_core directory run lint on all .py changes Removing accidentally included kafka.properties file Migrations-1150 - Enhance Setting Kafka Properties for Kafka Puller Disabling python related workflows for non-python directories Using wildcards to add coverage report files instead of adding individual files removing finalized renaming workflow + no longer double executing tests Introduce Copilot Deployments (opensearch-project#201) Wildcard isn't supported - add each cov file manually run gradle build instead of assemble Update codecov version Add github workflow Bump aws-cdk-lib in /deployment/cdk/opensearch-service-migration (opensearch-project#206) ... Signed-off-by: Greg Schohn <[email protected]> # Conflicts: # TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/Accumulation.java # TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/ExpiringTrafficStreamMap.java # TrafficCapture/trafficReplayer/src/main/java/org/opensearch/migrations/replay/CapturedTrafficToHttpTransactionAccumulator
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This commit adds support for parsing the "insecure" flag from the Data Prepper YAML. This translates to a "verify" flag that is passed to the Python requests library. This commit also includes unit tests for this logic.
Issues Resolved
N/A
Testing
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.