file-manager 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/Gemfile.lock +27 -28
- data/README.md +8 -0
- data/file-manager.gemspec +1 -1
- data/lib/local_file_manager.rb +9 -0
- data/lib/memory_file_manager.rb +8 -0
- data/lib/s3_file_manager.rb +8 -0
- data/test/file_manager_test.rb +16 -0
- data/test/local_file_manager_test.rb +1 -0
- data/test/memory_file_manager_test.rb +1 -0
- data/test/test_helper.rb +1 -1
- data/test/vcr_cassettes/test_downloading_to_temp_file.yml +47 -50
- data/test/vcr_cassettes/test_listing_files.yml +101 -108
- data/test/vcr_cassettes/test_listing_files_in_sub_dir.yml +101 -108
- data/test/vcr_cassettes/test_reading.yml +59 -63
- data/test/vcr_cassettes/test_reading_in_sub_dir.yml +59 -63
- data/test/vcr_cassettes/test_remove_not_existing_file_dont_raise.yml +25 -27
- data/test/vcr_cassettes/test_rename_file.yml +641 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ace7fc3d0de9b646ee8b5de0e5354394c02f6b6a85703cd21691ef14a8466a71
|
4
|
+
data.tar.gz: 18f272b1e9d9d1b57029c66d4385e1a768cf676ce25b15185f4b6c54f0f009d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0468886aa264b87523a7ac13a3571e37fb186e35a1b286bbd8eb1d3746074750e7fddf08cc6665c29b7161078c08f5fef88d576801e11d5d1ce91351c83427d1'
|
7
|
+
data.tar.gz: a323b2c72aea6779fa6f1d14a5ebd063041d4af842cfa6bf661e218c84745e68a2f3537acb58197d476fc379bfc79ce4019898dba6801c316f55b57618e01d41
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,43 +1,42 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
file-manager (0.
|
4
|
+
file-manager (0.5.0)
|
5
5
|
aws-sdk-s3 (~> 1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
addressable (2.
|
11
|
-
public_suffix (>= 2.0.2, <
|
12
|
-
aws-eventstream (1.0
|
13
|
-
aws-partitions (1.
|
14
|
-
aws-sdk-core (3.
|
15
|
-
aws-eventstream (~> 1.0)
|
16
|
-
aws-partitions (~> 1.0)
|
17
|
-
aws-sigv4 (~> 1.
|
10
|
+
addressable (2.7.0)
|
11
|
+
public_suffix (>= 2.0.2, < 5.0)
|
12
|
+
aws-eventstream (1.1.0)
|
13
|
+
aws-partitions (1.391.0)
|
14
|
+
aws-sdk-core (3.109.2)
|
15
|
+
aws-eventstream (~> 1, >= 1.0.2)
|
16
|
+
aws-partitions (~> 1, >= 1.239.0)
|
17
|
+
aws-sigv4 (~> 1.1)
|
18
18
|
jmespath (~> 1.0)
|
19
|
-
aws-sdk-kms (1.
|
20
|
-
aws-sdk-core (~> 3)
|
21
|
-
aws-sigv4 (~> 1.
|
22
|
-
aws-sdk-s3 (1.
|
23
|
-
aws-sdk-core (~> 3, >= 3.
|
19
|
+
aws-sdk-kms (1.39.0)
|
20
|
+
aws-sdk-core (~> 3, >= 3.109.0)
|
21
|
+
aws-sigv4 (~> 1.1)
|
22
|
+
aws-sdk-s3 (1.84.1)
|
23
|
+
aws-sdk-core (~> 3, >= 3.109.0)
|
24
24
|
aws-sdk-kms (~> 1)
|
25
|
-
aws-sigv4 (~> 1.
|
26
|
-
aws-sigv4 (1.
|
27
|
-
|
28
|
-
|
29
|
-
hashdiff (0.
|
25
|
+
aws-sigv4 (~> 1.1)
|
26
|
+
aws-sigv4 (1.2.2)
|
27
|
+
aws-eventstream (~> 1, >= 1.0.2)
|
28
|
+
crack (0.4.4)
|
29
|
+
hashdiff (1.0.1)
|
30
30
|
jmespath (1.4.0)
|
31
|
-
minitest (5.
|
32
|
-
public_suffix (
|
33
|
-
rake (
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
webmock (3.4.2)
|
31
|
+
minitest (5.14.2)
|
32
|
+
public_suffix (4.0.6)
|
33
|
+
rake (13.0.1)
|
34
|
+
single_cov (1.6.0)
|
35
|
+
vcr (6.0.0)
|
36
|
+
webmock (3.9.5)
|
38
37
|
addressable (>= 2.3.6)
|
39
38
|
crack (>= 0.3.2)
|
40
|
-
hashdiff
|
39
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
41
40
|
|
42
41
|
PLATFORMS
|
43
42
|
java
|
@@ -53,4 +52,4 @@ DEPENDENCIES
|
|
53
52
|
webmock
|
54
53
|
|
55
54
|
BUNDLED WITH
|
56
|
-
|
55
|
+
2.0.1
|
data/README.md
CHANGED
@@ -40,6 +40,14 @@ file_manager_txt = factory.create(:txt)
|
|
40
40
|
|
41
41
|
file_manager_txt.save_file('babau.txt', 'buuuu')
|
42
42
|
|
43
|
+
## Testing
|
44
|
+
|
45
|
+
```sh
|
46
|
+
export AWS_ACCESS_KEY_ID='' # with your keys
|
47
|
+
export AWS_SECRET_ACCESS_KEY=''
|
48
|
+
bundle exec rake
|
49
|
+
```
|
50
|
+
|
43
51
|
## Contributing
|
44
52
|
|
45
53
|
1. Fork it
|
data/file-manager.gemspec
CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = "file-manager"
|
6
|
-
spec.version = '0.
|
6
|
+
spec.version = '0.5.0'
|
7
7
|
spec.authors = ["Francisco Barroso / Marlus Saraiva"]
|
8
8
|
spec.email = ["franciscobarroso@grupofortes.com.br"]
|
9
9
|
spec.description = 'File manager, access S3 or local'
|
data/lib/local_file_manager.rb
CHANGED
@@ -52,6 +52,15 @@ class LocalFileManager < FileManager
|
|
52
52
|
@logger.puts 'done.'
|
53
53
|
end
|
54
54
|
|
55
|
+
def rename_file original_file_name, target_file_name
|
56
|
+
@logger.print "Renaming file \"#{original_file_name}\" to \"#{target_file_name}\" from local folder \"#{root_path}\"..."
|
57
|
+
full_original_file_name = File.join(root_path, original_file_name)
|
58
|
+
full_target_file_name = Pathname(File.join(root_path, target_file_name))
|
59
|
+
FileUtils.mkdir_p(full_target_file_name.dirname)
|
60
|
+
FileUtils.mv full_original_file_name, full_target_file_name
|
61
|
+
@logger.puts 'done.'
|
62
|
+
end
|
63
|
+
|
55
64
|
private
|
56
65
|
|
57
66
|
def root_path
|
data/lib/memory_file_manager.rb
CHANGED
@@ -16,6 +16,10 @@ class MemoryFileManager < FileManager
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def list_files(prefix = '', file_extension = '*')
|
19
|
+
if prefix == '' && file_extension == '*'
|
20
|
+
return @data.keys
|
21
|
+
end
|
22
|
+
|
19
23
|
@data.keys.select{|key| key.start_with?(prefix) && key.end_with?(".#{file_extension}")}
|
20
24
|
end
|
21
25
|
|
@@ -32,4 +36,8 @@ class MemoryFileManager < FileManager
|
|
32
36
|
end
|
33
37
|
end
|
34
38
|
|
39
|
+
def rename_file original_file_name, target_file_name
|
40
|
+
@data["#{target_file_name}"] = @data["#{original_file_name}"]
|
41
|
+
@data.delete "#{original_file_name}"
|
42
|
+
end
|
35
43
|
end
|
data/lib/s3_file_manager.rb
CHANGED
@@ -80,6 +80,14 @@ class S3FileManager < FileManager
|
|
80
80
|
logger.puts 'done.'
|
81
81
|
end
|
82
82
|
|
83
|
+
def rename_file original_file_name, target_file_name
|
84
|
+
s3_service = connect_s3_service
|
85
|
+
bucket = s3_service.bucket(bucket_name)
|
86
|
+
logger.print "Renaming file \"#{original_file_name}\" \"#{target_file_name}\" from bucket \"#{bucket_name}\"..."
|
87
|
+
bucket.object(original_file_name).move_to(bucket: bucket_name, key: target_file_name)
|
88
|
+
logger.puts 'done.'
|
89
|
+
end
|
90
|
+
|
83
91
|
private
|
84
92
|
|
85
93
|
def connect_s3_service
|
data/test/file_manager_test.rb
CHANGED
@@ -68,6 +68,22 @@ module FileManagerTest
|
|
68
68
|
@manager.delete_file 'temp_file/saved'
|
69
69
|
end
|
70
70
|
|
71
|
+
def test_rename_file
|
72
|
+
assert_empty @manager.list_files
|
73
|
+
@manager.save_file 'original/name.txt', 'rename_content'
|
74
|
+
|
75
|
+
@manager.rename_file 'original/name.txt', 'new/name.txt'
|
76
|
+
assert_equal ['new/name.txt'], @manager.list_files
|
77
|
+
assert_equal 'rename_content', @manager.read_file('new/name.txt')
|
78
|
+
|
79
|
+
@manager.rename_file 'new/name.txt', 'new/new2/name.txt'
|
80
|
+
assert_equal ['new/new2/name.txt'], @manager.list_files
|
81
|
+
assert_equal 'rename_content', @manager.read_file('new/new2/name.txt')
|
82
|
+
ensure
|
83
|
+
@manager.delete_file 'original/name.txt'
|
84
|
+
@manager.delete_file 'new/new2/name.txt'
|
85
|
+
assert_empty @manager.list_files
|
86
|
+
end
|
71
87
|
end
|
72
88
|
|
73
89
|
class FileManagerLoggerTest < Minitest::Test
|
data/test/test_helper.rb
CHANGED
@@ -12,20 +12,21 @@ http_interactions:
|
|
12
12
|
Accept-Encoding:
|
13
13
|
- ''
|
14
14
|
User-Agent:
|
15
|
-
- aws-sdk-
|
15
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
16
16
|
Expect:
|
17
17
|
- 100-continue
|
18
18
|
Content-Md5:
|
19
19
|
- mgNkuembtIDdJeHwKEyFVQ==
|
20
|
-
X-Amz-Date:
|
21
|
-
- 20170905T193111Z
|
22
20
|
Host:
|
23
|
-
- file-manager-tests.s3
|
21
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
22
|
+
X-Amz-Date:
|
23
|
+
- 20201111T144040Z
|
24
24
|
X-Amz-Content-Sha256:
|
25
25
|
- ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
|
26
26
|
Authorization:
|
27
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
28
|
-
SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date,
|
27
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
28
|
+
SignedHeaders=content-md5;host;user-agent;x-amz-content-sha256;x-amz-date,
|
29
|
+
Signature=6bacc791a90a0b2053983d6074292bacae3feb963f5f248972dfeb8ce49af257
|
29
30
|
Content-Length:
|
30
31
|
- '7'
|
31
32
|
Accept:
|
@@ -36,11 +37,11 @@ http_interactions:
|
|
36
37
|
message: OK
|
37
38
|
headers:
|
38
39
|
X-Amz-Id-2:
|
39
|
-
-
|
40
|
+
- v7pIH4x9r0GjI9FlS7UH+lLgWxMtGr6So7K1oM9VmZhtudDxVA4LjtHZgKXV4kafyBADrtiHxBE=
|
40
41
|
X-Amz-Request-Id:
|
41
|
-
-
|
42
|
+
- '088B960103233B1F'
|
42
43
|
Date:
|
43
|
-
-
|
44
|
+
- Wed, 11 Nov 2020 14:40:42 GMT
|
44
45
|
Etag:
|
45
46
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
46
47
|
Content-Length:
|
@@ -50,13 +51,12 @@ http_interactions:
|
|
50
51
|
body:
|
51
52
|
encoding: UTF-8
|
52
53
|
string: ''
|
53
|
-
|
54
|
-
recorded_at: Tue, 05 Sep 2017 19:31:12 GMT
|
54
|
+
recorded_at: Wed, 11 Nov 2020 14:40:41 GMT
|
55
55
|
- request:
|
56
56
|
method: get
|
57
57
|
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/temp_file/saved
|
58
58
|
body:
|
59
|
-
encoding:
|
59
|
+
encoding: UTF-8
|
60
60
|
string: ''
|
61
61
|
headers:
|
62
62
|
Content-Type:
|
@@ -64,16 +64,16 @@ http_interactions:
|
|
64
64
|
Accept-Encoding:
|
65
65
|
- ''
|
66
66
|
User-Agent:
|
67
|
-
- aws-sdk-
|
68
|
-
X-Amz-Date:
|
69
|
-
- 20170905T193112Z
|
67
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
70
68
|
Host:
|
71
|
-
- file-manager-tests.s3
|
69
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
70
|
+
X-Amz-Date:
|
71
|
+
- 20201111T144041Z
|
72
72
|
X-Amz-Content-Sha256:
|
73
73
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
74
74
|
Authorization:
|
75
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
76
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
75
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
76
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=173b4dcf56de977f8f97febd9b76233a3ed1b14b7fe82095b9fc3219e6891e42
|
77
77
|
Content-Length:
|
78
78
|
- '0'
|
79
79
|
Accept:
|
@@ -84,13 +84,13 @@ http_interactions:
|
|
84
84
|
message: OK
|
85
85
|
headers:
|
86
86
|
X-Amz-Id-2:
|
87
|
-
-
|
87
|
+
- oxm7JHj66N9Et/3UhmG/ZDSCTTA6LxHCIeEyE9NVF5+pbk1wdUK2vqtpT3x8+GvGQn9tBIL0u+8=
|
88
88
|
X-Amz-Request-Id:
|
89
|
-
-
|
89
|
+
- 6978EECB4E579781
|
90
90
|
Date:
|
91
|
-
-
|
91
|
+
- Wed, 11 Nov 2020 14:40:42 GMT
|
92
92
|
Last-Modified:
|
93
|
-
-
|
93
|
+
- Wed, 11 Nov 2020 14:40:42 GMT
|
94
94
|
Etag:
|
95
95
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
96
96
|
Accept-Ranges:
|
@@ -104,13 +104,12 @@ http_interactions:
|
|
104
104
|
body:
|
105
105
|
encoding: UTF-8
|
106
106
|
string: content
|
107
|
-
|
108
|
-
recorded_at: Tue, 05 Sep 2017 19:31:13 GMT
|
107
|
+
recorded_at: Wed, 11 Nov 2020 14:40:42 GMT
|
109
108
|
- request:
|
110
109
|
method: get
|
111
110
|
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/temp_file/saved
|
112
111
|
body:
|
113
|
-
encoding:
|
112
|
+
encoding: UTF-8
|
114
113
|
string: ''
|
115
114
|
headers:
|
116
115
|
Content-Type:
|
@@ -118,16 +117,16 @@ http_interactions:
|
|
118
117
|
Accept-Encoding:
|
119
118
|
- ''
|
120
119
|
User-Agent:
|
121
|
-
- aws-sdk-
|
122
|
-
X-Amz-Date:
|
123
|
-
- 20170905T193113Z
|
120
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
124
121
|
Host:
|
125
|
-
- file-manager-tests.s3
|
122
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
123
|
+
X-Amz-Date:
|
124
|
+
- 20201111T144042Z
|
126
125
|
X-Amz-Content-Sha256:
|
127
126
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
128
127
|
Authorization:
|
129
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
130
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
128
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
129
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=5a3fe2bc32b36b964cdfbd439ddfc6e66b582525fe726f8f04f55da49830071c
|
131
130
|
Content-Length:
|
132
131
|
- '0'
|
133
132
|
Accept:
|
@@ -138,13 +137,13 @@ http_interactions:
|
|
138
137
|
message: OK
|
139
138
|
headers:
|
140
139
|
X-Amz-Id-2:
|
141
|
-
-
|
140
|
+
- U0XDHBcTlMiOjJwClNfEJYHQpD7oIb1wcRu03gOB7xUugVY1DtWGBlULOQfEa2m93N040h+0tMA=
|
142
141
|
X-Amz-Request-Id:
|
143
|
-
-
|
142
|
+
- 58144A9FA1068710
|
144
143
|
Date:
|
145
|
-
-
|
144
|
+
- Wed, 11 Nov 2020 14:40:43 GMT
|
146
145
|
Last-Modified:
|
147
|
-
-
|
146
|
+
- Wed, 11 Nov 2020 14:40:42 GMT
|
148
147
|
Etag:
|
149
148
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
150
149
|
Accept-Ranges:
|
@@ -158,13 +157,12 @@ http_interactions:
|
|
158
157
|
body:
|
159
158
|
encoding: UTF-8
|
160
159
|
string: content
|
161
|
-
|
162
|
-
recorded_at: Tue, 05 Sep 2017 19:31:13 GMT
|
160
|
+
recorded_at: Wed, 11 Nov 2020 14:40:42 GMT
|
163
161
|
- request:
|
164
162
|
method: delete
|
165
163
|
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/temp_file/saved
|
166
164
|
body:
|
167
|
-
encoding:
|
165
|
+
encoding: UTF-8
|
168
166
|
string: ''
|
169
167
|
headers:
|
170
168
|
Content-Type:
|
@@ -172,16 +170,16 @@ http_interactions:
|
|
172
170
|
Accept-Encoding:
|
173
171
|
- ''
|
174
172
|
User-Agent:
|
175
|
-
- aws-sdk-
|
176
|
-
X-Amz-Date:
|
177
|
-
- 20170905T193113Z
|
173
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
178
174
|
Host:
|
179
|
-
- file-manager-tests.s3
|
175
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
176
|
+
X-Amz-Date:
|
177
|
+
- 20201111T144042Z
|
180
178
|
X-Amz-Content-Sha256:
|
181
179
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
182
180
|
Authorization:
|
183
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
184
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
181
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
182
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=30f9e796026f3aacfd9f266a32e79c6c8a886af4f1abcc1b9fb8eef0885e8042
|
185
183
|
Content-Length:
|
186
184
|
- '0'
|
187
185
|
Accept:
|
@@ -192,16 +190,15 @@ http_interactions:
|
|
192
190
|
message: No Content
|
193
191
|
headers:
|
194
192
|
X-Amz-Id-2:
|
195
|
-
-
|
193
|
+
- udv2xypDIi4J4u8Z4G1z3H3lDcOre4IY/osPzB68iLB53a86Dg3/0fu32JaJ62V9SLO02FLz7yo=
|
196
194
|
X-Amz-Request-Id:
|
197
|
-
-
|
195
|
+
- 9QEW5WDRAZDVBXDG
|
198
196
|
Date:
|
199
|
-
-
|
197
|
+
- Wed, 11 Nov 2020 14:40:44 GMT
|
200
198
|
Server:
|
201
199
|
- AmazonS3
|
202
200
|
body:
|
203
201
|
encoding: UTF-8
|
204
202
|
string: ''
|
205
|
-
|
206
|
-
|
207
|
-
recorded_with: VCR 3.0.1
|
203
|
+
recorded_at: Wed, 11 Nov 2020 14:40:43 GMT
|
204
|
+
recorded_with: VCR 6.0.0
|
@@ -2,9 +2,9 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?
|
5
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
|
6
6
|
body:
|
7
|
-
encoding:
|
7
|
+
encoding: UTF-8
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Content-Type:
|
@@ -12,16 +12,16 @@ http_interactions:
|
|
12
12
|
Accept-Encoding:
|
13
13
|
- ''
|
14
14
|
User-Agent:
|
15
|
-
- aws-sdk-
|
16
|
-
X-Amz-Date:
|
17
|
-
- 20170905T193118Z
|
15
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
18
16
|
Host:
|
19
|
-
- file-manager-tests.s3
|
17
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
18
|
+
X-Amz-Date:
|
19
|
+
- 20201111T144043Z
|
20
20
|
X-Amz-Content-Sha256:
|
21
21
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
22
22
|
Authorization:
|
23
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
24
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
23
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
24
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=ca6dbe572623d940e9f5ec8ee55c95766cee0e1b2b871623d1e2074b747a94cc
|
25
25
|
Content-Length:
|
26
26
|
- '0'
|
27
27
|
Accept:
|
@@ -32,11 +32,11 @@ http_interactions:
|
|
32
32
|
message: OK
|
33
33
|
headers:
|
34
34
|
X-Amz-Id-2:
|
35
|
-
-
|
35
|
+
- XJA3kFyIHvhpurZtBL2nuRKpDAr1ObnWf0qyijmpRhhcqXJcTI+6mMwnL2NrMg73PioCZ2QlL9Q=
|
36
36
|
X-Amz-Request-Id:
|
37
|
-
-
|
37
|
+
- BA54EEDAAB6BE145
|
38
38
|
Date:
|
39
|
-
-
|
39
|
+
- Wed, 11 Nov 2020 14:40:45 GMT
|
40
40
|
X-Amz-Bucket-Region:
|
41
41
|
- us-west-2
|
42
42
|
Content-Type:
|
@@ -49,9 +49,8 @@ http_interactions:
|
|
49
49
|
encoding: UTF-8
|
50
50
|
string: |-
|
51
51
|
<?xml version="1.0" encoding="UTF-8"?>
|
52
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><
|
53
|
-
|
54
|
-
recorded_at: Tue, 05 Sep 2017 19:31:19 GMT
|
52
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><KeyCount>0</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
|
53
|
+
recorded_at: Wed, 11 Nov 2020 14:40:44 GMT
|
55
54
|
- request:
|
56
55
|
method: put
|
57
56
|
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/saved.*
|
@@ -64,20 +63,21 @@ http_interactions:
|
|
64
63
|
Accept-Encoding:
|
65
64
|
- ''
|
66
65
|
User-Agent:
|
67
|
-
- aws-sdk-
|
66
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
68
67
|
Expect:
|
69
68
|
- 100-continue
|
70
69
|
Content-Md5:
|
71
70
|
- mgNkuembtIDdJeHwKEyFVQ==
|
72
|
-
X-Amz-Date:
|
73
|
-
- 20170905T193119Z
|
74
71
|
Host:
|
75
|
-
- file-manager-tests.s3
|
72
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
73
|
+
X-Amz-Date:
|
74
|
+
- 20201111T144044Z
|
76
75
|
X-Amz-Content-Sha256:
|
77
76
|
- ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73
|
78
77
|
Authorization:
|
79
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
80
|
-
SignedHeaders=content-md5;host;x-amz-content-sha256;x-amz-date,
|
78
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
79
|
+
SignedHeaders=content-md5;host;user-agent;x-amz-content-sha256;x-amz-date,
|
80
|
+
Signature=82ac07b9e51accbd619f682d398a772c1a12b9d39b200bef4f43e0e1044a266d
|
81
81
|
Content-Length:
|
82
82
|
- '7'
|
83
83
|
Accept:
|
@@ -88,11 +88,11 @@ http_interactions:
|
|
88
88
|
message: OK
|
89
89
|
headers:
|
90
90
|
X-Amz-Id-2:
|
91
|
-
-
|
91
|
+
- FgSwsS/y9QE2eafUbygiF03KAN2J3KKJLNLT2xilgUjrGY8STnMkV+lt5zY08UMlMLQ/msrGlpo=
|
92
92
|
X-Amz-Request-Id:
|
93
|
-
-
|
93
|
+
- B187CF96D483E124
|
94
94
|
Date:
|
95
|
-
-
|
95
|
+
- Wed, 11 Nov 2020 14:40:45 GMT
|
96
96
|
Etag:
|
97
97
|
- '"9a0364b9e99bb480dd25e1f0284c8555"'
|
98
98
|
Content-Length:
|
@@ -102,13 +102,12 @@ http_interactions:
|
|
102
102
|
body:
|
103
103
|
encoding: UTF-8
|
104
104
|
string: ''
|
105
|
-
|
106
|
-
recorded_at: Tue, 05 Sep 2017 19:31:20 GMT
|
105
|
+
recorded_at: Wed, 11 Nov 2020 14:40:45 GMT
|
107
106
|
- request:
|
108
107
|
method: get
|
109
|
-
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?
|
108
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=other_prefix
|
110
109
|
body:
|
111
|
-
encoding:
|
110
|
+
encoding: UTF-8
|
112
111
|
string: ''
|
113
112
|
headers:
|
114
113
|
Content-Type:
|
@@ -116,16 +115,16 @@ http_interactions:
|
|
116
115
|
Accept-Encoding:
|
117
116
|
- ''
|
118
117
|
User-Agent:
|
119
|
-
- aws-sdk-
|
120
|
-
X-Amz-Date:
|
121
|
-
- 20170905T193120Z
|
118
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
122
119
|
Host:
|
123
|
-
- file-manager-tests.s3
|
120
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
121
|
+
X-Amz-Date:
|
122
|
+
- 20201111T144045Z
|
124
123
|
X-Amz-Content-Sha256:
|
125
124
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
126
125
|
Authorization:
|
127
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
128
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
126
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
127
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=fc46c37163c1d6d0cce293ca305e7afa3388c1ae835841c9d262d8e79f82902f
|
129
128
|
Content-Length:
|
130
129
|
- '0'
|
131
130
|
Accept:
|
@@ -136,11 +135,11 @@ http_interactions:
|
|
136
135
|
message: OK
|
137
136
|
headers:
|
138
137
|
X-Amz-Id-2:
|
139
|
-
-
|
138
|
+
- VYqzwCnzB6SAs64bn1D0A5YDOfbLQjOsERgWlcEm5JPptVJSNMWG7qMz3RX5VBgozWth66SM+1M=
|
140
139
|
X-Amz-Request-Id:
|
141
|
-
-
|
140
|
+
- A0DE23FDC8EEC4D1
|
142
141
|
Date:
|
143
|
-
-
|
142
|
+
- Wed, 11 Nov 2020 14:40:46 GMT
|
144
143
|
X-Amz-Bucket-Region:
|
145
144
|
- us-west-2
|
146
145
|
Content-Type:
|
@@ -153,14 +152,13 @@ http_interactions:
|
|
153
152
|
encoding: UTF-8
|
154
153
|
string: |-
|
155
154
|
<?xml version="1.0" encoding="UTF-8"?>
|
156
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>other_prefix</Prefix><
|
157
|
-
|
158
|
-
recorded_at: Tue, 05 Sep 2017 19:31:20 GMT
|
155
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>other_prefix</Prefix><KeyCount>0</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
|
156
|
+
recorded_at: Wed, 11 Nov 2020 14:40:45 GMT
|
159
157
|
- request:
|
160
158
|
method: get
|
161
|
-
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?
|
159
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=sav
|
162
160
|
body:
|
163
|
-
encoding:
|
161
|
+
encoding: UTF-8
|
164
162
|
string: ''
|
165
163
|
headers:
|
166
164
|
Content-Type:
|
@@ -168,16 +166,16 @@ http_interactions:
|
|
168
166
|
Accept-Encoding:
|
169
167
|
- ''
|
170
168
|
User-Agent:
|
171
|
-
- aws-sdk-
|
172
|
-
X-Amz-Date:
|
173
|
-
- 20170905T193120Z
|
169
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
174
170
|
Host:
|
175
|
-
- file-manager-tests.s3
|
171
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
172
|
+
X-Amz-Date:
|
173
|
+
- 20201111T144045Z
|
176
174
|
X-Amz-Content-Sha256:
|
177
175
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
178
176
|
Authorization:
|
179
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
180
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
177
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
178
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=be0335756e6facf76a1e865b3ffba1030c2d75bc3ebdbf661a055243d1594487
|
181
179
|
Content-Length:
|
182
180
|
- '0'
|
183
181
|
Accept:
|
@@ -188,11 +186,11 @@ http_interactions:
|
|
188
186
|
message: OK
|
189
187
|
headers:
|
190
188
|
X-Amz-Id-2:
|
191
|
-
-
|
189
|
+
- zrkTg6mppuhFLlk8Hfahf2vs+Nar+hA9xz3gxvLfjaQoSEHbPoyjX64b4qOk/A5xutke+Zff6/k=
|
192
190
|
X-Amz-Request-Id:
|
193
|
-
-
|
191
|
+
- EBD179C9066E182C
|
194
192
|
Date:
|
195
|
-
-
|
193
|
+
- Wed, 11 Nov 2020 14:40:47 GMT
|
196
194
|
X-Amz-Bucket-Region:
|
197
195
|
- us-west-2
|
198
196
|
Content-Type:
|
@@ -205,14 +203,13 @@ http_interactions:
|
|
205
203
|
encoding: UTF-8
|
206
204
|
string: |-
|
207
205
|
<?xml version="1.0" encoding="UTF-8"?>
|
208
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sav</Prefix><
|
209
|
-
|
210
|
-
recorded_at: Tue, 05 Sep 2017 19:31:21 GMT
|
206
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sav</Prefix><KeyCount>1</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>saved.*</Key><LastModified>2020-11-11T14:40:45.000Z</LastModified><ETag>"9a0364b9e99bb480dd25e1f0284c8555"</ETag><Size>7</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
207
|
+
recorded_at: Wed, 11 Nov 2020 14:40:46 GMT
|
211
208
|
- request:
|
212
209
|
method: get
|
213
|
-
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?
|
210
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
|
214
211
|
body:
|
215
|
-
encoding:
|
212
|
+
encoding: UTF-8
|
216
213
|
string: ''
|
217
214
|
headers:
|
218
215
|
Content-Type:
|
@@ -220,16 +217,16 @@ http_interactions:
|
|
220
217
|
Accept-Encoding:
|
221
218
|
- ''
|
222
219
|
User-Agent:
|
223
|
-
- aws-sdk-
|
224
|
-
X-Amz-Date:
|
225
|
-
- 20170905T193121Z
|
220
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
226
221
|
Host:
|
227
|
-
- file-manager-tests.s3
|
222
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
223
|
+
X-Amz-Date:
|
224
|
+
- 20201111T144046Z
|
228
225
|
X-Amz-Content-Sha256:
|
229
226
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
230
227
|
Authorization:
|
231
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
232
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
228
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
229
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=2aa01ab41c7f123d8075758815b46959908c7fad03f6de68ee83ed645c93047b
|
233
230
|
Content-Length:
|
234
231
|
- '0'
|
235
232
|
Accept:
|
@@ -240,11 +237,11 @@ http_interactions:
|
|
240
237
|
message: OK
|
241
238
|
headers:
|
242
239
|
X-Amz-Id-2:
|
243
|
-
-
|
240
|
+
- JYbNZOGtdtG4qPHNBD5nspLPdZLAkTQQ3fuPl7wR0IpmSPUd1VOC6YRVRVSj6YQU4pmJNyfeDxE=
|
244
241
|
X-Amz-Request-Id:
|
245
|
-
-
|
242
|
+
- 15CB917B84C79716
|
246
243
|
Date:
|
247
|
-
-
|
244
|
+
- Wed, 11 Nov 2020 14:40:48 GMT
|
248
245
|
X-Amz-Bucket-Region:
|
249
246
|
- us-west-2
|
250
247
|
Content-Type:
|
@@ -257,14 +254,13 @@ http_interactions:
|
|
257
254
|
encoding: UTF-8
|
258
255
|
string: |-
|
259
256
|
<?xml version="1.0" encoding="UTF-8"?>
|
260
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><
|
261
|
-
|
262
|
-
recorded_at: Tue, 05 Sep 2017 19:31:22 GMT
|
257
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><KeyCount>1</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>saved.*</Key><LastModified>2020-11-11T14:40:45.000Z</LastModified><ETag>"9a0364b9e99bb480dd25e1f0284c8555"</ETag><Size>7</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
258
|
+
recorded_at: Wed, 11 Nov 2020 14:40:47 GMT
|
263
259
|
- request:
|
264
260
|
method: get
|
265
|
-
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?
|
261
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=sav
|
266
262
|
body:
|
267
|
-
encoding:
|
263
|
+
encoding: UTF-8
|
268
264
|
string: ''
|
269
265
|
headers:
|
270
266
|
Content-Type:
|
@@ -272,16 +268,16 @@ http_interactions:
|
|
272
268
|
Accept-Encoding:
|
273
269
|
- ''
|
274
270
|
User-Agent:
|
275
|
-
- aws-sdk-
|
276
|
-
X-Amz-Date:
|
277
|
-
- 20170905T193122Z
|
271
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
278
272
|
Host:
|
279
|
-
- file-manager-tests.s3
|
273
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
274
|
+
X-Amz-Date:
|
275
|
+
- 20201111T144047Z
|
280
276
|
X-Amz-Content-Sha256:
|
281
277
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
282
278
|
Authorization:
|
283
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
284
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
279
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
280
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=57a108b07f93c556be847569d84c9a3a4369215465946d6cbef887e0c85e5a41
|
285
281
|
Content-Length:
|
286
282
|
- '0'
|
287
283
|
Accept:
|
@@ -292,11 +288,11 @@ http_interactions:
|
|
292
288
|
message: OK
|
293
289
|
headers:
|
294
290
|
X-Amz-Id-2:
|
295
|
-
-
|
291
|
+
- YSU7HH72kI7T/X968UOjUwCvrkIB7dXsju5SkBzIwmqhXCsiECjzWg2Zv432i5FYKBZVJSaSnaQ=
|
296
292
|
X-Amz-Request-Id:
|
297
|
-
-
|
293
|
+
- FB2506C6319B14CC
|
298
294
|
Date:
|
299
|
-
-
|
295
|
+
- Wed, 11 Nov 2020 14:40:49 GMT
|
300
296
|
X-Amz-Bucket-Region:
|
301
297
|
- us-west-2
|
302
298
|
Content-Type:
|
@@ -309,14 +305,13 @@ http_interactions:
|
|
309
305
|
encoding: UTF-8
|
310
306
|
string: |-
|
311
307
|
<?xml version="1.0" encoding="UTF-8"?>
|
312
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sav</Prefix><
|
313
|
-
|
314
|
-
recorded_at: Tue, 05 Sep 2017 19:31:23 GMT
|
308
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix>sav</Prefix><KeyCount>1</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated><Contents><Key>saved.*</Key><LastModified>2020-11-11T14:40:45.000Z</LastModified><ETag>"9a0364b9e99bb480dd25e1f0284c8555"</ETag><Size>7</Size><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>
|
309
|
+
recorded_at: Wed, 11 Nov 2020 14:40:48 GMT
|
315
310
|
- request:
|
316
311
|
method: delete
|
317
312
|
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/saved.*
|
318
313
|
body:
|
319
|
-
encoding:
|
314
|
+
encoding: UTF-8
|
320
315
|
string: ''
|
321
316
|
headers:
|
322
317
|
Content-Type:
|
@@ -324,16 +319,16 @@ http_interactions:
|
|
324
319
|
Accept-Encoding:
|
325
320
|
- ''
|
326
321
|
User-Agent:
|
327
|
-
- aws-sdk-
|
328
|
-
X-Amz-Date:
|
329
|
-
- 20170905T193123Z
|
322
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
330
323
|
Host:
|
331
|
-
- file-manager-tests.s3
|
324
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
325
|
+
X-Amz-Date:
|
326
|
+
- 20201111T144048Z
|
332
327
|
X-Amz-Content-Sha256:
|
333
328
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
334
329
|
Authorization:
|
335
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
336
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
330
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
331
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=c961e4902756ff54a7fafa4772e99f1310b6685b291c2ee5d08e1bbea6b8ea56
|
337
332
|
Content-Length:
|
338
333
|
- '0'
|
339
334
|
Accept:
|
@@ -344,23 +339,22 @@ http_interactions:
|
|
344
339
|
message: No Content
|
345
340
|
headers:
|
346
341
|
X-Amz-Id-2:
|
347
|
-
-
|
342
|
+
- BgLpZCfDuCxvYFpEmFglJb2iGBpzPXD95KdlDgb4+m+jDwjjRtAmOsElWGqNLsRjVKlOZT2BCo4=
|
348
343
|
X-Amz-Request-Id:
|
349
|
-
-
|
344
|
+
- 8970CC2F5A7337F5
|
350
345
|
Date:
|
351
|
-
-
|
346
|
+
- Wed, 11 Nov 2020 14:40:49 GMT
|
352
347
|
Server:
|
353
348
|
- AmazonS3
|
354
349
|
body:
|
355
350
|
encoding: UTF-8
|
356
351
|
string: ''
|
357
|
-
|
358
|
-
recorded_at: Tue, 05 Sep 2017 19:31:24 GMT
|
352
|
+
recorded_at: Wed, 11 Nov 2020 14:40:49 GMT
|
359
353
|
- request:
|
360
354
|
method: get
|
361
|
-
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?
|
355
|
+
uri: https://file-manager-tests.s3.us-west-2.amazonaws.com/?list-type=2&prefix=
|
362
356
|
body:
|
363
|
-
encoding:
|
357
|
+
encoding: UTF-8
|
364
358
|
string: ''
|
365
359
|
headers:
|
366
360
|
Content-Type:
|
@@ -368,16 +362,16 @@ http_interactions:
|
|
368
362
|
Accept-Encoding:
|
369
363
|
- ''
|
370
364
|
User-Agent:
|
371
|
-
- aws-sdk-
|
372
|
-
X-Amz-Date:
|
373
|
-
- 20170905T193124Z
|
365
|
+
- aws-sdk-ruby3/3.109.2 ruby/2.5.3 x86_64-linux aws-sdk-s3/1.84.1
|
374
366
|
Host:
|
375
|
-
- file-manager-tests.s3
|
367
|
+
- file-manager-tests.s3.us-west-2.amazonaws.com
|
368
|
+
X-Amz-Date:
|
369
|
+
- 20201111T144049Z
|
376
370
|
X-Amz-Content-Sha256:
|
377
371
|
- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
378
372
|
Authorization:
|
379
|
-
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/
|
380
|
-
SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=
|
373
|
+
- AWS4-HMAC-SHA256 Credential=AKIAJ73G6IOWSUPCKP5A/20201111/us-west-2/s3/aws4_request,
|
374
|
+
SignedHeaders=host;user-agent;x-amz-content-sha256;x-amz-date, Signature=079a24de07f965e31dfa550e584a8f18fe01c2f0e1f23a11ce269717e0aa0034
|
381
375
|
Content-Length:
|
382
376
|
- '0'
|
383
377
|
Accept:
|
@@ -388,11 +382,11 @@ http_interactions:
|
|
388
382
|
message: OK
|
389
383
|
headers:
|
390
384
|
X-Amz-Id-2:
|
391
|
-
-
|
385
|
+
- PWxzEonlO9GGWnh3SjQM/8PDfZ+6CjjXqYil3UnOJVTwkXt3cY2y0P/0/fJauCMIQngqJoAlioQ=
|
392
386
|
X-Amz-Request-Id:
|
393
|
-
-
|
387
|
+
- F5B5C50C933FA075
|
394
388
|
Date:
|
395
|
-
-
|
389
|
+
- Wed, 11 Nov 2020 14:40:50 GMT
|
396
390
|
X-Amz-Bucket-Region:
|
397
391
|
- us-west-2
|
398
392
|
Content-Type:
|
@@ -405,7 +399,6 @@ http_interactions:
|
|
405
399
|
encoding: UTF-8
|
406
400
|
string: |-
|
407
401
|
<?xml version="1.0" encoding="UTF-8"?>
|
408
|
-
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><
|
409
|
-
|
410
|
-
|
411
|
-
recorded_with: VCR 3.0.1
|
402
|
+
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>file-manager-tests</Name><Prefix></Prefix><KeyCount>0</KeyCount><MaxKeys>1000</MaxKeys><IsTruncated>false</IsTruncated></ListBucketResult>
|
403
|
+
recorded_at: Wed, 11 Nov 2020 14:40:49 GMT
|
404
|
+
recorded_with: VCR 6.0.0
|