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

feat: create simplified path-based config locations #281

Open
mmalenic opened this issue Dec 18, 2024 · 0 comments
Open

feat: create simplified path-based config locations #281

mmalenic opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mmalenic
Copy link
Member

The regex configuration can be complex to use, so there should be an alternative that is simple to use and works for most cases with reasonable defaults.

To do this, a path-based location can be created.

For example, to configure a local resolver, the directory and prefix can be specified using the file scheme:

"file://data/prefix

This would mean that requests to /reads/prefix/<id> would be accepted by this resolver, and look for files in the local directory at data.

Similar concepts can be made for S3 and URL storage:

"s3://bucket/prefix"
"https://example.com/prefix"
@mmalenic mmalenic self-assigned this Dec 18, 2024
@mmalenic mmalenic added the enhancement New feature or request label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant