Support SigV2 and S3 debug for publishing.

This commit is contained in:
Andrey Smirnov
2016-03-20 20:11:19 +03:00
parent 76edf9649b
commit 75b860e0b1
8 changed files with 38 additions and 9 deletions
+2
View File
@@ -40,6 +40,8 @@ type S3PublishRoot struct {
EncryptionMethod string `json:"encryptionMethod"`
PlusWorkaround bool `json:"plusWorkaround"`
DisableMultiDel bool `json:"disableMultiDel"`
ForceSigV2 bool `json:"forceSigV2"`
Debug bool `json:"debug"`
}
// SwiftPublishRoot describes single OpenStack Swift publishing entry point
+3 -1
View File
@@ -76,7 +76,9 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
" \"storageClass\": \"\",\n"+
" \"encryptionMethod\": \"\",\n"+
" \"plusWorkaround\": false,\n"+
" \"disableMultiDel\": false\n"+
" \"disableMultiDel\": false,\n"+
" \"forceSigV2\": false,\n"+
" \"debug\": false\n"+
" }\n"+
" },\n"+
" \"SwiftPublishEndpoints\": {\n"+