Hi devs,

I implemented following osgi console commands for AutoScaler

listASPolicies   --- list AutoScaling policies
listASPolicies  [id]  --- show AutoScaling policy for a givenID

listDeploymentPolicies -- list Deployment policies
listDeploymentPolicies [id]

listPartitions -- list Partitions
listPartitions [id]




On Mon, Jan 27, 2014 at 9:40 AM, Imesh Gunaratne <[email protected]> wrote:

> +1 A great thought Pradeep!
> May be we could list out the set of commands for each product first and
> then start implementing them. WDYT?
>
>
>
> On Mon, Jan 27, 2014 at 6:19 AM, Reka Thirunavukkarasu <[email protected]>wrote:
>
>>
>> +1. Will be very helpful.
>>
>> Thanks,
>> Reka
>>
>>
>> On Mon, Jan 27, 2014 at 4:13 PM, Udara Liyanage <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> As for a testing I wrote a command for AS to list AS Policies deployed
>>>
>>> osgi> ASPolicies
>>> ASPolicy [id=economyPolicy, desplayName=Desplay name, description=AS
>>> description]
>>>
>>>
>>> I will try to add more commands.
>>>
>>>
>>> On Sun, Jan 26, 2014 at 2:28 PM, Udara Liyanage <[email protected]> wrote:
>>>
>>>> +1 will be help full for debugging
>>>>
>>>> List of cartridges can be retrieved calling CC s web service.
>>>> Partition, policy details also can be retrieved via web services.
>>>> However commands would be handy.
>>>>
>>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>> On Jan 26, 2014 5:36 PM, "Lakmal Warusawithana" <[email protected]>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Jan 26, 2014 at 5:32 PM, Pradeep Fernando <[email protected]
>>>>> > wrote:
>>>>>
>>>>>> Hi guys,
>>>>>>
>>>>>> at the moment it is bit cumbersome to debug runtime during stratos
>>>>>> installation. We can use OSGi commandline to view runtime data. (logs are
>>>>>> useful but less user friiendly) - using commandprovider  service.
>>>>>>
>>>>>> one example is 'listAdminServices' command. like wise we can write
>>>>>> our own debug commands.
>>>>>>
>>>>>> eg: listCartridges
>>>>>>
>>>>>> showPayload for cartridge
>>>>>>
>>>>>>
>>>>>> wdyt.
>>>>>>
>>>>>
>>>>> +1, this will going be very useful.
>>>>>
>>>>>
>>>>>>
>>>>>> --pradeep
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Lakmal Warusawithana
>>>>> Software Architect; WSO2 Inc.
>>>>> Mobile : +94714289692
>>>>> Blog : http://lakmalsview.blogspot.com/
>>>>>
>>>>>
>>>
>>>
>>> --
>>> Udara Liyanage
>>> Software Engineer
>>>  WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> web: http://udaraliyanage.wordpress.com
>>> phone: +94 71 443 6897
>>>
>>
>>
>>
>> --
>> Reka Thirunavukkarasu
>> Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>> Mobile: +94776442007
>>
>>
>>
>


-- 
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Reply via email to