-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding support for integration testing of SSE with other features
Signed-off-by: Hemanth Sai Maheswarla <[email protected]>
- Loading branch information
Hemanth Sai Maheswarla
authored and
Hemanth Sai Maheswarla
committed
Mar 29, 2024
1 parent
7f45f04
commit 14dbb15
Showing
12 changed files
with
213 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
rgw/v2/tests/s3_swift/configs/test_s3select_query_gen_csv_depth1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# script: test_s3select.py | ||
# polarion-id: CEPH-83575176 | ||
config: | ||
user_count: 1 | ||
bucket_count: 1 | ||
|
1 change: 1 addition & 0 deletions
1
rgw/v2/tests/s3_swift/configs/test_s3select_query_gen_csv_depth2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# script: test_s3select.py | ||
# polarion-id: CEPH-83575176 | ||
config: | ||
user_count: 1 | ||
bucket_count: 1 | ||
|
38 changes: 38 additions & 0 deletions
38
.../s3_swift/configs/test_sse_kms_per_bucket_multipart_object_download_after_transition.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# script: test_bucket_lifecycle_object_expiration_transition.py | ||
# polarion id: CEPH-83586489 | ||
config: | ||
user_count: 1 | ||
encryption_keys: kms | ||
bucket_count: 1 | ||
objects_count: 25 | ||
test_lc_transition: True | ||
parallel_lc: False | ||
enable_resharding: True | ||
sharding_type: manual | ||
shards: 211 | ||
pool_name: data.cold | ||
storage_class: cold | ||
ec_pool_transition: False | ||
multiple_transitions: False | ||
objects_size_range: | ||
min: 10M | ||
max: 20M | ||
test_ops: | ||
create_bucket: true | ||
create_object: true | ||
enable_versioning: false | ||
version_count: 1 | ||
delete_marker: false | ||
sse_s3_per_bucket: true | ||
upload_type: multipart | ||
delete_bucket_object: false | ||
download_object_after_transition: true | ||
actual_lc_days: 6 | ||
lifecycle_conf: | ||
- ID: LC_Rule_1 | ||
Filter: | ||
Prefix: key | ||
Status: Enabled | ||
Transitions: | ||
- Days: 6 | ||
StorageClass: cold |
33 changes: 33 additions & 0 deletions
33
rgw/v2/tests/s3_swift/configs/test_sse_kms_per_bucket_with_bucket_policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# script: test_bucket_policy_ops.py | ||
# bucket policy with server side encryption | ||
# polarion id: CEPH-83586489 | ||
config: | ||
objects_count: 25 | ||
encryption_keys: kms | ||
objects_size_range: | ||
min: 5 | ||
max: 15 | ||
test_ops: | ||
upload_type: normal | ||
sse_s3_per_bucket: true | ||
verify_policy: True | ||
policy_document: | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Action": ["s3:GetObject", "s3:DeleteObject", "s3:PutObject", "s3:AbortMultipartUpload"], | ||
"Principal": {"AWS": "arn:aws:iam::<tenant_name>:user/<user_name>"}, | ||
"Resource": "arn:aws:s3:::<bucket_name>/*", | ||
"Effect": "Allow", | ||
"Sid": "statement1", | ||
}, | ||
{ | ||
"Action": ["s3:PutBucketVersioning", "s3:GetBucketVersioning", "s3:PutBucketPolicy", "s3:GetBucketPolicy", "s3:DeleteBucketPolicy"], | ||
"Principal": {"AWS": "arn:aws:iam::<tenant_name>:user/<user_name>"}, | ||
"Resource": "arn:aws:s3:::<bucket_name>", | ||
"Effect": "Allow", | ||
"Sid": "statement3", | ||
} | ||
], | ||
} |
31 changes: 31 additions & 0 deletions
31
rgw/v2/tests/s3_swift/configs/test_sse_s3_per_bucket_with_notifications_dynamic_reshard.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# script: test_bucket_notifications.py | ||
# polarion id: CEPH-83586489 | ||
config: | ||
user_count: 1 | ||
bucket_count: 1 | ||
objects_count: 25 | ||
encryption_keys: s3 | ||
local_file_delete: true | ||
enable_resharding: true | ||
sharding_type: dynamic | ||
max_objects_per_shard: 5 | ||
objects_size_range: | ||
min: 10M | ||
max: 20M | ||
test_ops: | ||
create_bucket: true | ||
create_object: true | ||
enable_version: false | ||
sse_s3_per_bucket: true | ||
create_topic: true | ||
get_topic_info: true | ||
endpoint: kafka | ||
ack_type: broker | ||
put_get_bucket_notification: true | ||
event_type: | ||
- Multipart | ||
- Copy | ||
- Delete | ||
upload_type: multipart | ||
copy_object: true | ||
delete_bucket_object: true |
36 changes: 36 additions & 0 deletions
36
rgw/v2/tests/s3_swift/configs/test_sse_s3_per_object_with_sts.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# polarion test case id: CEPH-83586489 | ||
# test scripts : test_sts_using_boto.py | ||
config: | ||
bucket_count: 2 | ||
objects_count: 50 | ||
encryption_keys: s3 | ||
objects_size_range: | ||
min: 5 | ||
max: 15 | ||
test_ops: | ||
create_bucket: true | ||
create_object: true | ||
sse_s3_per_object: true | ||
sts: | ||
policy_document: | ||
"Version": "2012-10-17" | ||
"Statement": | ||
[ | ||
{ | ||
"Effect": "Allow", | ||
"Principal": | ||
{ | ||
"AWS": | ||
["arn:aws:iam:::user/<user_name>"], | ||
}, | ||
"Action": ["sts:AssumeRole"], | ||
}, | ||
] | ||
role_policy: | ||
"Version": "2012-10-17" | ||
"Statement": | ||
{ | ||
"Effect": "Allow", | ||
"Action": "s3:*", | ||
"Resource": "arn:aws:s3:::*", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters