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

Process to create Pre-signed URL #191

Open
5 of 6 tasks
mahimatics opened this issue Sep 5, 2024 · 6 comments
Open
5 of 6 tasks

Process to create Pre-signed URL #191

mahimatics opened this issue Sep 5, 2024 · 6 comments
Assignees

Comments

@mahimatics
Copy link
Collaborator

AWS SDK Exploration

Process Code

To start

  • Inputs
    • Bucket name
    • Key name (name under which the file gets uploaded into S3)
  • Based on input, create the URL and end process
  • Keep this process as async
    • executeBlocking may not be needed for this process

Make the process sync

  • Check feasibility
@mahimatics
Copy link
Collaborator Author

  • Need to explore either creating /results or sync process
  • Change process input to accept bucket, region, rID
  • Check the expiration time

@ThorodanBrom
Copy link
Collaborator

  • Given resource ID
    • Ownership
    • Get the name of the resource and resourceGroup ID as well
    • Call item API again with the resourceGroup and get the name
    • New object key name will be RG-name/RI-name.extension
  • Check if the key already exists - using HEAD
  • New input called fileType
    • GeoPackage - .gpkg

@mahimatics
Copy link
Collaborator Author

Size testing yet to be done. Sync process code is ready and under review.

@mahimatics
Copy link
Collaborator Author

Once the connection is initiated, S3 allows the completion of the file upload. So the process dev is completed. Deploy it to dev and give it for integration with UI.

@mahimatics
Copy link
Collaborator Author

Draft PR for MinIO support done
File upload size seems to be an issue on MinIO
Upload file only if it doesn't exist

@ThorodanBrom
Copy link
Collaborator

  • Added fix to get new presigned URL for a particular resource+file type as long as the resource was not successfully onboarded Fix: S3PreSignedURLProcess #209

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

No branches or pull requests

3 participants