batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: cli?
Date Fri, 10 Jan 2014 14:13:30 GMT
it would be compatible with but the main purpose of cli module is to
provide a "container"/runner for batches in the JVM of the cli.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014/1/10 Mark Struberg <struberg@yahoo.de>:
>
>
> The reason I brought this up in this thread is that the CLI module will work against
the Batchee-JAX-RS module, right?
>
> LieGrue,
> strub
>
>
>
> ----- Original Message -----
>> From: Romain Manni-Bucau <rmannibucau@gmail.com>
>> To: "dev@batchee.incubator.apache.org" <dev@batchee.incubator.apache.org>;
Mark Struberg <struberg@yahoo.de>
>> Cc:
>> Sent: Wednesday, 8 January 2014, 7:51
>> Subject: Re: cli?
>>
>> well maybe we can discuss in another thread but jaxrs or servlet would
>> be the same (we need to parse body).
>>
>> the point is the one you said: the provider.
>>
>> I think the best would be to support jaxb too (just would need to wrap
>> few methods), this way jackson guys would have something nice and fast
>> and others will have jaxb which is already good + portable (even if
>> not in the spec itself).
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>>
>>
>> 2014/1/8 Mark Struberg <struberg@yahoo.de>:
>>>  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 <rmannibucau@gmail.com>
>>>>  To: "dev@batchee.incubator.apache.org"
>> <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 <rmannibucau@gmail.com>:
>>>>>   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
>>>>
>>

Mime
View raw message