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

Implemented an endpoint to handle file uploads #117

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

this-Aditya
Copy link
Member

@this-Aditya this-Aditya commented Feb 5, 2025

Screenshot of MinIO tested locally:

Screenshot from 2025-02-06 14-20-49

Copy link
Member

@yatharthranjan yatharthranjan left a comment

Choose a reason for hiding this comment

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

Thanks for moving this over. Looks nice. I have just made some comments that for some improvements. Some of them can be handled in a future issue and PR.

# The name of the S3 bucket where files will be uploaded.
# bucketName: radar
# Path-related settings for organizing stored files.
path:
Copy link
Member

Choose a reason for hiding this comment

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

I wondered if we should utilise functionality from radar-output's path factory (it would be good to harmonise across components). We can likely extract that bit of functionality from radar output to the radar-commons library and re-use in both components. Let's discuss in the next meeting

Copy link
Member

Choose a reason for hiding this comment

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

And this can be tackled in a separate issue and PR

Copy link
Member Author

Choose a reason for hiding this comment

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

Let's discuss in the next meeting

Okay


data class StorageConditionConfig (
val fileUploadEnabled: Boolean = true,
val radarStorageType: String = "s3"
Copy link
Member

Choose a reason for hiding this comment

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

The radar output's target-based system can also inspire this. Again, we can extract common functionality and reuse it here. That would allow supporting multiple target systems without extra effort.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, I will proceed after understanding the output repository in the next meeting.

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.

2 participants