Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C3A13200B8D for ; Fri, 23 Sep 2016 16:05:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C2636160ACA; Fri, 23 Sep 2016 14:05:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0C28B160AC2 for ; Fri, 23 Sep 2016 16:05:56 +0200 (CEST) Received: (qmail 62402 invoked by uid 500); 23 Sep 2016 14:05:56 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 62389 invoked by uid 99); 23 Sep 2016 14:05:56 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2016 14:05:56 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 08CF2E01BA; Fri, 23 Sep 2016 14:05:55 +0000 (UTC) From: pvillard31 To: issues@nifi.apache.org Reply-To: issues@nifi.apache.org References: In-Reply-To: Subject: [GitHub] nifi pull request #1034: [NIFI-2810] Allow Content Type to be set in PutS3Ob... Content-Type: text/plain Message-Id: <20160923140556.08CF2E01BA@git1-us-west.apache.org> Date: Fri, 23 Sep 2016 14:05:55 +0000 (UTC) archived-at: Fri, 23 Sep 2016 14:05:57 -0000 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. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---