-
Notifications
You must be signed in to change notification settings - Fork 4
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
Custom metadata keys can't be used #19
Comments
@Deraen does the following schema seem reasonable to you? {:metadata {s/Keyword s/Any}} should we be more specific or prefer being general here? |
@martinklepsch That seems good choice for this case. Bigger change would be to throw out Amazonica and directly use AWS SDK. That would allow automatically calling |
Yeah, I guess this library being relatively damn it should be considered. I’ll try to make a release with the updated Schema some time next week. |
Released Thanks for raising this Juho! |
@martinklepsch Thanks. Unfortunately I didn't get this working even with the change. Either Boot overrides the s3-deploy version for confetti pod (but I don't think that should happen). Or |
Ah! Good point, I'll need to update the dependency used by confetti. The pod isn't merging dependencies into the main env but Will cut a release over there soon. Generally it would be nice to have some code that uses the version specified in current |
Adding s3-deploy to project dependencies is problematic because it will then add the whole aws-sdk to project directly and that can easily cause conflicts with other project dependencies (which don't happen if it is loaded on pod). |
If I understand Amazonica correctly,
:metadata
can only contain some of the possible headers: https://github.com/mcohen01/amazonica/blob/master/src/amazonica/aws/s3.clj#L172:metadata {:x-amz-website-redirect-location "/foo/"}
doesn't work as Amazonica doesn't read this.:metadata {:user-metadata {:x-amz-website-redirect-location "/foo/"}}
might work for Amazonica but a Schema here prevents using that currently.The text was updated successfully, but these errors were encountered: