Hi Eranda, 1. Aren't we going to handle granting permission as well? 2. Can we handle a scenario like removing all consumers for a queue using a single command? I was just thinking if we can chain different commands together to achieve complex scenarios.
On Tue, Feb 6, 2018 at 7:20 PM, Eranda Rajapakshe <eran...@wso2.com> wrote: > Hi all, > > I am working on designing a CLI client for the MB4. Purpose of this is to > provide administrative features to the user through a command line > interface. CLI client will use the REST API interface of the Broker to > interact. > > Administrative tasks including following will be able to perform through > the proposed CLI, > * Authenticate users > * Create queue, exchanges and bindings > * View queue info, exchange info, bindings info and consumer info > * Delete queues, exchanges, bindings and consumers > > I have done a draft syntax design for the CLI commands [1 > <https://docs.google.com/document/d/1z1FSpotL1SdGzM7ee-dCEdCYhQLhLnyr_IixvTAVrkk/edit#heading=h.o94yuusu8o9t>] > Please go through it and suggest any improvements. There are two designs in > the document, one is going with the flow of REST API of the MB and the > other will have a more generic approach. > > Also when implementing I don't think we need to stick strictly into Java, > as this is a separate program which can even be run on a different machine. > So we can even consider a GoLang based CLI client. > > [1]. https://docs.google.com/document/d/1z1FSpotL1SdGzM7ee- > dCEdCYhQLhLnyr_IixvTAVrkk/edit#heading=h.o94yuusu8o9t > > Thanks, > -- > *Eranda Rajapakshe* > Software Engineer > WSO2 Inc. > Mobile : +94784822608 > -- Asanka Abeyweera Associate Technical Lead WSO2 Inc. Phone: +94 712228648 Blog: a5anka.github.io <https://wso2.com/signature>
_______________________________________________ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture