-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add request_id option to client #133
Merged
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
a6a0946
Add request_id option to client
funkyboy fef93a1
Simplify options setting
funkyboy 67d06b8
Add request_id to connection error and timeouts
funkyboy 1fc2ef8
Remove path munging
funkyboy 5d3666c
Add ConnectionTimeout test with request_id
funkyboy 1670bb1
Use urlsafe_base64 and a local var for request_id
funkyboy 9357a13
Add request_id to printed exception
funkyboy 55f18aa
Fix spacing
funkyboy a1f71d4
Use attr_reader to access add_request_ids
funkyboy d39e11c
Add request_id to Faraday request context
funkyboy d9b6b8f
Read request_id from Faraday context
funkyboy 3e55b9e
Reorganize request_id generation tests
funkyboy a061d3b
Add test for UnauthorizedRequest nonce
funkyboy c227120
Fix frozen hash issue
funkyboy 890ced2
Add test without request_id
funkyboy 97febef
Rename test context
funkyboy dc6f216
Pass request_id in Exception options
funkyboy 844a938
Fix fetching of request_id from Faraday context
funkyboy a7f1e29
Merge request_id with Faraday context options
funkyboy 66259dc
Fix spacing and indentation
funkyboy 21da79c
Rename random_request_id as request_id
funkyboy aca07ad
Declare request_id as a local var
funkyboy f5cfc0f
Fix indentation
funkyboy f99e186
Add test to check if request_id is the same at request and response time
funkyboy 4159c51
Add request_id option to client
funkyboy c2478be
Simplify options setting
funkyboy daacf46
Add request_id to connection error and timeouts
funkyboy 44d08b7
Remove path munging
funkyboy d531f5a
Add ConnectionTimeout test with request_id
funkyboy 24435b8
Use urlsafe_base64 and a local var for request_id
funkyboy 4425fb8
Add request_id to printed exception
funkyboy 756b266
Fix spacing
funkyboy 72eda17
Use attr_reader to access add_request_ids
funkyboy 3308586
Add request_id to Faraday request context
funkyboy 39a9b75
Read request_id from Faraday context
funkyboy eb87ad6
Reorganize request_id generation tests
funkyboy f0e3730
Add test for UnauthorizedRequest nonce
funkyboy 8efa111
Fix frozen hash issue
funkyboy a34000f
Add test without request_id
funkyboy df94980
Rename test context
funkyboy 2731ca7
Pass request_id in Exception options
funkyboy 528c92a
Fix fetching of request_id from Faraday context
funkyboy 7399f18
Merge request_id with Faraday context options
funkyboy 48c6cfc
Fix spacing and indentation
funkyboy c2ab83c
Rename random_request_id as request_id
funkyboy 705f143
Declare request_id as a local var
funkyboy 0b33cdd
Fix indentation
funkyboy 8b87e5f
Add test to check if request_id is the same at request and response time
funkyboy 749d49c
Add test for request_id when fallback is on and the request is retried
funkyboy e17125c
Dup params only if needed
funkyboy 0774a2d
Add note about request_id in the middleware request context
funkyboy 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation issues here. Why did you add context & end without indenting the code?