You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Chamila de Alwis (JIRA)" <ji...@apache.org> on 2015/04/14 01:03:12 UTC

[jira] [Commented] (STRATOS-964) Some REST API are not returning response codes

    [ https://issues.apache.org/jira/browse/STRATOS-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493230#comment-14493230 ] 

Chamila de Alwis commented on STRATOS-964:
------------------------------------------

Fixed in commit d42e63efb600e4cdfcd6d9f3d7491534ed083242

> Some REST API are not returning response codes
> ----------------------------------------------
>
>                 Key: STRATOS-964
>                 URL: https://issues.apache.org/jira/browse/STRATOS-964
>             Project: Stratos
>          Issue Type: Sub-task
>          Components: REST API
>    Affects Versions: 4.0.0 M4, 4.1.0 Beta
>            Reporter: Mariangela Hills
>             Fix For: 4.1.0
>
>
> When looking though the code, I noticed that some of the REST APIs do not return a response code. All HTTP requests sent in REST API  should return a response code. The following code is one such example:
> *. public TenantInfoBean getTenant(@PathParam("tenantDomain") String tenantDomain) 
> *. public org.apache.stratos.common.beans.TenantInfoBean[] getTenants()
> *. public Response getPartialSearchTenants(@PathParam("tenantDomain") String tenantDomain)
> *. public UserInfoBean[] getUsers()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)