[ https://issues.apache.org/jira/browse/STRATOS-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chamila de Alwis updated STRATOS-964: ------------------------------------- Description: 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() was: 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() > 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 > > 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)