From issues-return-89908-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Thu Jan 9 13:53:08 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 72C2018067C for ; Thu, 9 Jan 2020 14:53:08 +0100 (CET) Received: (qmail 38643 invoked by uid 500); 9 Jan 2020 13:53:07 -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 38570 invoked by uid 99); 9 Jan 2020 13:53:07 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jan 2020 13:53:07 +0000 From: GitBox To: issues@nifi.apache.org Subject: [GitHub] [nifi] MikeThomsen commented on a change in pull request #3953: NIFI-5901 Added JSON/JSONB support to PutDatabaseRecord Message-ID: <157857798770.11373.9432119860597552663.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Thu, 09 Jan 2020 13:53:07 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit MikeThomsen commented on a change in pull request #3953: NIFI-5901 Added JSON/JSONB support to PutDatabaseRecord URL: https://github.com/apache/nifi/pull/3953#discussion_r364748950 ########## File path: nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutDatabaseRecord.java ########## @@ -252,6 +258,16 @@ .defaultValue("false") .build(); + static final PropertyDescriptor MAP_RECORD_TO_JSON = new PropertyDescriptor.Builder() + .name("put-db-record-map-record-to-json") + .displayName("Map \"record\" types to JSON") Review comment: Going to dig into this and see if there's a way to detect what the real type of the field is and apply this automagically (json vs xml as appropriate): https://github.com/FasterXML/jackson-dataformat-xml ---------------------------------------------------------------- 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: users@infra.apache.org With regards, Apache Git Services