Skip to content
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

feat: track checksum calculation validation mode #3065

Merged

Conversation

yenfryherrerafeliz
Copy link
Contributor

Issue #, if available:

Description of changes:

  • For requests, trackes checksum request calculation, by being either when supported or when required.
  • For responses, trackers checksum response validation, by being either when supported or when required.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- For requests, trackes checksum request calculation, by being either when supported or when required.
- For responses, trackers checksum response validation, by being either when supported or when required.
- `response_checksum_validation` metric should be validated just when present in the args.
src/UserAgentMiddleware.php Outdated Show resolved Hide resolved
src/MetricsBuilder.php Show resolved Hide resolved
- Move metrics resolution based on client arguments into the metrics builder class as suggested.
@yenfryherrerafeliz yenfryherrerafeliz force-pushed the feat_track_checksum_calculation_mode branch from 6975ade to 7dbf3d8 Compare February 2, 2025 14:55
@yenfryherrerafeliz yenfryherrerafeliz requested review from stobrien89 and removed request for stobrien89 February 6, 2025 17:51
Copy link
Member

@stobrien89 stobrien89 left a comment

Choose a reason for hiding this comment

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

Just a few minor things. The logic change looks good!

src/MetricsBuilder.php Outdated Show resolved Hide resolved
src/MetricsBuilder.php Outdated Show resolved Hide resolved
- Add test cases for `resolveAndAppendFromArgs` method from the metrics builder class.
- Refactor a minor code styling in the metrics builder implementation.
@yenfryherrerafeliz yenfryherrerafeliz force-pushed the feat_track_checksum_calculation_mode branch from 79faf52 to b0e57cc Compare February 7, 2025 14:55
@stobrien89 stobrien89 merged commit 650e9b4 into aws:master Feb 10, 2025
10 checks passed
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