Project

General

Profile

Actions

Feature #51724

closed

notifications: test putting an object via POST command

Added by Yuval Lifshitz almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

see here for details about the command: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-UsingHTTPPOST.html
this should be done using the "generate_presigned_post()" boto3 API.
see example here on how to use it:
https://gist.github.com/alexdebrie/3e8b96217f5aff01227050b17a24e380

test should be added here: https://github.com/ceph/ceph/blob/master/src/test/rgw/bucket_notification/test_bn.py

Actions #1

Updated by Yuval Lifshitz over 2 years ago

example on how to create upload using POST could be found in s3-tests:

https://github.com/ceph/s3-tests/blob/master/s3tests_boto3/functional/test_s3.py#L2280

Actions #2

Updated by Yuval Lifshitz over 2 years ago

  • Assignee set to Kalpesh Pandya
Actions #3

Updated by Yuval Lifshitz over 2 years ago

  • Status changed from New to Resolved
  • Pull request ID set to 43308
Actions

Also available in: Atom PDF