[
https://issues.apache.org/jira/browse/STRATOS-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lasindu Charith updated STRATOS-1447:
-------------------------------------
Attachment: corrected_responses.diff
Attached diff passes specific errors to the rest api, to be handled
specifically.
> Incorrect error messages for Application related API operations
> ---------------------------------------------------------------
>
> Key: STRATOS-1447
> URL: https://issues.apache.org/jira/browse/STRATOS-1447
> Project: Stratos
> Issue Type: Bug
> Affects Versions: 4.1.0 RC2
> Reporter: Lasindu Charith
> Priority: Critical
> Attachments: corrected_responses.diff
>
>
> In the current implementation of Application related rest API methods, the
> specific exceptions are not thrown, instead some of the exceptions are masked
> by RestAPIException, which is not descriptive enough.
> ex: in addApplication() :
> AutoscalerServiceCartridgeGroupNotFoundExceptionException,
> AutoscalerServiceApplicationDefinitionExceptionException are masked.
> Similarly in updateApplication()
> AutoscalerServiceApplicationDefinitionExceptionException is masked
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)