Hi, I have listed the changes in a point form below.
- *In all the API methods the response message format will be changed to display a status message either with "Success" or "Error" . Status code will be removed from the response message.* Eg: *Current format* return Response.status(Response.Status.CONFLICT).entity(new ErrorResponseBean(Response.Status.CONFLICT.getStatusCode(), msg)).build(); *After the modifications* return Response.status(Response.Status.CONFLICT).entity(new StatusResponseBean(Constants.STATUS_ERROR, msg)).build(); - *The following non API methods found in StratosAPIV41 class will be moved to the StratosAPIV41Util class.* activateTenant(String) addTenant(TenantInfoBean) deactivateTenant(String) getPartialSearchTenants(String) getTenantForDomain(String) getTenants() removeTenant(String) updateTenant(TenantInfoBean) addUser(UserInfoBean) getUsers() removeUser(String) updateUser(UserInfoBean) - *Removing 204 NO_CONTENT status code* 204 NO_CONTENT status code will be removed from *removeKubernetesHostCluster *API method*.* - *Resolving problems in exception throwing and validating requests.* In this modifications we plan to give custom exceptions when needed other than throwing RestAPIException. Thank you -- *Dinithi De Silva* Associate Software Engineer, WSO2 Inc. m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com | a: #20, Palm Grove, Colombo 03