Skip to content
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

fix: handle SSE in copyObject() properly and have one source code. #777

Merged
merged 1 commit into from
Aug 4, 2019

Conversation

balamurugana
Copy link
Member

Added new version of copyObject(). Note: this method makes source and
destination argument swapping correctly to denote on which bucket and
object the request is sent.

public void copyObject(String bucketName, String objectName, Map<String,String> headerMap, ServerSideEncryption sse,
                       String srcBucketName, String srcObjectName, ServerSideEncryption srcSse,
                       CopyConditions copyConditions)

@sinhaashish
Copy link
Contributor

Build issue
File Line : minio-java/api/src/main/java/io/minio/MinioClient.java
Line Number : 1309
Problem : These nested if statements could be combined

aead
aead previously approved these changes Jul 16, 2019
sinhaashish
sinhaashish previously approved these changes Jul 16, 2019
Copy link
Contributor

@sinhaashish sinhaashish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kannappanr
Copy link
Contributor

kannappanr commented Jul 16, 2019

@balamurugana I see changes to getObject API. Can you please change the commit title and the message to reflect the changes ? It can be done in the PR title and description. I can use it while merging it.

@kannappanr
Copy link
Contributor

I believe Readme.md also should be updated

@balamurugana
Copy link
Member Author

Depends on #775 #776

@kannappanr
Copy link
Contributor

Please resolve the conflicts @balamurugana

Added new version of copyObject(). Note: this method makes source and
destination argument swapping correctly to denote on which bucket and
object the request is sent.

```
public void copyObject(String bucketName, String objectName, Map<String,String> headerMap, ServerSideEncryption sse,
                       String srcBucketName, String srcObjectName, ServerSideEncryption srcSse,
                       CopyConditions copyConditions)
```
@kannappanr
Copy link
Contributor

ping @aead @sinhaashish

@kannappanr
Copy link
Contributor

ping @sinhaashish

1 similar comment
@kannappanr
Copy link
Contributor

ping @sinhaashish

Copy link
Contributor

@sinhaashish sinhaashish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nitisht nitisht merged commit 57f8d48 into minio:master Aug 4, 2019
@balamurugana balamurugana deleted the fix-handle-sse-in-copyObject branch August 4, 2019 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants