Merge lp:~dreamhosters/txaws/921349-get-bucket-logging-method into lp:txaws
Proposed by
Arsene Rei
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 130 | ||||
Proposed branch: | lp:~dreamhosters/txaws/921349-get-bucket-logging-method | ||||
Merge into: | lp:txaws | ||||
Diff against target: |
198 lines (+150/-1) 4 files modified
txaws/s3/client.py (+20/-1) txaws/s3/model.py (+8/-0) txaws/s3/tests/test_client.py (+109/-0) txaws/testing/payload.py (+13/-0) |
||||
To merge this branch: | bzr merge lp:~dreamhosters/txaws/921349-get-bucket-logging-method | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Duncan McGreggor | Needs Fixing | ||
Review via email: mp+90540@code.launchpad.net |
Description of the change
Add GET Bucket logging functionality.
To post a comment you must log in.
[1] So, it looks like you've used the wrong payload for this branch? You're getting Status from "VersioningConf iguration" ...
The XML payload you're really going to be looking at is this one:
<?xml version="1.0" encoding="UTF-8"?> tatus xmlns="http:// doc.s3. amazonaws. com/2006- 03-01"> et>mybucketlogs </TargetBucket> ix>mybucket- access_ log-/</ TargetPrefix> www.w3. org/2001/ XMLSchema- instance"
xsi: type="AmazonCus tomerByEmail" >
<EmailAddres s><email address hidden> </EmailAddress>
<Permission> READ</Permissio n> Status>
<BucketLoggingS
<LoggingEnabled>
<TargetBuck
<TargetPref
<TargetGrants>
<Grant>
<Grantee xmlns:xsi="http://
</Grantee>
</Grant>
</TargetGrants>
</LoggingEnabled>
</BucketLogging
Or this:
<BucketLoggingS tatus xmlns="http:// doc.s3. amazonaws. com/2006- 03-01" />
The former (obviously) needing more modeling than just setting a status attribute ;-)