Return-Path: X-Original-To: apmail-batchee-dev-archive@minotaur.apache.org Delivered-To: apmail-batchee-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1B88103E5 for ; Wed, 8 Jan 2014 06:48:32 +0000 (UTC) Received: (qmail 33861 invoked by uid 500); 8 Jan 2014 06:48:32 -0000 Delivered-To: apmail-batchee-dev-archive@batchee.apache.org Received: (qmail 33836 invoked by uid 500); 8 Jan 2014 06:48:29 -0000 Mailing-List: contact dev-help@batchee.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@batchee.incubator.apache.org Delivered-To: mailing list dev@batchee.incubator.apache.org Received: (qmail 33828 invoked by uid 99); 8 Jan 2014 06:48:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 06:48:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [77.238.189.206] (HELO nm17-vm1.bullet.mail.ird.yahoo.com) (77.238.189.206) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 06:48:22 +0000 Received: from [77.238.189.49] by nm17.bullet.mail.ird.yahoo.com with NNFMP; 08 Jan 2014 06:48:00 -0000 Received: from [212.82.98.112] by tm2.bullet.mail.ird.yahoo.com with NNFMP; 08 Jan 2014 06:48:00 -0000 Received: from [127.0.0.1] by omp1049.mail.ir2.yahoo.com with NNFMP; 08 Jan 2014 06:48:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 99907.64618.bm@omp1049.mail.ir2.yahoo.com Received: (qmail 4432 invoked by uid 60001); 8 Jan 2014 06:48:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1389163679; bh=HYaiUXFcgyoh4XqVBZ2B/lQAydHTmMqs2XppEuarPIE=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=MOWQEgHcqpXKhF9p6PIq3aM+ehJ7q4pHXA/nTW6GiBo+g+Zbeu5Mm1aUZuzny7LJO629XwOsIf2nSeF+REKU2kfhlB+e2d8fhydxa5n57HLxWKU+mijGMtyt3Sa0HEtnqrE1ChstxdCoPnJJPgKYBrgqQwZuk/bOkOPsLGQsGCU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=oAcu8UNc5mlKhdZZ2LvZjkJfmhC9wG07f/mQxQ91nk5cshemhFte1Qs8JcwbWIHsMEKbc7uMWde1c7CNHpRHcsbtKeveOud7f+va25ST3c3sGH53sbYipVsSibyAyh7hyoUR7IDO5LpanyYjW+aZ3dre4tz50fWjcgBTlc0AJp4=; X-YMail-OSG: jks.yToVM1kpMhL0n48.3CzCHgOm7yds4jyfS47hNYI3p38 XNyaLPz0P7xryAVCE0FZKh29WxL0dI4SDdh1XzLNNrbFwKrykBAqPoHrAUE5 94KGI9ScxbTfueV8BOTRr2Bily2MT.lUn7fFcc_ek3cVa95jGayBD05yZ6DL 6lKgJ7gAYs2jUjRf2mThSUmx7ZPXe_m_A3Zuhe_IHM0urX07o7esUbCkytb0 P1Jen_WqGMe7vXNBGx3MwbeBZwi5wX0i9CgwT7dsWGreq7wrrsEjS41QaJmc ofs8BB3QCKt0W8ef7SgSZZU7Tt6zjlmSjco2sB_zCiRp5Qvq0U73sRV9jByj F.HmlxOkH1ayrXdctJ_SmWOW5i6LGOb.ZcnJrddjrl5maPYayQAMvECHQO_5 FReJvV57VFHr1Sq0zY1bm_75lY0RDIoBa0JvtIs6tBIHKgNWwxib_rS2uRUx crl1qSQ0Plx7fxeQlZU3IEN4HdzhKtlYHC1H4uIclfxRAiMb654h3pvoE8Fa Z7jnDiWyrTakDkxSn3Y3TCEv2qZHHBuLgvr7uRVF36wpt7EMHucSrwgw2xys QSUy4jVHLQp.8uzmBQ2klPMJccxC7nX7bjxAlIytj1.uZHEpCRbrSZyZTxpj 5EjCHPIg41HVDSmyhgjQzFqncoWz7K2X12O1zEC0xyov50ekvY9t2dLPwKho 31wmL4a1GPzyb9.iDqDvbtU4Osz4Cx9CkUB_ulOzeJvaYD_LENZCJRwQ1fdH vBvbmN9iH6aHrT9qX4LRj7k9PpRXL Received: from [84.113.120.125] by web28904.mail.ir2.yahoo.com via HTTP; Wed, 08 Jan 2014 06:47:59 GMT X-Rocket-MIMEInfo: 002.001,VGhhdCdzIGFsbCBmaW5lLiAKSSBzdGlsbCBkb24ndCBsaWtlIHRoZSBKQVgtUlMgY2xpZW50IHRob3VnaC4gSXQganVzdCBkb2Vzbid0IHdvcmsgb24gYWxsIEVFIHNlcnZlcnMgd2l0aG91dCBhIGxvdCBvZiB0d2Vha2luZy4gQW5kIGFsc28gdGhlIEpTT04gc3R1ZmYgd29ya3Mgb25seSB3aXRoIGphY2tzb24uIFNvIGl0J3Mgbm90IHBvcnRhYmxlLgoKSSB3b25kZXIgd2hldGhlciB3ZSBzaG91bGQgYWxzbyBwcm92aWRlIGEgbmF0aXZlIFNlcnZsZXQgY2xpZW50LiB3aGljaCBqdXN0IHJlbmRlcnMgdGhlIEoBMAEBAQE- X-Mailer: YahooMailWebService/0.8.172.614 References: Message-ID: <1389163679.37830.YahooMailNeo@web28904.mail.ir2.yahoo.com> Date: Wed, 8 Jan 2014 06:47:59 +0000 (GMT) From: Mark Struberg Reply-To: Mark Struberg Subject: Re: cli? To: "dev@batchee.incubator.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org That's all fine. I still don't like the JAX-RS client though. It just doesn't work on all EE servers without a lot of tweaking. And also the JSON stuff works only with jackson. So it's not portable. I wonder whether we should also provide a native Servlet client. which just renders the JSON or a simple XML ourselfs. LieGrue, strub ----- Original Message ----- > From: Romain Manni-Bucau > To: "dev@batchee.incubator.apache.org" > Cc: > Sent: Saturday, 4 January 2014, 17:25 > Subject: Re: cli? > > I did 1) and 2) (new commands can still be added and some of existing > ones can be reviewed but basic impl are here). > > 3) is still needed but is less precise and we need to package the cli > too (wonder if we do an uber jar or a distrib with scripts). > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpress.com/ > LinkedIn: http://fr.linkedin.com/in/rmannibucau > Github: https://github.com/rmannibucau > > > > > 2014/1/2 Romain Manni-Bucau : >> Hi >> >> pushed a basic cli with https://issues.apache.org/jira/browse/BATCHEE-11 >> >> it is in the cli module >> >> ATM it only supports local start/restart command but it needs to be >> enhanced a lot: >> 1) support like mvn plugin rest remote commands (here we can reuse >> what is in mvn plugin module) >> 2) add missing commands (same note) >> 3) add common options for prod guys >> >> hope to be able to continue soon! >> >> PS: i used airline instead of commons-cli since it looks more >> efficient and maintainable but open to discuss it >> >> Romain Manni-Bucau >> Twitter: @rmannibucau >> Blog: http://rmannibucau.wordpress.com/ >> LinkedIn: http://fr.linkedin.com/in/rmannibucau >> Github: https://github.com/rmannibucau >