-
Notifications
You must be signed in to change notification settings - Fork 142
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
add support for AWS S3 external file storage #476
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Marshall Walker <[email protected]>
…r early regeneration of S3 presigned urls. certain aws credentials have a lower max expiry then 7 days.
I will try and fix the conflict tomorrow :) |
Signed-off-by: Marshall Walker <[email protected]>
server/src/main/java/org/eclipse/openvsx/LocalRegistryService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/eclipse/openvsx/storage/AwsStorageService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/eclipse/openvsx/storage/AwsStorageService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/eclipse/openvsx/storage/AwsStorageService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/eclipse/openvsx/storage/IStorageService.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @marshallwalker,
Thank you for your contribution to the openvsx project!
I've added comments for the things I'd like to see changed.
The one big change is https://github.com/eclipse/openvsx/pull/476/files#r910210737.
The other changes are minor.
@amvanbaren should be good now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marshallwalker Thanks for the changes. Looks good.
Can you add a section to the README.md where you outline how to configure AWS S3?
You can use the Azure Setup and Google Cloud Setup sections as a guideline.
for sure! glad to |
…ade a few changes to the FileCacheDurationConfig.java and AwsStorageService.java Signed-off-by: Marshall Walker <[email protected]>
@amvanbaren any ETA when you can review this? :) |
I tried to test S3 storage.
|
Add spaces for env variable check Add closing keyword to if statement
@marshallwalker It looks like the unit tests also need to be fixed. Please add the S3 Service to the list of You can input |
Hi All. |
Hi @tkyggit, this PR is awaiting changes. |
Signed-off-by: Marshall Walker [email protected]