Closed vttranlina closed 1 month ago
It will be reusing the james-project pr JAMES-3544 Add getUploadMetadata method for UploadRepository + add to UploadResolver
[ERROR] /home/jenkins/build/workspace/Tmail_build_PR-1057/tmail-backend/jmap/extensions/src/main/scala/com/linagora/tmail/james/jmap/method/PublicAssetSetMethod.scala:134: value getUploadMetadata is not a member of org.apache.james.jmap.routes.UploadResolver
It will be reusing the james-project pr https://github.com/apache/james-project/pull/2253
Please don't!
This is uneeded.
https://github.com/linagora/tmail-backend/pull/1057#discussion_r1608243519
As expressed there please rely solely on BlobResolvers @vttranlina
As expressed there please rely solely on BlobResolvers
But we want to fetch only metadata, while def resolve(blobId: BlobId, mailboxSession: MailboxSession): SMono[Blob]
return bytes data content
[ERROR] /home/jenkins/build/workspace/Tmail_build_PR-1057/tmail-backend/jmap/extensions/src/main/scala/com/linagora/tmail/james/jmap/method/PublicAssetSetMethod.scala:134: value getUploadMetadata is not a member of org.apache.james.jmap.routes.UploadResolver
Some code is using code of james-project that was not merged. (commit: https://github.com/linagora/tmail-backend/pull/1057/commits/f165c07a5cfb1daff36a484f68b282bae3c04a55)
But we want to fetch only metadata, while def resolve(blobId: BlobId, mailboxSession: MailboxSession): SMono[Blob] return bytes data content
Excuse me we want to copy the content as far as I know....
Because uploads will be cleaned up. Which means underlying blobId will disappear if nothing is done.
A lot of changed code, then I will rebase & force push. It will easier
Update the spec please ;-)
Initially the spec was good regarding /set create, so please revert that :)
The Cassandra repository was merged I will rebase one more time for the Distributed test
resolve https://github.com/linagora/tmail-backend/issues/1048