[
https://issues.apache.org/jira/browse/NIFI-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15516548#comment-15516548
]
ASF GitHub Bot commented on NIFI-2810:
--------------------------------------
Github user pvillard31 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1034#discussion_r80250162
--- Diff:
nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/s3/PutS3Object.java
---
@@ -132,6 +132,19 @@
.addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
.build();
+ public static final PropertyDescriptor CONTENT_TYPE = new
PropertyDescriptor.Builder()
+ .name("Content Type")
--- End diff --
Could you use the combination of ``.name()`` and ``.displayName()``? name
ensures backward compatibility when displayName allows to be more flexible on
what is displayed to users. We are trying to ensure every new processor
properties is using both.
> Allow Content Type to be set in PutS3Object processor
> -----------------------------------------------------
>
> Key: NIFI-2810
> URL: https://issues.apache.org/jira/browse/NIFI-2810
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Affects Versions: 1.1.0
> Reporter: Edgardo Vega
> Priority: Minor
> Fix For: 1.1.0
>
>
> The PutS3 Processor does not allow you to set the Content Type. Add this
> ability in this processor
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)