-
Notifications
You must be signed in to change notification settings - Fork 915
S3 CreateBucket DeleteBucket single arg overloads #5438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3 CreateBucket DeleteBucket single arg overloads #5438
Conversation
|
|
||
@Override | ||
public String getDescription() { | ||
return "S3NonStreamingRequestToV2."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: can we have a more descriptive description? :) Same for display name
if (CREATE_BUCKET.matches(method, false)) { | ||
method = transformBucketNameArgOverload(method, V1_CREATE_BUCKET_REQUEST); | ||
} | ||
if (DELETE_BUCKET.matches(method, false)) { | ||
method = transformBucketNameArgOverload(method, V1_DELETE_BUCKET_REQUEST); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: suggest doing else if or returning immediately
1eaf187
into
feature/master/migration-tool-updates
* S3 CreateBucket DeleteBucket single arg overload * Address comments
Motivation and Context
Transforming
createBucket
anddeleteBucket
overloads withbucket
String argumentTesting
Added unit and end-to-end tests