Skip to content

Commit 0fa96e9

Browse files
blobstore: checksum support for mpu
1 parent 57fda2a commit 0fa96e9

36 files changed

+73
-285
lines changed

blob/blob-ali/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>org.wiremock</groupId>
2525
<artifactId>wiremock</artifactId>
26-
<version>3.13.2</version>
26+
<version>3.12.1</version>
2727
<scope>test</scope>
2828
</dependency>
2929
<dependency>

blob/blob-aws/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<dependency>
1919
<groupId>org.wiremock</groupId>
2020
<artifactId>wiremock</artifactId>
21-
<version>3.13.2</version>
21+
<version>3.12.1</version>
2222
<scope>test</scope>
2323
</dependency>
2424
<dependency>

blob/blob-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<dependency>
1818
<groupId>org.wiremock</groupId>
1919
<artifactId>wiremock</artifactId>
20-
<version>3.13.2</version>
20+
<version>3.12.1</version>
2121
<scope>test</scope>
2222
</dependency>
2323
<dependency>

blob/blob-gcp/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<dependency>
2323
<groupId>org.wiremock</groupId>
2424
<artifactId>wiremock</artifactId>
25-
<version>3.13.2</version>
25+
<version>3.12.1</version>
2626
<scope>test</scope>
2727
</dependency>
2828
<dependency>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id" : "a67d6db8-841e-4e37-a954-da6877e3bde9",
2+
"id" : "87001eb6-0f17-471e-831d-ebd911bcc3ab",
33
"name" : "GcpBlobStoreIT_testMultipartUpload_withChecksum-DELETE-0",
44
"request" : {
55
"url" : "/storage/v1/b/substrate-sdk-gcp-poc1-test-bucket/o/conformance-tests%2Fmultipart-withChecksum",
@@ -11,15 +11,15 @@
1111
"Alt-Svc" : "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
1212
"Server" : "UploadServer",
1313
"Cache-Control" : "no-cache, no-store, max-age=0, must-revalidate",
14-
"X-GUploader-UploadID" : "AGQBYWyUBIjqHuYBAHvB8cmASKFuPr7Nmqri_qa5G0JzB6IPJ2-1s0d8RK6os8jJyEHxm1t4Kzd8D6rsrBKk",
14+
"X-GUploader-UploadID" : "AGQBYWySpw3okOUmwooTRpJkq-AuJmmrolxZSW_n3ceZtzxVGlJcRnU0_cUXZgvy8b9V-vPzqpf5D3c",
1515
"Vary" : [ "Origin", "X-Origin" ],
1616
"Pragma" : "no-cache",
1717
"Expires" : "Mon, 01 Jan 1990 00:00:00 GMT",
18-
"Date" : "Mon, 09 Mar 2026 18:33:32 GMT",
18+
"Date" : "Mon, 09 Mar 2026 19:36:30 GMT",
1919
"Content-Type" : "application/json"
2020
}
2121
},
22-
"uuid" : "a67d6db8-841e-4e37-a954-da6877e3bde9",
22+
"uuid" : "87001eb6-0f17-471e-831d-ebd911bcc3ab",
2323
"persistent" : true,
24-
"insertionIndex" : 930
24+
"insertionIndex" : 915
2525
}

blob/blob-gcp/src/test/resources/mappings/gcpblobstoreit_testmultipartupload_withchecksum-get-1.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id" : "3d77115f-6002-41f7-9d61-913de8acf5bd",
2+
"id" : "c788e9b5-9c89-46d5-a077-238410b2861d",
33
"name" : "GcpBlobStoreIT_testMultipartUpload_withChecksum-GET-1",
44
"request" : {
55
"urlPath" : "/storage/v1/b/substrate-sdk-gcp-poc1-test-bucket/o",
@@ -29,16 +29,16 @@
2929
"Alt-Svc" : "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
3030
"Server" : "UploadServer",
3131
"Cache-Control" : "private, max-age=0, must-revalidate, no-transform",
32-
"X-GUploader-UploadID" : "AGQBYWw-MCvDjZpIaTaprpK_x3a5hoYcdY4xyyKlwCWrxr0Gp9vvn_Uh2TxLyyXz_Vpfi6GDgOYvLzbt_iXw",
32+
"X-GUploader-UploadID" : "AGQBYWzNgXCIwf7XYG6prZZJFjJkWDOjMghinrCqt1SKdZl6UV0j49DIuSxRKYFmLNi092Q",
3333
"Vary" : [ "Origin", "X-Origin" ],
34-
"Expires" : "Mon, 09 Mar 2026 18:33:31 GMT",
35-
"Date" : "Mon, 09 Mar 2026 18:33:31 GMT",
34+
"Expires" : "Mon, 09 Mar 2026 19:36:30 GMT",
35+
"Date" : "Mon, 09 Mar 2026 19:36:30 GMT",
3636
"Content-Type" : "application/json; charset=UTF-8"
3737
}
3838
},
39-
"uuid" : "3d77115f-6002-41f7-9d61-913de8acf5bd",
39+
"uuid" : "c788e9b5-9c89-46d5-a077-238410b2861d",
4040
"persistent" : true,
4141
"scenarioName" : "scenario-1-storage-v1-b-substrate-sdk-gcp-poc1-test-bucket-o",
4242
"requiredScenarioState" : "scenario-1-storage-v1-b-substrate-sdk-gcp-poc1-test-bucket-o-2",
43-
"insertionIndex" : 931
43+
"insertionIndex" : 916
4444
}

blob/blob-gcp/src/test/resources/mappings/gcpblobstoreit_testmultipartupload_withchecksum-get-2.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id" : "c237cb36-e73f-43b7-94f8-e7ecfdf5458e",
2+
"id" : "3c1bd675-08f1-49cf-b6dc-6fd525d443fe",
33
"name" : "GcpBlobStoreIT_testMultipartUpload_withChecksum-GET-2",
44
"request" : {
55
"urlPath" : "/storage/v1/b/substrate-sdk-gcp-poc1-test-bucket/o/conformance-tests%2Fmultipart-withChecksum",
@@ -19,20 +19,20 @@
1919
},
2020
"response" : {
2121
"status" : 200,
22-
"body" : "{\n \"kind\": \"storage#object\",\n \"id\": \"substrate-sdk-gcp-poc1-test-bucket/conformance-tests/multipart-withChecksum/1773081211238552\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/substrate-sdk-gcp-poc1-test-bucket/o/conformance-tests%2Fmultipart-withChecksum\",\n \"mediaLink\": \"https://storage.googleapis.com/download/storage/v1/b/substrate-sdk-gcp-poc1-test-bucket/o/conformance-tests%2Fmultipart-withChecksum?generation=1773081211238552&alt=media\",\n \"name\": \"conformance-tests/multipart-withChecksum\",\n \"bucket\": \"substrate-sdk-gcp-poc1-test-bucket\",\n \"generation\": \"1773081211238552\",\n \"metageneration\": \"1\",\n \"contentType\": \"application/x-www-form-urlencoded\",\n \"storageClass\": \"STANDARD\",\n \"size\": \"10485760\",\n \"crc32c\": \"jaLPjA==\",\n \"etag\": \"CJjxg566k5MDEAE=\",\n \"timeCreated\": \"2026-03-09T18:33:31.368Z\",\n \"updated\": \"2026-03-09T18:33:31.368Z\",\n \"timeStorageClassUpdated\": \"2026-03-09T18:33:31.368Z\",\n \"timeFinalized\": \"2026-03-09T18:33:31.368Z\",\n \"metadata\": {\n \"key1\": \"value1\"\n }\n}\n",
22+
"body" : "{\n \"kind\": \"storage#object\",\n \"id\": \"substrate-sdk-gcp-poc1-test-bucket/conformance-tests/multipart-withChecksum/1773084989443529\",\n \"selfLink\": \"https://www.googleapis.com/storage/v1/b/substrate-sdk-gcp-poc1-test-bucket/o/conformance-tests%2Fmultipart-withChecksum\",\n \"mediaLink\": \"https://storage.googleapis.com/download/storage/v1/b/substrate-sdk-gcp-poc1-test-bucket/o/conformance-tests%2Fmultipart-withChecksum?generation=1773084989443529&alt=media\",\n \"name\": \"conformance-tests/multipart-withChecksum\",\n \"bucket\": \"substrate-sdk-gcp-poc1-test-bucket\",\n \"generation\": \"1773084989443529\",\n \"metageneration\": \"1\",\n \"contentType\": \"application/x-www-form-urlencoded\",\n \"storageClass\": \"STANDARD\",\n \"size\": \"10485760\",\n \"crc32c\": \"jaLPjA==\",\n \"etag\": \"CMmbz6fIk5MDEAE=\",\n \"timeCreated\": \"2026-03-09T19:36:29.568Z\",\n \"updated\": \"2026-03-09T19:36:29.568Z\",\n \"timeStorageClassUpdated\": \"2026-03-09T19:36:29.568Z\",\n \"timeFinalized\": \"2026-03-09T19:36:29.568Z\",\n \"metadata\": {\n \"key1\": \"value1\"\n }\n}\n",
2323
"headers" : {
2424
"Alt-Svc" : "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
2525
"Server" : "UploadServer",
2626
"Cache-Control" : "private, max-age=0, must-revalidate, no-transform",
27-
"ETag" : "CJjxg566k5MDEAE=",
28-
"X-GUploader-UploadID" : "AGQBYWxpSd1STjACwsDSGarK_--6V1kB8v81QDByvfL9sLPnPpte-iTkiKYDyKyUBz22w_nmUSY0mQsA4XEd",
27+
"ETag" : "CMmbz6fIk5MDEAE=",
28+
"X-GUploader-UploadID" : "AGQBYWzvvQtze-qsa35dLhBZJhkWqyqrHN0tuDl1WWdc1XyFpnVstdsoaDnddRod7jGULRVT",
2929
"Vary" : [ "Origin", "X-Origin" ],
30-
"Expires" : "Mon, 09 Mar 2026 18:33:31 GMT",
31-
"Date" : "Mon, 09 Mar 2026 18:33:31 GMT",
30+
"Expires" : "Mon, 09 Mar 2026 19:36:29 GMT",
31+
"Date" : "Mon, 09 Mar 2026 19:36:29 GMT",
3232
"Content-Type" : "application/json; charset=UTF-8"
3333
}
3434
},
35-
"uuid" : "c237cb36-e73f-43b7-94f8-e7ecfdf5458e",
35+
"uuid" : "3c1bd675-08f1-49cf-b6dc-6fd525d443fe",
3636
"persistent" : true,
37-
"insertionIndex" : 932
37+
"insertionIndex" : 917
3838
}

blob/blob-gcp/src/test/resources/mappings/gcpblobstoreit_testmultipartupload_withchecksum-get-4.json

Lines changed: 0 additions & 45 deletions
This file was deleted.

blob/blob-gcp/src/test/resources/mappings/gcpblobstoreit_testmultipartupload_withchecksum-get-5.json

Lines changed: 0 additions & 45 deletions
This file was deleted.

blob/blob-gcp/src/test/resources/mappings/gcpblobstoreit_testmultipartupload_withchecksum-get-7.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id" : "cdc00480-4080-4162-b203-9aa1b0dcce01",
2+
"id" : "c402909d-36d6-44e2-a674-49993575f336",
33
"name" : "GcpBlobStoreIT_testMultipartUpload_withChecksum-GET-7",
44
"request" : {
55
"urlPath" : "/storage/v1/b/substrate-sdk-gcp-poc1-test-bucket/o",
@@ -29,17 +29,17 @@
2929
"Alt-Svc" : "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
3030
"Server" : "UploadServer",
3131
"Cache-Control" : "private, max-age=0, must-revalidate, no-transform",
32-
"X-GUploader-UploadID" : "AGQBYWyVpWx5El21sWzup2es36x_UbSMUzFBxhTVaAvs9fG5L9pTityYdeU2KLpcAllD1wBwWb8GWBVyEgQy",
32+
"X-GUploader-UploadID" : "AGQBYWwO9c6vSoQBx7foaxtYv_cVDaXioJAuuE0hwRwbbiLMcV9MFgJW5kZqPWOJakel4bQ",
3333
"Vary" : [ "Origin", "X-Origin" ],
34-
"Expires" : "Mon, 09 Mar 2026 18:33:28 GMT",
35-
"Date" : "Mon, 09 Mar 2026 18:33:28 GMT",
34+
"Expires" : "Mon, 09 Mar 2026 19:36:26 GMT",
35+
"Date" : "Mon, 09 Mar 2026 19:36:26 GMT",
3636
"Content-Type" : "application/json; charset=UTF-8"
3737
}
3838
},
39-
"uuid" : "cdc00480-4080-4162-b203-9aa1b0dcce01",
39+
"uuid" : "c402909d-36d6-44e2-a674-49993575f336",
4040
"persistent" : true,
4141
"scenarioName" : "scenario-1-storage-v1-b-substrate-sdk-gcp-poc1-test-bucket-o",
4242
"requiredScenarioState" : "Started",
4343
"newScenarioState" : "scenario-1-storage-v1-b-substrate-sdk-gcp-poc1-test-bucket-o-2",
44-
"insertionIndex" : 937
44+
"insertionIndex" : 922
4545
}

0 commit comments

Comments
 (0)