Small cleanup on s3api
This patch is one of follow up to remove unnecessary files, and a comment in the code. The conf files are used to setup functests environment in the past swift3 repository but that should port to setuppers of functests (see related change). Anyway, we don't need shell based older conf.in script on that way. Change-Id: If431979ea6fa373ac1cde4b7e13d57d91fb15be8 Related-Change: I6f30f74678ad35479da237361bee48c46c0ecc49
This commit is contained in:
parent
3313392462
commit
2c7768a3cb
@ -1,18 +0,0 @@
|
|||||||
[DEFAULT]
|
|
||||||
host = localhost
|
|
||||||
port = 8080
|
|
||||||
is_secure = no
|
|
||||||
|
|
||||||
[s3 main]
|
|
||||||
user_id = %ADMIN_ACCESS_KEY%
|
|
||||||
display_name = %ADMIN_ACCESS_KEY%
|
|
||||||
email = %ADMIN_ACCESS_KEY%
|
|
||||||
access_key = %ADMIN_ACCESS_KEY%
|
|
||||||
secret_key = %ADMIN_SECRET_KEY%
|
|
||||||
|
|
||||||
[s3 alt]
|
|
||||||
user_id = %TESTER_ACCESS_KEY%
|
|
||||||
display_name = %TESTER_ACCESS_KEY%
|
|
||||||
email = %TESTER_ACCESS_KEY%
|
|
||||||
access_key = %TESTER_ACCESS_KEY%
|
|
||||||
secret_key = %TESTER_SECRET_KEY%
|
|
@ -1,17 +0,0 @@
|
|||||||
[DEFAULT]
|
|
||||||
user = %USER%
|
|
||||||
bind_port = 6000
|
|
||||||
swift_dir = %TEST_DIR%/etc
|
|
||||||
devices = %TEST_DIR%
|
|
||||||
mount_check = false
|
|
||||||
workers = 1
|
|
||||||
log_level = DEBUG
|
|
||||||
|
|
||||||
[pipeline:main]
|
|
||||||
pipeline = object-server
|
|
||||||
|
|
||||||
[app:object-server]
|
|
||||||
use = egg:swift#object
|
|
||||||
allowed_headers = Cache-Control, Content-Disposition, Content-Encoding,
|
|
||||||
Content-Language, Expires, X-Delete-At, X-Object-Manifest, X-Robots-Tag,
|
|
||||||
X-Static-Large-Object
|
|
@ -20,7 +20,6 @@ import re
|
|||||||
import time
|
import time
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
# Need for check_path_header
|
|
||||||
from swift.common import utils
|
from swift.common import utils
|
||||||
|
|
||||||
MULTIUPLOAD_SUFFIX = '+segments'
|
MULTIUPLOAD_SUFFIX = '+segments'
|
||||||
|
Loading…
Reference in New Issue
Block a user