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

Đang mở
#493 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
api, cloud

Hướng nghiên cứu

Bắt đầu với tài liệu được liên kết về các giới hạn của API Gateway và tính năng tải lên multipart của Object Storage, sau đó kiểm tra repository để tìm các ví dụ về cloud-function hoặc yêu cầu multipart. Công việc được xem là hoàn tất khi cung cấp được một cách cụ thể, có tài liệu mô tả, để nhận multipart/form-data thông qua API Gateway cho quy trình tải lên đã nêu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
Java
Star
243
Fork
171
Merge trung bình
5 phút
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của oracle/oci-java-sdk

Tất cả issue của oracle/oci-java-sdk

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.