Hi Manula,

Nice work.


On Wed, Dec 11, 2013 at 10:24 PM, Isuru Haththotuwa <[email protected]> wrote:

> Nice work Manula!
>
> Please find some comments and questions in line.
>
>
> On Wed, Dec 11, 2013 at 2:19 PM, Manula Chathurika Thantriwatte <
> [email protected]> wrote:
>
>> 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>
>>
> Here, the user might need to specify a password as well, if the repository
> is a private one. Does this command support those options as well?
>

How can a tenant login before subscribing to a cartridge? Also, Can we
provide a way for a tenant to login and subscribe in the same command(as
optional) as below:

subscribe -utennat <tennat username> -ptenant <tenant password> php <alias>
-p <repo password> -r <git repo url> -u <repo user name> -p <repo password>

Here -utenant -ptenant should be optional arguments.


Thanks,
Reka

>
>> 2) List available cartridges
>> cartridges
>>
>> 3) List subscribe cartridges
>> list
>>
> IMHO, the command name 'list' is bit ambiguous. Maybe we should use a name
> that is more self-explanatory.
>
>>
>> 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/
>>
>>
>>
>>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> Software Engineer, WSO2 Inc.
> +94 716 358 048* <http://wso2.com/>*
>
>
>


-- 
Reka Thirunavukkarasu
Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Reply via email to