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

オープン
#493 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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分
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

oracle/oci-java-sdk のほかの issue

oracle/oci-java-sdk の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。