-
Notifications
You must be signed in to change notification settings - Fork 61
Add a support for standard SSL configurations, proxy and basic auth configs. #47
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
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
560347a
Add a support for standard SSL configurations, proxy and basic auth c…
mashhurs 8295eb0
Increase test coverage with unit tests.
mashhurs 78283c7
Separate remote schema registry tests from encode and decode.
mashhurs d0478a7
Fix CI failures.
mashhurs 8643636
Prepare kafka and confluent schema registry environment to use in the…
mashhurs f20a085
Basic integration test with schema registry.
mashhurs 7c73162
Add integration tests for SSL and auth based schema registry. Add int…
mashhurs d2f288c
Exclude 7.current from travis integration jobs.
mashhurs cc137ab
Apply suggestions from code review
mashhurs c0e2846
Simplifications.
mashhurs cfd5676
Implement a retry mechanism when hitting the schema registry.
mashhurs 71ee017
Put back accidental removed piece while testing.
mashhurs fe2b99e
Setup schema registry for mutual TLS and add integration test cases f…
mashhurs a272adf
Apply suggestions from code review
mashhurs 3f5b630
Update specs after making keystore and trustore type lowecase.
mashhurs 5f025fe
Allow truststore and keystore without using their password.
mashhurs ded870c
Retry mechanism test.
mashhurs 86c5421
Introduce BadResponseCodeError class to handle non-retriable cases.
mashhurs 3f610e1
Update retry error message.
mashhurs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| #!/bin/bash | ||
| # This is intended to be run inside the docker container as the command of the docker-compose. | ||
|
|
||
| env | ||
|
|
||
| set -ex | ||
|
|
||
| if [[ "$INTEGRATION" != "true" ]]; then | ||
| bundle exec rake test | ||
| else | ||
| # Define the Kafka:Confluent version pairs | ||
| VERSIONS=( | ||
| "4.1.0:8.0.0" | ||
| ) | ||
|
|
||
| for pair in "${VERSIONS[@]}"; do | ||
| KAFKA_VERSION="${pair%%:*}" | ||
| CONFLUENT_VERSION="${pair##*:}" | ||
|
|
||
| echo "==================================================" | ||
| echo " Testing with Kafka $KAFKA_VERSION / Confluent $CONFLUENT_VERSION" | ||
| echo "==================================================" | ||
|
|
||
| export KAFKA_VERSION | ||
| export CONFLUENT_VERSION | ||
|
|
||
| cd spec/integration && ./kafka_test_setup.sh && cd ../.. | ||
| bundle exec rspec -fd --tag integration | ||
| cd spec/integration && ./kafka_test_teardown.sh && cd ../.. | ||
| done | ||
| fi | ||
|
|
||
|
|
||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,11 @@ | ||
| import: | ||
| - logstash-plugins/.ci:travis/travis.yml@1.x | ||
| - logstash-plugins/.ci:travis/travis.yml@1.x | ||
|
|
||
| jobs: | ||
| include: | ||
| - stage: "Integration Tests" | ||
| env: INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current | ||
| - env: INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=9.current | ||
| - env: INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current | ||
| - env: INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=9.current | ||
| - env: INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=main | ||
kaisecheng marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.