dynamodb_record 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/dynamodb_record/associations.rb +33 -33
- data/lib/dynamodb_record/finders.rb +0 -1
- data/lib/dynamodb_record/query.rb +1 -0
- data/lib/dynamodb_record/version.rb +1 -1
- data/lib/dynamodb_record.rb +1 -0
- data/spec/dynamodb_record/config_spec.rb +28 -0
- data/spec/dynamodb_record/document_spec.rb +4 -4
- data/spec/dynamodb_record/finders_spec.rb +7 -7
- data/spec/dynamodb_record/persistence_spec.rb +12 -12
- data/spec/dynamodb_record/query_spec.rb +2 -2
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/_belongs_to/get_object.yml +18 -18
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/_has_many/add_list.yml +108 -57
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/_has_many/create_item.yml +28 -27
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/_has_many/get_collection.yml +19 -18
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/has_and_belongs_to_many.yml +31 -31
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/has_and_belongs_to_many_create.yml +91 -39
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/has_many_through.yml +30 -27
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Document/initializes_from_database.yml +11 -11
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Fields/_find/finds_record.yml +12 -12
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Fields/_find/when_record_doesn_t_exists/returns_empty_object.yml +9 -9
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Persistence/_destroy/when_no_range_key/destroys_record.yml +30 -30
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Persistence/_destroy/when_there_is_range_key/destroys_record.yml +9 -111
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Persistence/does_not_overwrite_existing_record.yml +20 -20
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Persistence/saves_record.yml +9 -9
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Persistence/updates_record.yml +31 -31
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Query/_all/find_all_records.yml +12 -12
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Query/querying/_where/returns_records_by_limit.yml +12 -12
- data/spec/fixtures/vcr_cassettes/DynamodbRecord_Query/querying/_where/returns_records_where_user_balance_0.yml +12 -12
- data/spec/spec_helper.rb +7 -6
- metadata +3 -2
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://localhost:8000/
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"TableName":"cars","Key":{"id":{"S":"UVX455"}}}'
|
8
|
+
string: '{"TableName":"fleteo-v2-cars","Key":{"id":{"S":"UVX455"}}}'
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
11
11
|
- ''
|
@@ -19,15 +19,15 @@ http_interactions:
|
|
19
19
|
Host:
|
20
20
|
- localhost:8000
|
21
21
|
X-Amz-Date:
|
22
|
-
-
|
22
|
+
- 20240514T150706Z
|
23
23
|
X-Amz-Content-Sha256:
|
24
|
-
-
|
24
|
+
- 3f40080fdb7ac1732232c14b86645a9ffbd3f94cf8ecda6b3c584d105288bb8d
|
25
25
|
Authorization:
|
26
|
-
- AWS4-HMAC-SHA256 Credential=key/
|
26
|
+
- AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
|
27
27
|
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
|
28
|
-
Signature=
|
28
|
+
Signature=06a5056ca7b7412abb28f73b8b51813f4ea4ed87b99dafd5b28902f1f81ddc1d
|
29
29
|
Content-Length:
|
30
|
-
- '
|
30
|
+
- '58'
|
31
31
|
Accept:
|
32
32
|
- "*/*"
|
33
33
|
response:
|
@@ -36,9 +36,9 @@ http_interactions:
|
|
36
36
|
message: OK
|
37
37
|
headers:
|
38
38
|
Date:
|
39
|
-
-
|
39
|
+
- Tue, 14 May 2024 15:07:06 GMT
|
40
40
|
X-Amzn-Requestid:
|
41
|
-
-
|
41
|
+
- ef6a1b97-0637-4f57-b952-e467f119059f
|
42
42
|
Content-Type:
|
43
43
|
- application/x-amz-json-1.0
|
44
44
|
X-Amz-Crc32:
|
@@ -50,14 +50,14 @@ http_interactions:
|
|
50
50
|
body:
|
51
51
|
encoding: UTF-8
|
52
52
|
string: '{"Item":{"marca":{"S":"Chvrolet"},"created_at":{"S":"2024-05-07T14:09:25-05:00"},"id":{"S":"UVX455"},"updated_at":{"S":"2024-05-07T14:09:25-05:00"}}}'
|
53
|
-
recorded_at:
|
53
|
+
recorded_at: Tue, 14 May 2024 15:07:06 GMT
|
54
54
|
- request:
|
55
55
|
method: post
|
56
56
|
uri: http://localhost:8000/
|
57
57
|
body:
|
58
58
|
encoding: UTF-8
|
59
|
-
string: '{"TableName":"
|
60
|
-
= :car_id","ExpressionAttributeNames":{"#car_id":"car_id"},"ExpressionAttributeValues":{":car_id":{"S":"UVX455"}}
|
59
|
+
string: '{"TableName":"fleteo-v2-cars-users","KeyConditionExpression":"#car_id
|
60
|
+
= :car_id","ExpressionAttributeNames":{"#car_id":"car_id"},"ExpressionAttributeValues":{":car_id":{"S":"UVX455"}}}'
|
61
61
|
headers:
|
62
62
|
Accept-Encoding:
|
63
63
|
- ''
|
@@ -71,15 +71,15 @@ http_interactions:
|
|
71
71
|
Host:
|
72
72
|
- localhost:8000
|
73
73
|
X-Amz-Date:
|
74
|
-
-
|
74
|
+
- 20240514T150706Z
|
75
75
|
X-Amz-Content-Sha256:
|
76
|
-
-
|
76
|
+
- cace0a22d92863fee1a25aaedd2a1d186e28b09ab69c98bf43ee1e5d1e62dc78
|
77
77
|
Authorization:
|
78
|
-
- AWS4-HMAC-SHA256 Credential=key/
|
78
|
+
- AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
|
79
79
|
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
|
80
|
-
Signature=
|
80
|
+
Signature=6b998e974e0b175cfef3301240167228ee4674b99364e0b3d6689914d7582a00
|
81
81
|
Content-Length:
|
82
|
-
- '
|
82
|
+
- '184'
|
83
83
|
Accept:
|
84
84
|
- "*/*"
|
85
85
|
response:
|
@@ -88,27 +88,27 @@ http_interactions:
|
|
88
88
|
message: OK
|
89
89
|
headers:
|
90
90
|
Date:
|
91
|
-
-
|
91
|
+
- Tue, 14 May 2024 15:07:06 GMT
|
92
92
|
X-Amzn-Requestid:
|
93
|
-
-
|
93
|
+
- 5105fec4-4f2d-495f-b7fd-1e4e77d422eb
|
94
94
|
Content-Type:
|
95
95
|
- application/x-amz-json-1.0
|
96
96
|
X-Amz-Crc32:
|
97
|
-
- '
|
97
|
+
- '1919856377'
|
98
98
|
Content-Length:
|
99
|
-
- '
|
99
|
+
- '102'
|
100
100
|
Server:
|
101
101
|
- Jetty(11.0.17)
|
102
102
|
body:
|
103
103
|
encoding: UTF-8
|
104
|
-
string: '{"Items":[{"
|
105
|
-
recorded_at:
|
104
|
+
string: '{"Items":[{"user_id":{"S":"hguzman10@gmail.com"},"car_id":{"S":"UVX455"}}],"Count":1,"ScannedCount":1}'
|
105
|
+
recorded_at: Tue, 14 May 2024 15:07:06 GMT
|
106
106
|
- request:
|
107
107
|
method: post
|
108
108
|
uri: http://localhost:8000/
|
109
109
|
body:
|
110
110
|
encoding: UTF-8
|
111
|
-
string: '{"TableName":"users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
|
111
|
+
string: '{"TableName":"fleteo-v2-users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
|
112
112
|
headers:
|
113
113
|
Accept-Encoding:
|
114
114
|
- ''
|
@@ -122,15 +122,15 @@ http_interactions:
|
|
122
122
|
Host:
|
123
123
|
- localhost:8000
|
124
124
|
X-Amz-Date:
|
125
|
-
-
|
125
|
+
- 20240514T150706Z
|
126
126
|
X-Amz-Content-Sha256:
|
127
|
-
-
|
127
|
+
- ab20f394f9f17ab85359c8cef098ff2e93991ca4f4f9402376eaa33ea97d5545
|
128
128
|
Authorization:
|
129
|
-
- AWS4-HMAC-SHA256 Credential=key/
|
129
|
+
- AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
|
130
130
|
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
|
131
|
-
Signature=
|
131
|
+
Signature=7a77ca70c4490290987c8cc9c0c7d5828f710adb74e54e0308318765d6cb0bff
|
132
132
|
Content-Length:
|
133
|
-
- '
|
133
|
+
- '72'
|
134
134
|
Accept:
|
135
135
|
- "*/*"
|
136
136
|
response:
|
@@ -139,9 +139,9 @@ http_interactions:
|
|
139
139
|
message: OK
|
140
140
|
headers:
|
141
141
|
Date:
|
142
|
-
-
|
142
|
+
- Tue, 14 May 2024 15:07:06 GMT
|
143
143
|
X-Amzn-Requestid:
|
144
|
-
-
|
144
|
+
- 89bd60ea-9f8f-4e3f-ab76-4a895bb5eb39
|
145
145
|
Content-Type:
|
146
146
|
- application/x-amz-json-1.0
|
147
147
|
X-Amz-Crc32:
|
@@ -153,5 +153,5 @@ http_interactions:
|
|
153
153
|
body:
|
154
154
|
encoding: UTF-8
|
155
155
|
string: '{"Item":{"created_at":{"S":"2024-05-07T14:10:09-05:00"},"id":{"S":"hguzman10@gmail.com"},"balance":{"N":"0"},"updated_at":{"S":"2024-05-07T14:10:09-05:00"}}}'
|
156
|
-
recorded_at:
|
156
|
+
recorded_at: Tue, 14 May 2024 15:07:06 GMT
|
157
157
|
recorded_with: VCR 6.2.0
|
data/spec/fixtures/vcr_cassettes/DynamodbRecord_Associations/has_and_belongs_to_many_create.yml
CHANGED
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://localhost:8000/
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"TableName":"cars","Key":{"id":{"S":"UVX455"}}}'
|
8
|
+
string: '{"TableName":"fleteo-v2-cars","Key":{"id":{"S":"UVX455"}}}'
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
11
11
|
- ''
|
@@ -19,15 +19,15 @@ http_interactions:
|
|
19
19
|
Host:
|
20
20
|
- localhost:8000
|
21
21
|
X-Amz-Date:
|
22
|
-
-
|
22
|
+
- 20240514T150857Z
|
23
23
|
X-Amz-Content-Sha256:
|
24
|
-
-
|
24
|
+
- 3f40080fdb7ac1732232c14b86645a9ffbd3f94cf8ecda6b3c584d105288bb8d
|
25
25
|
Authorization:
|
26
|
-
- AWS4-HMAC-SHA256 Credential=key/
|
26
|
+
- AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
|
27
27
|
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
|
28
|
-
Signature=
|
28
|
+
Signature=7b342a18382670246dd411ab6773fb2c99478d532b07d554e20c6212c0f9bc89
|
29
29
|
Content-Length:
|
30
|
-
- '
|
30
|
+
- '58'
|
31
31
|
Accept:
|
32
32
|
- "*/*"
|
33
33
|
response:
|
@@ -36,9 +36,9 @@ http_interactions:
|
|
36
36
|
message: OK
|
37
37
|
headers:
|
38
38
|
Date:
|
39
|
-
-
|
39
|
+
- Tue, 14 May 2024 15:08:57 GMT
|
40
40
|
X-Amzn-Requestid:
|
41
|
-
-
|
41
|
+
- 4d417ee2-ef68-41f9-a96a-b494f7aa75e8
|
42
42
|
Content-Type:
|
43
43
|
- application/x-amz-json-1.0
|
44
44
|
X-Amz-Crc32:
|
@@ -50,13 +50,14 @@ http_interactions:
|
|
50
50
|
body:
|
51
51
|
encoding: UTF-8
|
52
52
|
string: '{"Item":{"marca":{"S":"Chvrolet"},"created_at":{"S":"2024-05-07T14:09:25-05:00"},"id":{"S":"UVX455"},"updated_at":{"S":"2024-05-07T14:09:25-05:00"}}}'
|
53
|
-
recorded_at:
|
53
|
+
recorded_at: Tue, 14 May 2024 15:08:57 GMT
|
54
54
|
- request:
|
55
55
|
method: post
|
56
56
|
uri: http://localhost:8000/
|
57
57
|
body:
|
58
58
|
encoding: UTF-8
|
59
|
-
string: '{"TableName":"cars-users","KeyConditionExpression":"#car_id
|
59
|
+
string: '{"TableName":"fleteo-v2-cars-users","KeyConditionExpression":"#car_id
|
60
|
+
= :car_id","ExpressionAttributeNames":{"#car_id":"car_id"},"ExpressionAttributeValues":{":car_id":{"S":"UVX455"}}}'
|
60
61
|
headers:
|
61
62
|
Accept-Encoding:
|
62
63
|
- ''
|
@@ -70,15 +71,15 @@ http_interactions:
|
|
70
71
|
Host:
|
71
72
|
- localhost:8000
|
72
73
|
X-Amz-Date:
|
73
|
-
-
|
74
|
+
- 20240514T150857Z
|
74
75
|
X-Amz-Content-Sha256:
|
75
|
-
-
|
76
|
+
- cace0a22d92863fee1a25aaedd2a1d186e28b09ab69c98bf43ee1e5d1e62dc78
|
76
77
|
Authorization:
|
77
|
-
- AWS4-HMAC-SHA256 Credential=key/
|
78
|
+
- AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
|
78
79
|
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
|
79
|
-
Signature=
|
80
|
+
Signature=061e838c38387334ef4c00e006a3277a10a1a6bcf05a52d33366e52ca09e0fe5
|
80
81
|
Content-Length:
|
81
|
-
- '
|
82
|
+
- '184'
|
82
83
|
Accept:
|
83
84
|
- "*/*"
|
84
85
|
response:
|
@@ -87,27 +88,78 @@ http_interactions:
|
|
87
88
|
message: OK
|
88
89
|
headers:
|
89
90
|
Date:
|
90
|
-
-
|
91
|
+
- Tue, 14 May 2024 15:08:57 GMT
|
91
92
|
X-Amzn-Requestid:
|
92
|
-
-
|
93
|
+
- 928a6943-b6c4-4a19-845a-1f89e3ed11c5
|
93
94
|
Content-Type:
|
94
95
|
- application/x-amz-json-1.0
|
95
96
|
X-Amz-Crc32:
|
96
|
-
- '
|
97
|
+
- '1919856377'
|
97
98
|
Content-Length:
|
98
|
-
- '
|
99
|
+
- '102'
|
99
100
|
Server:
|
100
101
|
- Jetty(11.0.17)
|
101
102
|
body:
|
102
103
|
encoding: UTF-8
|
103
|
-
string: '{"Items":[],"Count":
|
104
|
-
recorded_at:
|
104
|
+
string: '{"Items":[{"user_id":{"S":"hguzman10@gmail.com"},"car_id":{"S":"UVX455"}}],"Count":1,"ScannedCount":1}'
|
105
|
+
recorded_at: Tue, 14 May 2024 15:08:57 GMT
|
105
106
|
- request:
|
106
107
|
method: post
|
107
108
|
uri: http://localhost:8000/
|
108
109
|
body:
|
109
110
|
encoding: UTF-8
|
110
|
-
string: '{"TableName":"users","
|
111
|
+
string: '{"TableName":"fleteo-v2-users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
|
112
|
+
headers:
|
113
|
+
Accept-Encoding:
|
114
|
+
- ''
|
115
|
+
Content-Type:
|
116
|
+
- application/x-amz-json-1.0
|
117
|
+
X-Amz-Target:
|
118
|
+
- DynamoDB_20120810.GetItem
|
119
|
+
User-Agent:
|
120
|
+
- aws-sdk-ruby3/3.191.3 ua/2.0 api/dynamodb#1.105.0 os/macos#20 md/x86_64 lang/ruby#3.2.3
|
121
|
+
md/3.2.3 cfg/retry-mode#legacy
|
122
|
+
Host:
|
123
|
+
- localhost:8000
|
124
|
+
X-Amz-Date:
|
125
|
+
- 20240514T150857Z
|
126
|
+
X-Amz-Content-Sha256:
|
127
|
+
- ab20f394f9f17ab85359c8cef098ff2e93991ca4f4f9402376eaa33ea97d5545
|
128
|
+
Authorization:
|
129
|
+
- AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
|
130
|
+
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
|
131
|
+
Signature=91872537c56776cac01ca40cb64b82fcde77bb64b8b3dd1b4e698e0c1225f847
|
132
|
+
Content-Length:
|
133
|
+
- '72'
|
134
|
+
Accept:
|
135
|
+
- "*/*"
|
136
|
+
response:
|
137
|
+
status:
|
138
|
+
code: 200
|
139
|
+
message: OK
|
140
|
+
headers:
|
141
|
+
Date:
|
142
|
+
- Tue, 14 May 2024 15:08:57 GMT
|
143
|
+
X-Amzn-Requestid:
|
144
|
+
- 5b8bed75-6639-42a2-822a-df4697c22953
|
145
|
+
Content-Type:
|
146
|
+
- application/x-amz-json-1.0
|
147
|
+
X-Amz-Crc32:
|
148
|
+
- '3262869781'
|
149
|
+
Content-Length:
|
150
|
+
- '157'
|
151
|
+
Server:
|
152
|
+
- Jetty(11.0.17)
|
153
|
+
body:
|
154
|
+
encoding: UTF-8
|
155
|
+
string: '{"Item":{"created_at":{"S":"2024-05-07T14:10:09-05:00"},"id":{"S":"hguzman10@gmail.com"},"balance":{"N":"0"},"updated_at":{"S":"2024-05-07T14:10:09-05:00"}}}'
|
156
|
+
recorded_at: Tue, 14 May 2024 15:08:57 GMT
|
157
|
+
- request:
|
158
|
+
method: post
|
159
|
+
uri: http://localhost:8000/
|
160
|
+
body:
|
161
|
+
encoding: UTF-8
|
162
|
+
string: '{"TableName":"fleteo-v2-users","Item":{"balance":{"N":"0"},"id":{"S":"hguzman50@gmail.com"},"created_at":{"S":"2024-05-14T10:08:57-05:00"},"updated_at":{"S":"2024-05-14T10:08:57-05:00"}}}'
|
111
163
|
headers:
|
112
164
|
Accept-Encoding:
|
113
165
|
- ''
|
@@ -121,15 +173,15 @@ http_interactions:
|
|
121
173
|
Host:
|
122
174
|
- localhost:8000
|
123
175
|
X-Amz-Date:
|
124
|
-
-
|
176
|
+
- 20240514T150857Z
|
125
177
|
X-Amz-Content-Sha256:
|
126
|
-
-
|
178
|
+
- 3ad6c8463801ae079ca7f7ec94c2e2a791d16e713a736cd9f11ed3e219ea0964
|
127
179
|
Authorization:
|
128
|
-
- AWS4-HMAC-SHA256 Credential=key/
|
180
|
+
- AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
|
129
181
|
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
|
130
|
-
Signature=
|
182
|
+
Signature=27d7745ec37b37e7c19b8baf1cf88045f0e95b7f51e0ffed8862f8e3e0db36c5
|
131
183
|
Content-Length:
|
132
|
-
- '
|
184
|
+
- '187'
|
133
185
|
Accept:
|
134
186
|
- "*/*"
|
135
187
|
response:
|
@@ -138,9 +190,9 @@ http_interactions:
|
|
138
190
|
message: OK
|
139
191
|
headers:
|
140
192
|
Date:
|
141
|
-
-
|
193
|
+
- Tue, 14 May 2024 15:08:57 GMT
|
142
194
|
X-Amzn-Requestid:
|
143
|
-
-
|
195
|
+
- 0ba821b4-96b4-4f07-a4fe-63ee94603d94
|
144
196
|
Content-Type:
|
145
197
|
- application/x-amz-json-1.0
|
146
198
|
X-Amz-Crc32:
|
@@ -152,13 +204,13 @@ http_interactions:
|
|
152
204
|
body:
|
153
205
|
encoding: UTF-8
|
154
206
|
string: "{}"
|
155
|
-
recorded_at:
|
207
|
+
recorded_at: Tue, 14 May 2024 15:08:57 GMT
|
156
208
|
- request:
|
157
209
|
method: post
|
158
210
|
uri: http://localhost:8000/
|
159
211
|
body:
|
160
212
|
encoding: UTF-8
|
161
|
-
string: '{"TableName":"cars-users","Item":{"car_id":{"S":"UVX455"},"user_id":{"S":"hguzman50@gmail.com"}}}'
|
213
|
+
string: '{"TableName":"fleteo-v2-cars-users","Item":{"car_id":{"S":"UVX455"},"user_id":{"S":"hguzman50@gmail.com"}}}'
|
162
214
|
headers:
|
163
215
|
Accept-Encoding:
|
164
216
|
- ''
|
@@ -172,15 +224,15 @@ http_interactions:
|
|
172
224
|
Host:
|
173
225
|
- localhost:8000
|
174
226
|
X-Amz-Date:
|
175
|
-
-
|
227
|
+
- 20240514T150857Z
|
176
228
|
X-Amz-Content-Sha256:
|
177
|
-
-
|
229
|
+
- d5b220f0a13a3cedb9b4d4b1eb2b48b14c66738be9e9690a12290e570ad3262d
|
178
230
|
Authorization:
|
179
|
-
- AWS4-HMAC-SHA256 Credential=key/
|
231
|
+
- AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
|
180
232
|
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
|
181
|
-
Signature=
|
233
|
+
Signature=4daab6481522dc81dc65d32bd749ac3e60d3577b28344b1b463eb473c7d1e718
|
182
234
|
Content-Length:
|
183
|
-
- '
|
235
|
+
- '107'
|
184
236
|
Accept:
|
185
237
|
- "*/*"
|
186
238
|
response:
|
@@ -189,9 +241,9 @@ http_interactions:
|
|
189
241
|
message: OK
|
190
242
|
headers:
|
191
243
|
Date:
|
192
|
-
-
|
244
|
+
- Tue, 14 May 2024 15:08:57 GMT
|
193
245
|
X-Amzn-Requestid:
|
194
|
-
-
|
246
|
+
- 43c4093e-afb1-4ba1-a57a-2d1d75fb1580
|
195
247
|
Content-Type:
|
196
248
|
- application/x-amz-json-1.0
|
197
249
|
X-Amz-Crc32:
|
@@ -203,5 +255,5 @@ http_interactions:
|
|
203
255
|
body:
|
204
256
|
encoding: UTF-8
|
205
257
|
string: "{}"
|
206
|
-
recorded_at:
|
258
|
+
recorded_at: Tue, 14 May 2024 15:08:57 GMT
|
207
259
|
recorded_with: VCR 6.2.0
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://localhost:8000/
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"TableName":"services","Key":{"id":{"S":"c1"}}}'
|
8
|
+
string: '{"TableName":"fleteo-v2-services","Key":{"id":{"S":"c1"}}}'
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
11
11
|
- ''
|
@@ -19,15 +19,15 @@ http_interactions:
|
|
19
19
|
Host:
|
20
20
|
- localhost:8000
|
21
21
|
X-Amz-Date:
|
22
|
-
-
|
22
|
+
- 20240514T150755Z
|
23
23
|
X-Amz-Content-Sha256:
|
24
|
-
-
|
24
|
+
- 58ea1cd954af69b1be2d672492d299f11508b9a50931d6d41773854ad047f50f
|
25
25
|
Authorization:
|
26
|
-
- AWS4-HMAC-SHA256 Credential=key/
|
26
|
+
- AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
|
27
27
|
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
|
28
|
-
Signature=
|
28
|
+
Signature=fda5728befe377bfe63bbfd5f62a72061116fb93b6e8367174004b7449a3e98b
|
29
29
|
Content-Length:
|
30
|
-
- '
|
30
|
+
- '58'
|
31
31
|
Accept:
|
32
32
|
- "*/*"
|
33
33
|
response:
|
@@ -36,21 +36,24 @@ http_interactions:
|
|
36
36
|
message: OK
|
37
37
|
headers:
|
38
38
|
Date:
|
39
|
-
-
|
39
|
+
- Tue, 14 May 2024 15:07:55 GMT
|
40
40
|
X-Amzn-Requestid:
|
41
|
-
-
|
41
|
+
- 893f562b-7bc7-49d2-b5ce-65cdb1eb0faa
|
42
42
|
Content-Type:
|
43
43
|
- application/x-amz-json-1.0
|
44
44
|
X-Amz-Crc32:
|
45
|
-
- '
|
45
|
+
- '218550687'
|
46
46
|
Content-Length:
|
47
|
-
- '
|
47
|
+
- '385'
|
48
48
|
Server:
|
49
49
|
- Jetty(11.0.17)
|
50
50
|
body:
|
51
51
|
encoding: UTF-8
|
52
|
-
string: '{"Item":{"
|
53
|
-
|
52
|
+
string: '{"Item":{"schedule":{"S":"Luneas a viernes"},"standby_time":{"S":"1
|
53
|
+
minuto"},"helper_price":{"N":"100"},"service_price":{"N":"1000"},"updated_at":{"S":"2024-05-02T17:24:34-05:00"},"name":{"S":"Datos
|
54
|
+
Basicos"},"description":{"S":"Informacion del automotor"},"created_at":{"S":"2024-05-02T17:24:34-05:00"},"id":{"S":"c1"},"fields":{"S":"placa,
|
55
|
+
motor, chasis"},"activated":{"BOOL":true}}}'
|
56
|
+
recorded_at: Tue, 14 May 2024 15:07:55 GMT
|
54
57
|
- request:
|
55
58
|
method: post
|
56
59
|
uri: http://localhost:8000/
|
@@ -71,13 +74,13 @@ http_interactions:
|
|
71
74
|
Host:
|
72
75
|
- localhost:8000
|
73
76
|
X-Amz-Date:
|
74
|
-
-
|
77
|
+
- 20240514T150755Z
|
75
78
|
X-Amz-Content-Sha256:
|
76
79
|
- 7e4307bcc54828fddac9ef4e82db7b6a7523b3e92ea7d81617aa541348ea7378
|
77
80
|
Authorization:
|
78
|
-
- AWS4-HMAC-SHA256 Credential=key/
|
81
|
+
- AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
|
79
82
|
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
|
80
|
-
Signature=
|
83
|
+
Signature=ca1d7116ed680b7bf3ee6f3ad128eae8d23e179a16def45f00571e8899f5ae0e
|
81
84
|
Content-Length:
|
82
85
|
- '225'
|
83
86
|
Accept:
|
@@ -88,9 +91,9 @@ http_interactions:
|
|
88
91
|
message: OK
|
89
92
|
headers:
|
90
93
|
Date:
|
91
|
-
-
|
94
|
+
- Tue, 14 May 2024 15:07:55 GMT
|
92
95
|
X-Amzn-Requestid:
|
93
|
-
-
|
96
|
+
- acc1366d-b324-4da8-a2c3-7f1a751af150
|
94
97
|
Content-Type:
|
95
98
|
- application/x-amz-json-1.0
|
96
99
|
X-Amz-Crc32:
|
@@ -102,13 +105,13 @@ http_interactions:
|
|
102
105
|
body:
|
103
106
|
encoding: UTF-8
|
104
107
|
string: '{"Items":[{"user_id":{"S":"hguzman10@gmail.com"},"id":{"S":"12345"},"service_id":{"S":"c1"}}],"Count":1,"ScannedCount":1}'
|
105
|
-
recorded_at:
|
108
|
+
recorded_at: Tue, 14 May 2024 15:07:55 GMT
|
106
109
|
- request:
|
107
110
|
method: post
|
108
111
|
uri: http://localhost:8000/
|
109
112
|
body:
|
110
113
|
encoding: UTF-8
|
111
|
-
string: '{"TableName":"users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
|
114
|
+
string: '{"TableName":"fleteo-v2-users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
|
112
115
|
headers:
|
113
116
|
Accept-Encoding:
|
114
117
|
- ''
|
@@ -122,15 +125,15 @@ http_interactions:
|
|
122
125
|
Host:
|
123
126
|
- localhost:8000
|
124
127
|
X-Amz-Date:
|
125
|
-
-
|
128
|
+
- 20240514T150755Z
|
126
129
|
X-Amz-Content-Sha256:
|
127
|
-
-
|
130
|
+
- ab20f394f9f17ab85359c8cef098ff2e93991ca4f4f9402376eaa33ea97d5545
|
128
131
|
Authorization:
|
129
|
-
- AWS4-HMAC-SHA256 Credential=key/
|
132
|
+
- AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
|
130
133
|
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
|
131
|
-
Signature=
|
134
|
+
Signature=2311f940f3763c56418db07d2d498ca006c94fd097550710d01a749f66cc3fd1
|
132
135
|
Content-Length:
|
133
|
-
- '
|
136
|
+
- '72'
|
134
137
|
Accept:
|
135
138
|
- "*/*"
|
136
139
|
response:
|
@@ -139,9 +142,9 @@ http_interactions:
|
|
139
142
|
message: OK
|
140
143
|
headers:
|
141
144
|
Date:
|
142
|
-
-
|
145
|
+
- Tue, 14 May 2024 15:07:55 GMT
|
143
146
|
X-Amzn-Requestid:
|
144
|
-
-
|
147
|
+
- 6780ab71-69c9-4d30-a321-43c2d06aec41
|
145
148
|
Content-Type:
|
146
149
|
- application/x-amz-json-1.0
|
147
150
|
X-Amz-Crc32:
|
@@ -153,5 +156,5 @@ http_interactions:
|
|
153
156
|
body:
|
154
157
|
encoding: UTF-8
|
155
158
|
string: '{"Item":{"created_at":{"S":"2024-05-07T14:10:09-05:00"},"id":{"S":"hguzman10@gmail.com"},"balance":{"N":"0"},"updated_at":{"S":"2024-05-07T14:10:09-05:00"}}}'
|
156
|
-
recorded_at:
|
159
|
+
recorded_at: Tue, 14 May 2024 15:07:55 GMT
|
157
160
|
recorded_with: VCR 6.2.0
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://localhost:8000/
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"TableName":"users","Key":{"id":{"S":"
|
8
|
+
string: '{"TableName":"fleteo-v2-users","Key":{"id":{"S":"hguzman20@gmail.com"}}}'
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
11
11
|
- ''
|
@@ -19,15 +19,15 @@ http_interactions:
|
|
19
19
|
Host:
|
20
20
|
- localhost:8000
|
21
21
|
X-Amz-Date:
|
22
|
-
-
|
22
|
+
- 20240514T153526Z
|
23
23
|
X-Amz-Content-Sha256:
|
24
|
-
-
|
24
|
+
- 5f6498b172f2373775918f917bdbc8930eb585a92f1b57dbb3dd69c47e145a0d
|
25
25
|
Authorization:
|
26
|
-
- AWS4-HMAC-SHA256 Credential=
|
26
|
+
- AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
|
27
27
|
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
|
28
|
-
Signature=
|
28
|
+
Signature=fe7365ca88b1015daeeb7c096fb704897dbd12c1894c65e5ddadf047ee44bc58
|
29
29
|
Content-Length:
|
30
|
-
- '
|
30
|
+
- '72'
|
31
31
|
Accept:
|
32
32
|
- "*/*"
|
33
33
|
response:
|
@@ -36,19 +36,19 @@ http_interactions:
|
|
36
36
|
message: OK
|
37
37
|
headers:
|
38
38
|
Date:
|
39
|
-
-
|
39
|
+
- Tue, 14 May 2024 15:35:26 GMT
|
40
40
|
X-Amzn-Requestid:
|
41
|
-
-
|
41
|
+
- 6b122f1f-4056-4df0-a81e-647d952e093d
|
42
42
|
Content-Type:
|
43
43
|
- application/x-amz-json-1.0
|
44
44
|
X-Amz-Crc32:
|
45
|
-
- '
|
45
|
+
- '4143250247'
|
46
46
|
Content-Length:
|
47
47
|
- '63'
|
48
48
|
Server:
|
49
49
|
- Jetty(11.0.17)
|
50
50
|
body:
|
51
51
|
encoding: UTF-8
|
52
|
-
string: '{"Item":{"balance":{"N":"0"},"id":{"S":"
|
53
|
-
recorded_at:
|
52
|
+
string: '{"Item":{"balance":{"N":"0"},"id":{"S":"hguzman20@gmail.com"}}}'
|
53
|
+
recorded_at: Tue, 14 May 2024 15:35:26 GMT
|
54
54
|
recorded_with: VCR 6.2.0
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://localhost:8000/
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"TableName":"users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
|
8
|
+
string: '{"TableName":"fleteo-v2-users","Key":{"id":{"S":"hguzman10@gmail.com"}}}'
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
11
11
|
- ''
|
@@ -19,15 +19,15 @@ http_interactions:
|
|
19
19
|
Host:
|
20
20
|
- localhost:8000
|
21
21
|
X-Amz-Date:
|
22
|
-
-
|
22
|
+
- 20240514T151559Z
|
23
23
|
X-Amz-Content-Sha256:
|
24
|
-
-
|
24
|
+
- ab20f394f9f17ab85359c8cef098ff2e93991ca4f4f9402376eaa33ea97d5545
|
25
25
|
Authorization:
|
26
|
-
- AWS4-HMAC-SHA256 Credential=
|
26
|
+
- AWS4-HMAC-SHA256 Credential=key/20240514/us-east-1/dynamodb/aws4_request,
|
27
27
|
SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target,
|
28
|
-
Signature=
|
28
|
+
Signature=e6c843173f5e9cbb469fc86a0cc107d2edab9c80853a5a5e078829cb8a42e184
|
29
29
|
Content-Length:
|
30
|
-
- '
|
30
|
+
- '72'
|
31
31
|
Accept:
|
32
32
|
- "*/*"
|
33
33
|
response:
|
@@ -36,19 +36,19 @@ http_interactions:
|
|
36
36
|
message: OK
|
37
37
|
headers:
|
38
38
|
Date:
|
39
|
-
-
|
39
|
+
- Tue, 14 May 2024 15:16:00 GMT
|
40
40
|
X-Amzn-Requestid:
|
41
|
-
-
|
41
|
+
- 9ae029ac-b6b0-4212-830e-92035b403816
|
42
42
|
Content-Type:
|
43
43
|
- application/x-amz-json-1.0
|
44
44
|
X-Amz-Crc32:
|
45
|
-
- '
|
45
|
+
- '3262869781'
|
46
46
|
Content-Length:
|
47
|
-
- '
|
47
|
+
- '157'
|
48
48
|
Server:
|
49
49
|
- Jetty(11.0.17)
|
50
50
|
body:
|
51
51
|
encoding: UTF-8
|
52
|
-
string: '{"Item":{"
|
53
|
-
recorded_at:
|
52
|
+
string: '{"Item":{"created_at":{"S":"2024-05-07T14:10:09-05:00"},"id":{"S":"hguzman10@gmail.com"},"balance":{"N":"0"},"updated_at":{"S":"2024-05-07T14:10:09-05:00"}}}'
|
53
|
+
recorded_at: Tue, 14 May 2024 15:16:00 GMT
|
54
54
|
recorded_with: VCR 6.2.0
|