Hi Chris,

You can use CLI and test Stratos 4 using CLI. In the new architecture CLI
works with RESTful services. I have already push the changes to git. You
can use CLI as following.

First you have to export the STRTOS_URL.
export STRATOS_URL=<https://manula.com:9445>

After that you can login as super tenant.
./stratos.sh -u admin -p admin

Super tenant can do following operations.

1) Add tenant
create-tenant-u admin -f manula -l thantriwatte -p admin123 -d manula.org-e
[email protected]

2) Cartridge deployment
deploy-cartridge-p <resource_path>

3) Auto scaling policy deployment
deploy-autoscaling-policy -p <resource_path>

4) Partition deployment
deploy-partition -p <resource_path>

5) Deployment policy deployment
deploy-deployment-policy -p <resource_path>

6) List available cartridges
list-available-cartridges

Tenant can do following operations

1) Subscribe to a cartridge
subscribe-cartridge php <alias> -p <repo password> -r <git repo url> -u
<repo user name>

2) List available cartridges
list-available-cartridges

3) List subscribe cartridges
list-subscribe-cartridges

4) Subscribe cartridge
unsubscribe-cartridge<cartridge alias>

Future I'm doing improvements as well. Thoughts are warmly welcome.

Thanks !



On Sat, Dec 28, 2013 at 12:58 AM, chris snow <[email protected]> wrote:

> Hi Devs,
>
> What is the status of the GUI and CLI for Stratos 4?
>
> As soon as either GUI or CLI is ready, I would like to build a demo
> virtual machine for users to try Stratos 4.
>
> If Stratos 4 GUI/CLI won't be available for sometime, then I will look
> into building a demo virtual machine based on Stratos 3.
>
> Many thanks,
>
> Chris
>



-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : [email protected] / [email protected]
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Reply via email to