stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reka Thirunavukkarasu <r...@wso2.com>
Subject Re: Propagating back-end exception correctly to clients
Date Mon, 03 Mar 2014 09:06:06 GMT
Hi Manula,

I have fixed those exceptions. Will commit them now..

Thanks,
Reka


On Mon, Mar 3, 2014 at 2:25 PM, Manula Chathurika Thantriwatte <
manulac@wso2.com> wrote:

> Hi Nirmal,
>
> In list-partitions, list-deployment-policies, list-autoscaling-polices
> commands throws null pointer exception in SM when there are no such
> policies. IMO it shouldn't throw null pointer exception where there are no
> such policies deployed. I'll look into this and fix it.
>
>
> On Sat, Mar 1, 2014 at 2:57 PM, Nirmal Fernando <nirmal070125@gmail.com>wrote:
>
>> Hi All,
>>
>> As you we had this long standing issue [1] of real back-end exception
>> doesn't propagate correctly to the service clients via service stubs. As a
>> result, CLI tool couldn't show an accurate error message to the user.
>>
>> I've fixed all the Stratos components such that they propagate the
>> exceptions correctly and also fixed all the clients to handle and propagate
>> exceptions correctly.
>>
>> Following is the sample:
>>
>> *stratos> deploy-partition --resource-path /stratos/partition.json*
>> *Exception [errorCode= 400, errorMessage= Invalid Partition Detected :
>> P1. Cause: Invalid region: ap-southeast-0 in the iaas: ec2]*
>>
>> I've tested most of the commands, but there're lot of permutations. So,
>> please report and fix any missing areas, as and when you encounter them.
>>
>> Thanks
>>
>> [1] https://issues.apache.org/jira/browse/STRATOS-486
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> Regards,
> Manula Chathurika Thantriwatte
> Software Engineer
> WSO2 Inc. : http://wso2.com
> lean . enterprise . middleware
>
> email : manulac@wso2.com / manula@apache.org
> phone : +94 772492511
> blog : http://manulachathurika.blogspot.com/
>
>
>
>


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

Mime
View raw message