alopresto commented on a change in pull request #3574: NIFI-4256 Adds AWS
Encryption Controller Service
URL: https://github.com/apache/nifi/pull/3574#discussion_r310293357
##########
File path:
nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/s3/PutS3Object.java
##########
@@ -581,9 +591,12 @@ public void process(final InputStream rawIn) throws
IOException {
// initiate multipart upload or find position in
file
//------------------------------------------------------------
if (currentState.getUploadId().isEmpty()) {
- final InitiateMultipartUploadRequest
initiateRequest =
- new
InitiateMultipartUploadRequest(bucket, key, objectMetadata);
+ final InitiateMultipartUploadRequest
initiateRequest = new InitiateMultipartUploadRequest(bucket, key,
objectMetadata);
+ if (encryptionService != null) {
+
encryptionService.configureInitiateMultipartUploadRequest(initiateRequest,
objectMetadata);
+ }
Review comment:
Same comment as above regarding client side encryption attribute.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services