-
Notifications
You must be signed in to change notification settings - Fork 0
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
filemanager: attributes route and misc CORS changes #515
Conversation
Reviewing... |
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.
LGTM! Thanks for the fix!
compose.yml
Outdated
@@ -71,6 +71,7 @@ services: | |||
- DATABASE_URL=postgresql://orcabus:orcabus@db:5432/filemanager | |||
- RUST_LOG=debug | |||
- FILEMANAGER_API_CORS_ALLOW_ORIGINS=${FILEMANAGER_API_CORS_ALLOW_ORIGINS:-http://localhost:8400} |
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.
Perhaps this could be http://localhost:3000
, as we set the local port for UI to 3000.
As a side note when the UI is deployed, we still need to adjust the cors from the s3 bucket side 😅 |
This would be outside of the OrcaBus stack right, as the bucket configuration is not controlled in this repo? |
Yup. Will; please feel free to PR for required/desired CORS setting at bucket TF. |
Good to merge? |
…ager-misc # Conflicts: # lib/workload/stateless/stacks/filemanager/filemanager-migrate-lambda/src/main.rs
Closes #495
Depends on #460
Changes
/api/v1/s3/attributes
which accepts arbitrary parameters that can be a shortcut to querying by top-level attribute properties.Misc
content-type
andcontent-encoding
from the client when creating presigned URLs.