natural commented on a change in pull request #3574: NIFI-4256 Adds AWS
Encryption Controller Service
URL: https://github.com/apache/nifi/pull/3574#discussion_r311324242
##########
File path:
nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/s3/PutS3Object.java
##########
@@ -486,12 +492,16 @@ public void process(final InputStream rawIn) throws
IOException {
// single part upload
//----------------------------------------
final PutObjectRequest request = new
PutObjectRequest(bucket, key, in, objectMetadata);
- request.setStorageClass(
-
StorageClass.valueOf(context.getProperty(STORAGE_CLASS).getValue()));
+ if (encryptionService != null) {
Review comment:
Added attributes to the FF on put and fetch. Updated tests to include
checks for same.
----------------------------------------------------------------
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