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 CF4E0200CFE for ; Fri, 8 Sep 2017 20:14:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CE1F6161109; Fri, 8 Sep 2017 18:14:12 +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 274D3160F79 for ; Fri, 8 Sep 2017 20:14:12 +0200 (CEST) Received: (qmail 62791 invoked by uid 500); 8 Sep 2017 18:14:10 -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 62782 invoked by uid 99); 8 Sep 2017 18:14:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Sep 2017 18:14:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 484181908B5 for ; Fri, 8 Sep 2017 18:14:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id JMAtW57IhKVN for ; Fri, 8 Sep 2017 18:14:08 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id DDE7860DA9 for ; Fri, 8 Sep 2017 18:14:07 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A3D94E0EED for ; Fri, 8 Sep 2017 18:14:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id CDF7224167 for ; Fri, 8 Sep 2017 18:14:02 +0000 (UTC) Date: Fri, 8 Sep 2017 18:14:02 +0000 (UTC) From: "Jeremy Dyer (JIRA)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-4332) Add NiFi Shell for interacting with NiFi REST API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 08 Sep 2017 18:14:13 -0000 [ https://issues.apache.org/jira/browse/NIFI-4332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16159055#comment-16159055 ] Jeremy Dyer commented on NIFI-4332: ----------------------------------- [~bbende] I think you and I are thinking close along the same line here. Slight difference I was thinking, beyond having just the nifi-client-dto, to have a small implementation that also already had the HTTP library implemented as well. Maybe thinking of this more like a service implementation? So users could simple invoke a single method and receive a response without having the program all of the HTTP interactions. As for the shell part I'm really impartial about how it is implemented but do agree that having multiple languages would be a burden. I think at a minimum some sort of shell wrapper as you linked above which in turn called this "client' would be handy to even further save users from even having to write code to interact with the client. > Add NiFi Shell for interacting with NiFi REST API > ------------------------------------------------- > > Key: NIFI-4332 > URL: https://issues.apache.org/jira/browse/NIFI-4332 > Project: Apache NiFi > Issue Type: Improvement > Reporter: Jeremy Dyer > Assignee: Jeremy Dyer > > There are several permutations of nifi shells floating around on Github. The fact that so many of these exists tells me its a feature people want. I propose we add a NiFi shell to the official project that people can use for official interaction with the NiFi REST API. While shells are typically not written in Java I feel quite strongly in our case using Java would be the best fit. Using Java would allow us to use reflection on the "nifi-web-api" layer to reflected expected types, paths, responses, etc with minimal coding effort. > I expect there will be many more features that can be added to this shell but as a minimal starting point the shell should allow an end user to interact with all of the NiFi REST API endpoints defined at https://nifi.apache.org/docs/nifi-docs/rest-api/index.html -- This message was sent by Atlassian JIRA (v6.4.14#64029)