Skip to content

Commit 86536cd

Browse files
add conformance tests for SSE (#81)
1 parent 534ea0b commit 86536cd

File tree

22 files changed

+697
-0
lines changed

22 files changed

+697
-0
lines changed

blob/blob-aws/src/test/java/com/salesforce/multicloudj/blob/aws/AwsBlobStoreIT.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ public int getPort() {
112112
return port;
113113
}
114114

115+
@Override
116+
public String getKmsKeyId() {
117+
return "arn:aws:kms:us-west-2:654654370895:key/faa140af-8195-49c0-9f8a-f03e9fd47d89";
118+
}
119+
115120
@Override
116121
public void close() {
117122
client.close();
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"id" : "6e3ce18a-2675-4e55-8c0b-92be76d384bd",
3+
"name" : "chameleon-jcloud_conformance-tests_kms_ranged-read",
4+
"request" : {
5+
"url" : "/chameleon-jcloud/conformance-tests/kms/ranged-read",
6+
"method" : "DELETE"
7+
},
8+
"response" : {
9+
"status" : 204,
10+
"headers" : {
11+
"Server" : "AmazonS3",
12+
"x-amz-request-id" : "9NSWPJK4Z3BHM45Q",
13+
"x-amz-id-2" : "S9M2kSYFjN9yhvfWAYnYDVl3IrFlWaI+2yJ0X978mpS5eSIhpQ3wlCE6TXAZHPrA7BNB0dwTAYM=",
14+
"Date" : "Fri, 17 Oct 2025 22:26:11 GMT"
15+
}
16+
},
17+
"uuid" : "6e3ce18a-2675-4e55-8c0b-92be76d384bd",
18+
"persistent" : true,
19+
"insertionIndex" : 539
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"id" : "91a46fad-e6bd-461e-beac-fb8e337b4b7c",
3+
"name" : "chameleon-jcloud_conformance-tests_kms_upload-null-key",
4+
"request" : {
5+
"url" : "/chameleon-jcloud/conformance-tests/kms/upload-null-key",
6+
"method" : "DELETE"
7+
},
8+
"response" : {
9+
"status" : 204,
10+
"headers" : {
11+
"Server" : "AmazonS3",
12+
"x-amz-request-id" : "81JMTZ8V55G7AE2K",
13+
"x-amz-id-2" : "7cIIW/tc2wHZoU0c1OSpKZXUWTTVjjE9Gix70nI6DlIPq+cq+nQSMo5bHpDFCT04hXXhZuhF7do=",
14+
"Date" : "Fri, 17 Oct 2025 22:26:08 GMT"
15+
}
16+
},
17+
"uuid" : "91a46fad-e6bd-461e-beac-fb8e337b4b7c",
18+
"persistent" : true,
19+
"insertionIndex" : 535
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"id" : "6a9f4830-9951-4e25-818b-a14c3c9a0597",
3+
"name" : "chameleon-jcloud_conformance-tests_kms_presigned-url-null-key",
4+
"request" : {
5+
"url" : "/chameleon-jcloud/conformance-tests/kms/presigned-url-null-key",
6+
"method" : "DELETE"
7+
},
8+
"response" : {
9+
"status" : 204,
10+
"headers" : {
11+
"Server" : "AmazonS3",
12+
"x-amz-request-id" : "Z8XQ95B6XGK533P5",
13+
"x-amz-id-2" : "OEYH9v+LSFizjC9h0DkyvUREx69qy214UHVTgdZDY/ZWtRYikF5MKcRc4SJarh79QSwSm67vMkQ=",
14+
"Date" : "Fri, 17 Oct 2025 22:26:05 GMT"
15+
}
16+
},
17+
"uuid" : "6a9f4830-9951-4e25-818b-a14c3c9a0597",
18+
"persistent" : true,
19+
"insertionIndex" : 529
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"id" : "10eaa42c-88d8-447a-8be2-44cca356808d",
3+
"name" : "chameleon-jcloud_conformance-tests_kms_upload-empty-key",
4+
"request" : {
5+
"url" : "/chameleon-jcloud/conformance-tests/kms/upload-empty-key",
6+
"method" : "DELETE"
7+
},
8+
"response" : {
9+
"status" : 204,
10+
"headers" : {
11+
"Server" : "AmazonS3",
12+
"x-amz-request-id" : "WT8E0NT5YFMA4EWR",
13+
"x-amz-id-2" : "klnzuw4kF0ECprPXAirwcfeskuZqLinMJOMak0lH9gNiVvidjb/h76KEjRLvUM8IGX/r2FZFR5U=",
14+
"Date" : "Fri, 17 Oct 2025 22:26:06 GMT"
15+
}
16+
},
17+
"uuid" : "10eaa42c-88d8-447a-8be2-44cca356808d",
18+
"persistent" : true,
19+
"insertionIndex" : 531
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"id" : "19815b81-9da7-4c62-8480-6cdddabba4c2",
3+
"name" : "chameleon-jcloud_conformance-tests_kms_upload-happy-path",
4+
"request" : {
5+
"url" : "/chameleon-jcloud/conformance-tests/kms/upload-happy-path",
6+
"method" : "DELETE"
7+
},
8+
"response" : {
9+
"status" : 204,
10+
"headers" : {
11+
"Server" : "AmazonS3",
12+
"x-amz-request-id" : "3C47ZVTNGEQAQNDR",
13+
"x-amz-id-2" : "PLH57gfKQSKk33Inu5Rkd7iBso6JFQD9WwJQZnuhDOPF2AgNb4GVe9eaXohmI+ItuItzEN6NfPM=",
14+
"Date" : "Fri, 17 Oct 2025 22:26:04 GMT"
15+
}
16+
},
17+
"uuid" : "19815b81-9da7-4c62-8480-6cdddabba4c2",
18+
"persistent" : true,
19+
"insertionIndex" : 525
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"id" : "0d139b94-16b0-43d1-8b2d-ac3aaf4a57ce",
3+
"name" : "chameleon-jcloud_conformance-tests_kms_download-happy-path",
4+
"request" : {
5+
"url" : "/chameleon-jcloud/conformance-tests/kms/download-happy-path",
6+
"method" : "DELETE"
7+
},
8+
"response" : {
9+
"status" : 204,
10+
"headers" : {
11+
"Server" : "AmazonS3",
12+
"x-amz-request-id" : "KR2NQGSZCJ6KN3QX",
13+
"x-amz-id-2" : "KVFAVSGDF0cSFHCSZbAXgGjilIsgt38sc7KbMtf4ykE1hL2Ea9hoPhTwe2R8i6dWRwoCRdLNfz8=",
14+
"Date" : "Fri, 17 Oct 2025 22:26:02 GMT"
15+
}
16+
},
17+
"uuid" : "0d139b94-16b0-43d1-8b2d-ac3aaf4a57ce",
18+
"persistent" : true,
19+
"insertionIndex" : 521
20+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"id" : "b518177f-c6f8-4ed0-9ad9-3450bccfa992",
3+
"name" : "chameleon-jcloud_conformance-tests_kms_upload-null-key",
4+
"request" : {
5+
"url" : "/chameleon-jcloud/conformance-tests/kms/upload-null-key",
6+
"method" : "GET"
7+
},
8+
"response" : {
9+
"status" : 200,
10+
"base64Body" : "VGVzdCBkYXRhIHdpdGhvdXQgS01TrnTGcgfuSJQ++OnOjzuA3Q==",
11+
"headers" : {
12+
"Accept-Ranges" : "bytes",
13+
"Server" : "AmazonS3",
14+
"ETag" : "\"ae74c67207ee48943ef8e9ce8f3b80dd\"",
15+
"Last-Modified" : "Fri, 17 Oct 2025 22:26:07 GMT",
16+
"x-amz-request-id" : "EWEEVNTYCDS41E49",
17+
"x-amz-server-side-encryption" : "AES256",
18+
"x-amz-id-2" : "jXy2GtjHgi3mHq9GL/xDNg5Z1zu/E1H3ZCxiukLZXGz6c724z1iE8YrO0ashzD23XekQOVl8kJs=",
19+
"x-amz-transfer-encoding" : "append-md5",
20+
"Date" : "Fri, 17 Oct 2025 22:26:07 GMT",
21+
"Content-Type" : "application/octet-stream"
22+
}
23+
},
24+
"uuid" : "b518177f-c6f8-4ed0-9ad9-3450bccfa992",
25+
"persistent" : true,
26+
"insertionIndex" : 536
27+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"id" : "38d773f2-220d-4508-b180-cf18b22c8c2d",
3+
"name" : "chameleon-jcloud_conformance-tests_kms_download-happy-path",
4+
"request" : {
5+
"url" : "/chameleon-jcloud/conformance-tests/kms/download-happy-path",
6+
"method" : "GET"
7+
},
8+
"response" : {
9+
"status" : 200,
10+
"base64Body" : "VGVzdCBkYXRhIGZvciBLTVMgZG93bmxvYWQdgD/xgYD3rDx6ko5v4WR1",
11+
"headers" : {
12+
"Accept-Ranges" : "bytes",
13+
"Server" : "AmazonS3",
14+
"ETag" : "\"6e836cd92a64399f507beb550120d8d2\"",
15+
"x-amz-server-side-encryption-aws-kms-key-id" : "arn:aws:kms:us-west-2:654654370895:key/faa140af-8195-49c0-9f8a-f03e9fd47d89",
16+
"Last-Modified" : "Fri, 17 Oct 2025 22:26:01 GMT",
17+
"x-amz-request-id" : "KR2V2TRRGCKD6543",
18+
"x-amz-server-side-encryption" : "aws:kms",
19+
"x-amz-id-2" : "ETb2kgfFg2yd2SKJtqHaHgOYZOzv+VCbW9NDWFnQ3W/ay1KXhpiJigY3a3UEXgH2OjKTk10Tzak=",
20+
"x-amz-transfer-encoding" : "append-md5",
21+
"Date" : "Fri, 17 Oct 2025 22:26:02 GMT",
22+
"Content-Type" : "application/octet-stream"
23+
}
24+
},
25+
"uuid" : "38d773f2-220d-4508-b180-cf18b22c8c2d",
26+
"persistent" : true,
27+
"insertionIndex" : 522
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"id" : "01eb6bf1-34ab-4bf8-9783-445413893f71",
3+
"name" : "chameleon-jcloud_conformance-tests_kms_upload-happy-path",
4+
"request" : {
5+
"url" : "/chameleon-jcloud/conformance-tests/kms/upload-happy-path",
6+
"method" : "GET"
7+
},
8+
"response" : {
9+
"status" : 200,
10+
"base64Body" : "VGVzdCBkYXRhIHdpdGggS01TIGVuY3J5cHRpb24f2WC2J4OorivRr/5x7BuH",
11+
"headers" : {
12+
"Accept-Ranges" : "bytes",
13+
"Server" : "AmazonS3",
14+
"ETag" : "\"24090dce85782fb761b2d0dedc34c8fe\"",
15+
"x-amz-server-side-encryption-aws-kms-key-id" : "arn:aws:kms:us-west-2:654654370895:key/faa140af-8195-49c0-9f8a-f03e9fd47d89",
16+
"Last-Modified" : "Fri, 17 Oct 2025 22:26:03 GMT",
17+
"x-amz-request-id" : "3C49SE6AWYNT36C7",
18+
"x-amz-server-side-encryption" : "aws:kms",
19+
"x-amz-id-2" : "DwfeJKnP8VCER1mPdzZiTSdcr5cfkxUDQAtp9/KCoN8I8V4YNRtmgXSyBgwx9+fiNKkZH7KPbug=",
20+
"x-amz-transfer-encoding" : "append-md5",
21+
"Date" : "Fri, 17 Oct 2025 22:26:04 GMT",
22+
"Content-Type" : "application/octet-stream"
23+
}
24+
},
25+
"uuid" : "01eb6bf1-34ab-4bf8-9783-445413893f71",
26+
"persistent" : true,
27+
"insertionIndex" : 526
28+
}

0 commit comments

Comments
 (0)