Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

feat: replace cloud_storage with custom implementation (#18) #42

Merged
merged 3 commits into from
Jul 5, 2022

Conversation

tustvold
Copy link
Contributor

@tustvold tustvold commented Jun 30, 2022

Closes #43
Closes #22
Part of #18

This replaces cloud_storage with a simple implementation based on reqwest (not a new dependency). Ultimately I would like to give the same treatment to all the SDKs, as it gives us more control and reduces the dependency explosion.

@tustvold tustvold changed the title Replace cloud_storage with custom implementation (#18) feat: replace cloud_storage with custom implementation (#18) Jul 1, 2022

/// Encapsulates the logic to perform an OAuth token challenge
#[derive(Debug)]
pub struct OAuthProvider {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will also be useful for Azure which similarly adopts standard authentication practices. AWS unfortunately is a special snowflake here, as per usual

Copy link
Contributor

@roeap roeap Jul 1, 2022

Choose a reason for hiding this comment

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

😆

@tustvold tustvold marked this pull request as ready for review July 1, 2022 08:58
@crepererum
Copy link
Contributor

Now that we have our own impl, we could probably also test against an emulator. The only reason that GCP wasn't tested was due to ThouCheese/cloud-storage-rs#96 (AWS and Azure are tested).

@influxdata influxdata deleted a comment from crepererum Jul 1, 2022
@tustvold tustvold added the automerge Put in the merge queue label Jul 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Put in the merge queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement get_range for GCP Implement copy_if_not_exists for GCP
3 participants