Hi All, I'm working on $subject and currently you can work on CLI 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 add-tenant -u admin -f manula -l thantriwatte -p admin123 -d manula.org -e [email protected] -a active 2) Cartridge deployment cartridge-deployment -p <resource_path> 3) Auto scaling policy deployment autoscaling-policy-deployment -p <resource_path> 4) Partition deployment partition-deployment -p <resource_path> 5) Deployment policy deployment deployment-policy-deployment -p <resource_path> 6) List available cartridges cartridges Tenant can do following operations 1) Subscribe to a cartridge subscribe php <alias> -p <repo password> -r <git repo url> -u <repo user name> 2) List available cartridges cartridges 3) List subscribe cartridges list 4) Subscribe cartridge unsubscribe <cartridge alias> Future I'm doing improvements as well. Thoughts are warmly welcome. Thanks ! -- 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/
