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 i/o to core #382

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Move i/o to core #382

merged 1 commit into from
Sep 13, 2024

Conversation

gadomski
Copy link
Member

Tested s3 and it worked!

$ cargo run -- -c aws_access_key_id='<redacted>' -c aws_secret_access_key='<redacted>' -c aws_region=us-east-2 translate -vvv https://raw.githubusercontent.com/radiantearth/stac-spec/master/examples/simple-item.json s3://gadomski/simple-item.json
2024-09-12T23:22:12.739240Z  INFO object_store::aws::builder: Using Static credential provider
2024-09-12T23:22:12.747527Z DEBUG reqwest::connect: starting new connection: https://raw.githubusercontent.com/    
2024-09-12T23:22:12.747788Z DEBUG hyper_util::client::legacy::connect::dns: resolving host="raw.githubusercontent.com"
2024-09-12T23:22:12.752389Z DEBUG hyper_util::client::legacy::connect::http: connecting to 185.199.108.133:443
2024-09-12T23:22:12.757321Z DEBUG hyper_util::client::legacy::connect::http: connected to 185.199.108.133:443
2024-09-12T23:22:12.789592Z DEBUG hyper_util::client::legacy::pool: pooling idle connection for ("https", raw.githubusercontent.com)
2024-09-12T23:22:12.791116Z  INFO object_store::aws::builder: Using Static credential provider
2024-09-12T23:22:12.791856Z DEBUG reqwest::connect: starting new connection: https://s3.us-east-2.amazonaws.com/    
2024-09-12T23:22:12.792013Z DEBUG hyper_util::client::legacy::connect::dns: resolving host="s3.us-east-2.amazonaws.com"
2024-09-12T23:22:12.800741Z DEBUG hyper_util::client::legacy::connect::http: connecting to 3.5.130.92:443
2024-09-12T23:22:12.854410Z DEBUG hyper_util::client::legacy::connect::http: connected to 3.5.130.92:443
2024-09-12T23:22:13.080465Z DEBUG hyper_util::client::legacy::pool: pooling idle connection for ("https", s3.us-east-2.amazonaws.com)
2024-09-12T23:22:13.080929Z  INFO stac_cli::args: put result: etag="fb8fcab676cce93316d2d61a0dc05072" version=

@gadomski gadomski self-assigned this Sep 12, 2024
@gadomski gadomski merged commit 08bdb78 into main Sep 13, 2024
18 checks passed
@gadomski gadomski deleted the reader-and-writer branch September 13, 2024 21:51
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.

1 participant