Limitation of 6MB file attachment while uploading (through API Gateway) to object storage?

未关闭
#493 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞
技术栈
java
领域
api, cloud

调研方向

先查看链接的 API Gateway 限制和 Object Storage 分段上传文档,然后检查仓库中是否有 cloud-function 或 multipart 请求示例。完成的标准是为所述上传流程提供一种具体且有文档说明的方式,以便通过 API Gateway 接收 multipart/form-data。

由索引模型根据 Issue 内容生成。

描述

Functions

I have a requirement to develop the cloud function to perform CRUD operations on file attachments into Object Storage. But I noticed the 6MB limitation of attachment content while uploading via Gateway.
Ref: https://docs.oracle.com/en-us/iaas/Content/APIGateway/Reference/apigatewaylimits.htm
i.e, client request -> API Gateway -> attachment function -> object storage

How to overcome this issue?
Since sometimes I need to upload large files and hence I found the multipart support and it works well from the cloud function here, but not sure how to receive/interpret the multipart/form-data body request in the cloud function.

Also, I referred to the sample codes and didn't get anywhere on how to receive the body content in the form of a multipart (in the handler class) while sending a request through API Gateway. Is there any specific example available for this use case?

主要语言
Java
星标
243
派生
171
平均合并
5 分钟
30 天内合并 PR
4

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

oracle/oci-java-sdk 的其他 Issue

查看 oracle/oci-java-sdk 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。