Hi Reka, Thanks for the update. I'll do the test after the commit.
On Mon, Mar 3, 2014 at 2:36 PM, Reka Thirunavukkarasu <[email protected]> wrote: > 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 < > [email protected]> 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 >> <[email protected]>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 : [email protected] / [email protected] >> phone : +94 772492511 >> blog : http://manulachathurika.blogspot.com/ >> >> >> >> > > > -- > Reka Thirunavukkarasu > Software Engineer, > WSO2, Inc.:http://wso2.com, > Mobile: +94776442007 > > > -- 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/
