Re: [Dev] CLI Client for MB4 using GoLang

2018-02-15 Thread Eranda Rajapakshe
Hi Lahiru,

For the moment we are using Java as it will be easy to use and maintain
with Broker implementation which we have currently.

Thanks,

On Fri, Feb 16, 2018 at 11:38 AM, Lahiru Sandaruwan 
wrote:

> Hi Eranda,
>
> Is this still developed with Go? I can see Java CLI client at [1].
>
> However, +1 for using Go for the CLI. IMO it would be cleaner to keep the
> CLI code separately, as two are written in different languages.
>
> [1] https://github.com/wso2/message-broker/tree/master/
> modules/broker-cli-client
>
> Thanks.
>
> On Thu, Feb 8, 2018 at 4:30 AM, Eranda Rajapakshe 
> wrote:
>
>> Hi,
>>
>> For MB4 we are writing a CLI client to perform admin operations. I have
>> done a draft design and doing an implementation. At the moment I am trying
>> out this with GoLang as its really flexible for building CLIs and it can
>> be, executables will be able to run on machines without a JVM.
>>
>> We are hoping to package this CLI client into MB itself. Also, our idea
>> is to include the source code in message-broker repo[1] (to make it easy to
>> maintain). Since message-broker repo is built using maven, I am hoping to
>> use this maven-go plugin[2] to build the Go source code of the CLI.
>>
>> Is there a better approach to achieve our requirement? (as it seems
>> maven-go plugin can manage dependencies and compile the Go code without any
>> external involvement.)
>>
>> [1]. https://github.com/wso2/message-broker
>> [2]. https://github.com/raydac/mvn-golang/
>>
>> Thanks,
>> --
>> *Eranda Rajapakshe*
>> Software Engineer
>> WSO2 Inc.
>> Mobile : +94784822608
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> --
>
> Lahiru Sandaruwan
> WSO2 Inc., http://wso2.com
>
> lean.enterprise.middleware
>
> m: +1 901 530 2379 <(901)%20530-2379>
> e: lahi...@wso2.com b: https://medium.com/@lahirugmg
> in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
*Eranda Rajapakshe*
Software Engineer
WSO2 Inc.
Mobile : +94784822608
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CLI Client for MB4 using GoLang

2018-02-15 Thread Lahiru Sandaruwan
Hi Eranda,

Is this still developed with Go? I can see Java CLI client at [1].

However, +1 for using Go for the CLI. IMO it would be cleaner to keep the
CLI code separately, as two are written in different languages.

[1]
https://github.com/wso2/message-broker/tree/master/modules/broker-cli-client

Thanks.

On Thu, Feb 8, 2018 at 4:30 AM, Eranda Rajapakshe  wrote:

> Hi,
>
> For MB4 we are writing a CLI client to perform admin operations. I have
> done a draft design and doing an implementation. At the moment I am trying
> out this with GoLang as its really flexible for building CLIs and it can
> be, executables will be able to run on machines without a JVM.
>
> We are hoping to package this CLI client into MB itself. Also, our idea is
> to include the source code in message-broker repo[1] (to make it easy to
> maintain). Since message-broker repo is built using maven, I am hoping to
> use this maven-go plugin[2] to build the Go source code of the CLI.
>
> Is there a better approach to achieve our requirement? (as it seems
> maven-go plugin can manage dependencies and compile the Go code without any
> external involvement.)
>
> [1]. https://github.com/wso2/message-broker
> [2]. https://github.com/raydac/mvn-golang/
>
> Thanks,
> --
> *Eranda Rajapakshe*
> Software Engineer
> WSO2 Inc.
> Mobile : +94784822608
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--

Lahiru Sandaruwan
WSO2 Inc., http://wso2.com

lean.enterprise.middleware

m: +1 901 530 2379
e: lahi...@wso2.com b: https://medium.com/@lahirugmg
in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] CLI Client for MB4 using GoLang

2018-02-08 Thread Eranda Rajapakshe
Hi,

For MB4 we are writing a CLI client to perform admin operations. I have
done a draft design and doing an implementation. At the moment I am trying
out this with GoLang as its really flexible for building CLIs and it can
be, executables will be able to run on machines without a JVM.

We are hoping to package this CLI client into MB itself. Also, our idea is
to include the source code in message-broker repo[1] (to make it easy to
maintain). Since message-broker repo is built using maven, I am hoping to
use this maven-go plugin[2] to build the Go source code of the CLI.

Is there a better approach to achieve our requirement? (as it seems
maven-go plugin can manage dependencies and compile the Go code without any
external involvement.)

[1]. https://github.com/wso2/message-broker
[2]. https://github.com/raydac/mvn-golang/

Thanks,
-- 
*Eranda Rajapakshe*
Software Engineer
WSO2 Inc.
Mobile : +94784822608
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev