s3 extension using boto3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
Recently I added a support for bucket notifications, as part of the feature the standard (s3) way for filtering notification was extended with new fields that are not supported by AWS. This poses 2 issues:
- how to test it
- how users should use it
Crafting these messages "by hand" (e.g. by using curl) is not ideal for both usecases.

However, according to this [1], there is an easy way to extend the standard by changing a json file and then placing it under ~/.aws/models/s3/...
Or, placing it anywhere else, and then setting its path first in the AWS_DATA_PATH search path (I tried the 1st options and it worked!).

I guess that this is not the only case where we want to extend/modify what ASW/boto3 supports.
Would suggest that we add our own versions of the relevant files (e.g.[2]) into the ceph repo (not sure where?).
This could be used for:
- teuthology infra can take these files and use them, so that the clients could test our extension natively with boto3
- we can add documentation around these files, so they are available to users (maybe deliver them in the installation packages)

Of course, we will have to track changes to the original file, and merge from time top time...

Yuval


_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux