+1. Nice work Nirmal. Now that UI too shows the correct messages to the users. Will check for the probable permutations.
Thanks, Reka 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/ > -- Reka Thirunavukkarasu Software Engineer, WSO2, Inc.:http://wso2.com, Mobile: +94776442007
