lp://staging/~fujita-tomonori-deactivatedaccount/swift/s3api3

Created by FUJITA Tomonori and last modified

I've finished code refactoring and basic error handling. Seems that the following operations work with boto:

- List of buckets
- Create bucket
- Delete bucket
- List of objects in a bucket
- PUT object
- GET object
- DELETE object
- HEAD object

Swift account (something like AUTH_89308df71f274e33af17779606f08fa0) is used as AWSAccessKeyId.
Swift password (passed to swift-auth-add-user) is used as AWS Secret Access Key.

There are still room to improve error handling code but I think that this enables you to do something useful with boto. Note that this shouldn't affect the existing Swift features.

Get this branch:
bzr branch lp://staging/~fujita-tomonori-deactivatedaccount/swift/s3api3
Only FUJITA Tomonori can upload to this branch. If you are FUJITA Tomonori please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
FUJITA Tomonori
Project:
OpenStack Object Storage (swift)
Status:
Merged

Recent revisions

162. By FUJITA Tomonori

Merging the upstream

161. By FUJITA Tomonori

s3api: add more unit tests

160. By FUJITA Tomonori

s3api: add unit tests

159. By FUJITA Tomonori

rename the module from s3.py to swift3.py (suggested by Chuck Thier)

158. By FUJITA Tomonori

s3api: fix GETorHEAD

- replace 'content-length and 'content-encoding' with 'Content-Length
  and 'Content-Encoding' respectively.

- return 'Content-Type' and 'last-modified' headers too.

- remove 'Content-MD5' since seems that S3 doesn't use it for GET or
  HEAD response.

157. By Mike Barton

further cleanup

156. By Mike Barton

GETorHEAD cleanup

155. By FUJITA Tomonori

s3api: clean up the response handling

154. By FUJITA Tomonori

add S3 API support

153. By John Dickinson

fixes variable collision in stats system

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/~hudson-openstack/swift/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.