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

Move AWS config/auth code inside H5FDs3comms.c #5238

Merged
merged 12 commits into from
Jan 15, 2025

Conversation

derobins
Copy link
Member

@derobins derobins commented Jan 15, 2025

The AWS configuration and authorization setup code needs to be
consolidated into one location in order to check AWS environment
variables and configuration files as well as fapl parameters.

This changeset pushes some stragglers into the s3comms code.

Also includes some cleanup, like removing useless macros,
making the s3comms functions package functions, and
renames things for symmetry and readability.

Dana Robinson added 9 commits January 14, 2025 17:47
* Better location for HTTP verb allocation
* Shove all auth setup into the same if statement
* strcpy() instead of memcpy() to copy strings
* Other minor renaming and comment cleanup
For parity with the same field in the fapl
* Adds H5FD_s3comms_make_iso_8661_string() and moves associated
  functionality inside.

* Removes gmnow() function

* Removes unused RFC-7231 macros
All AWS configuration and authentication logic is now centralized
in H5FDs3comms.c. This will make it easier to load config data
from AWS environment variables, AWS config files, and fapl
parameters.
@derobins derobins added Priority - 1. High 🔼 These are important issues that should be resolved in the next release Component - C Library Core C library issues (usually in the src directory) Component - Testing Code in test or testpar directories, GitHub workflows Type - Improvement Improvements that don't add a new feature or functionality labels Jan 15, 2025
@derobins derobins changed the title Aws environment variables Move AWS config/auth code inside H5FDs3comms.c Jan 15, 2025
@derobins derobins merged commit 144b4fc into HDFGroup:develop Jan 15, 2025
76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - C Library Core C library issues (usually in the src directory) Component - Testing Code in test or testpar directories, GitHub workflows Priority - 1. High 🔼 These are important issues that should be resolved in the next release Type - Improvement Improvements that don't add a new feature or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants