[infinispan-dev] Infinispan Shell Console

Galder Zamarreño galder at redhat.com
Tue May 31 04:14:41 EDT 2011


Hey Michal,

I've gone through it and I really like it. Couple of comments:

- 'include' command. I think the name can be a bit confusing. Include sounds more like you import some commands but don't necessarily execute. Rather than 'include', I'd maybe call it 'batch', cos what is doing is batching the commands.

- Also, the return of 'include' command might be a bit confusing since it's relying on the last command on the batch. I think it might be better providing a summary of the outcome of each batch command, or like something like JUnit or TestNG does: 

"X commands executed, N succeeded (i.e. return was SUCCESS or 0), and M failed (return was ERROR or CONFLICT)"

- I like the fact that you validate the Hot Rod version to be numeric. In fact, this check should be done by the Hot Rod client itself, you shouldn't need to do it yourself. I'll create a task to fix that.

Once again, great work dude :)

Cheers,

On May 31, 2011, at 10:00 AM, Galder Zamarreño wrote:

> Great stuff Michal :). 
> 
> I'll have a look asap and will make sure I use it for any quick testing :)
> 
> It uses the Hot Rod python client, doesn't it?
> 
> On May 26, 2011, at 11:44 AM, Michal Linhard wrote:
> 
>> Hi all!
>> 
>> Announcing my little project Infinispan Console:
>> 
>> https://github.com/mlinhard/ispncon
>> 
>> I wanted to wait with publishing of this until I do some more testing, 
>> but I don't know when I'll get to that, and it already helps me with 
>> some testing and I thought that it might be useful to some of you too, 
>> so I don't wanna keep it to myself any longer...
>> 
>> it basically enables you to do stuff like
>> 
>> ispncon put key value
>> ispncon get key
>> 
>> from your bash, using client access (hotrod, memcached, rest) - I.e. you 
>> have to have these server modules running/deployed in a container.
>> 
>> feedback is appreciated.
>> 
>> m.
>> 
>> 
>> -- 
>> Michal Linhard
>> Quality Assurance Engineer
>> 
>> Red Hat Czech s.r.o.
>> Purkynova 99 612 45 Brno, Czech Republic
>> phone: +420 532 294 320 ext. 62320
>> mobile: +420 728 626 363
>> 
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 
> --
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache




More information about the infinispan-dev mailing list