Better handling for read and writing from/to Pre-Signed URL files #7
Labels
No labels
Blocked
Bounty
$100
Bounty
$1000
Bounty
$10000
Bounty
$20
Bounty
$2000
Bounty
$250
Bounty
$50
Bounty
$500
Bounty
$5000
Bounty
$750
MoSCoW
Could have
MoSCoW
Must have
MoSCoW
Should have
Needs feedback
Points
1
Points
13
Points
2
Points
21
Points
3
Points
34
Points
5
Points
55
Points
8
Points
88
Priority
Backlog
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Signed-off: Owner
Signed-off: Scrum Master
Signed-off: Tech Lead
Spike
State
Completed
State
Duplicate
State
In Progress
State
In Review
State
Paused
State
Unverified
State
Verified
State
Wont Do
Type
Bug
Type
Discussion
Type
Documentation
Type
Epic
Type
Feature
Type
Legendary
Type
Support
Type
Task
Type
Testing
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: cleverlibre/clevercloud-storage#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently CleverCloud Storage has a bit cumbersome interaction with S3 Pre-Signed URLs as it requires instantiation of a new S3StorageProvider object for each single Pre-Signed URL resource. This is neither efficient, nor elegant.
Tasks to be done:
s3_provider.py:S3StorageProvider constructor has parameters aws_access_key and aws_secret_key has optional but they seem to be mandatory. At least the access key, otherwise we get an exception. Please validate which is really required and set those as required. Also update the Factory and ProviderConfiguration.
Having to specify the sas_token in the constructor is probably AI nonsense, because the SAS_TOKEN only pertains to a given resource (e.g. file), this implies that we need to create a S3 Provider instance per each file that we access with SAS Token. This makes no sense and is not performant.
Ensure the tests are passing and that the coverage is still at least 85%
Definition of done: