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:13 UTC

[jira] [Resolved] (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:all-tabpanel ]

Chamila de Alwis resolved STRATOS-964.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.1.0

> 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)