From dev-return-32037-archive-asf-public=cust-asf.ponee.io@geode.apache.org Wed Sep 25 18:36:57 2019 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 16DE9180637 for ; Wed, 25 Sep 2019 20:36:56 +0200 (CEST) Received: (qmail 59840 invoked by uid 500); 25 Sep 2019 18:36:56 -0000 Mailing-List: contact dev-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list dev@geode.apache.org Received: (qmail 59823 invoked by uid 99); 25 Sep 2019 18:36:56 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Sep 2019 18:36:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 96A1CC2AF6 for ; Wed, 25 Sep 2019 18:36:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.301 X-Spam-Level: * X-Spam-Status: No, score=1.301 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id n8GxMeewSxWe for ; Wed, 25 Sep 2019 18:36:53 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=148.163.153.148; helo=mx0b-00296801.pphosted.com; envelope-from=jiliao@pivotal.io; receiver= Received: from mx0b-00296801.pphosted.com (mx0b-00296801.pphosted.com [148.163.153.148]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 93A18BC858 for ; Wed, 25 Sep 2019 17:41:52 +0000 (UTC) Received: from pps.filterd (m0114585.ppops.net [127.0.0.1]) by mx0b-00296801.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x8PHQGTp000389 for ; Wed, 25 Sep 2019 17:41:45 GMT Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0b-00296801.pphosted.com with ESMTP id 2v5e463p89-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 25 Sep 2019 17:41:44 +0000 Received: by mail-qk1-f199.google.com with SMTP id z128so6938541qke.8 for ; Wed, 25 Sep 2019 10:41:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=V39hmcFr+0oU84G0UIIUXeiIjco7V86BOsXO/XMB75Q=; b=CzWbZzMMO0bQIqWkq79qeWRMbYOHRcCl/jN+iVcrxzTWvmpzs1c2wVRnqyJmxf/Zxx jtjHdxF6xe6qQ6Kz+Hwhe0wCddbakTEjSquf0N9C3dh3AUO751OKvasXz5ZYwtiH73Uw QatBBkMnw77DDqtR/qTbjWVq0CSrVjfYPohf3uU5UIjezUWKBwphJ2BNVbTd1XcLeWHh Cu5na8Wz0pDEgsSdfbXSBdFtUwuHk3wVzQFKlJE6npktr/C3qJqh1MDgeByeKN4MS91W db21QPRz/uo3l7/9+5k7UQPtw+VgNZV9aQmBFdH0w3LF+6xlxw6jdyzmvWWFE9wU5PI/ RYEg== X-Gm-Message-State: APjAAAWsyvrr3KcBPGyjbktzHzrOi1ConlB0DewnCNzXafjMvNLg3aM2 3w+1+Zk0qd+qiUP+XUyIqVDINLPIz3vSoZdXax0lXHF36z2TaiXfTDPCLfEv+wkn7Sc37C3AwD1 uq1d3mofXXJ1lhr83cngEfoG5KL928hW4mGYHLdyIIHRl/MSIjU+jZfA= X-Received: by 2002:a05:620a:1350:: with SMTP id c16mr4925838qkl.183.1569433304188; Wed, 25 Sep 2019 10:41:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNumMwUMfQA2MkzxKGZvAIVoHih4STWpCIyxMf6PDtjfsH/nhHu+4ujpRyXkcvuXokJs88IWOIj1RAXQUNcGc= X-Received: by 2002:a05:620a:1350:: with SMTP id c16mr4925814qkl.183.1569433303943; Wed, 25 Sep 2019 10:41:43 -0700 (PDT) MIME-Version: 1.0 References: <1997DF6F-F373-4A20-B7F4-A53BB1D9E1A9@pivotal.io> <6C293ADF-931A-4739-94FB-FF65B45B86B7@pivotal.io> In-Reply-To: <6C293ADF-931A-4739-94FB-FF65B45B86B7@pivotal.io> From: Jinmei Liao Date: Wed, 25 Sep 2019 10:41:33 -0700 Message-ID: Subject: Re: [PROPOSAL] adding java-jq to GEODE dependency for testing To: geode Content-Type: multipart/alternative; boundary="00000000000094a57b0593642ab4" X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-09-25_08:2019-09-25,2019-09-25 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 clxscore=1015 adultscore=0 mlxlogscore=999 lowpriorityscore=0 bulkscore=0 impostorscore=0 phishscore=0 spamscore=0 priorityscore=1501 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1908290000 definitions=main-1909250154 --00000000000094a57b0593642ab4 Content-Type: text/plain; charset="UTF-8" I did look at jackson-jq before I considered java-jq, but it is a re-implementation of jq and this statement on that site puts me off: "jackson-jq aims to be a compatible jq implementation. However, not all the features are available; some features are not relevant as being a java library and some features are just yet to be implemented." On Wed, Sep 25, 2019 at 9:57 AM Owen Nichols wrote: > For a pure-java implementation, might be worth considering > https://github.com/eiiches/jackson-jq > > > On Sep 25, 2019, at 9:40 AM, Dan Smith wrote: > > > > +1 - sounds good. > > > > BTW - We've previously found libraries that use JNA tend to be more > > flaky/platform dependent than pure java libaries - for example we ripped > > out a snappy native wrapper in favor of a pure java implementation. > > > > -Dan > > > > On Wed, Sep 25, 2019 at 8:39 AM Anthony Baker wrote: > > > >> Sounds good, thanks for the heads up. > >> > >> Anthony > >> > >> > >>> On Sep 25, 2019, at 8:37 AM, Jinmei Liao wrote: > >>> > >>> Management rest api wants to add some default jq selector to the > swagger > >>> api docs so that the downstream client tool can use it as a starting > >> point > >>> to filter/format the json response to a more readable form. In order to > >>> test these jq selectors, we would like to use a java library described > >>> here: https://github.com/arakelian/java-jq, it basically provides a > java > >>> wrapper around 'jq' tool. Github shows both MIT and apache license. We > >> will > >>> only be using it for testing. > >>> > >>> -- > >>> Cheers > >>> > >>> Jinmei > >> > >> > > -- Cheers Jinmei --00000000000094a57b0593642ab4--