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

Implement Document Upload Functionality for MinIO #27

Merged
merged 13 commits into from
Nov 5, 2024

Conversation

Q-Niranjan
Copy link
Contributor

This pull request adds the capability to upload documents to MinIO, a compatible object storage solution. Key features of this implementation include:

  1. A dedicated method for uploading files to MinIO.
  2. Integration with the database to save relevant metadata.
  3. Robust error handling to manage potential upload issues.
  4. Adaptation of the current upload process to focus on MinIO as the primary storage backend.

This enhancement aims to improve our document handling processes by utilizing MinIO for scalable and efficient file storage.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 48.99598% with 127 lines in your changes missing coverage. Please review.

Project coverage is 55.21%. Comparing base (41d0ba9) to head (2ab1362).
Report is 5 commits behind head on develop.

Files with missing lines Patch % Lines
...eng2p_portal_api/services/document_file_service.py 29.48% 55 Missing ⚠️
src/openg2p_portal_api/utils/file_utils.py 26.02% 54 Missing ⚠️
...portal_api/controllers/document_file_controller.py 56.41% 17 Missing ⚠️
src/openg2p_portal_api/exception.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #27      +/-   ##
===========================================
- Coverage    56.73%   55.21%   -1.53%     
===========================================
  Files           30       38       +8     
  Lines         1054     1304     +250     
  Branches       104       92      -12     
===========================================
+ Hits           598      720     +122     
- Misses         456      584     +128     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shibu-narayanan shibu-narayanan merged commit e4aad1e into OpenG2P:develop Nov 5, 2024
2 checks passed
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.

4 participants