GitHub user anuruddhal opened a pull request: https://github.com/apache/stratos/pull/291
Refactoring REST API Following Changes were done. >Catch specific/custom exception - customize the log messages according to exception type (addCartridge(), updateCartridge() etc.) >getAvailableCartridges() - remove obsolete code & simplify >Remove obsolete code related to billing >getCartridgesByFilter() remove hard-coded strings >Change method parameters to primitive boolean >Refactor isAlreadySubscribed() method >Add missing method comments >Refactor validateDeploymentPolicy(), getApplicationRuntime(), getApplicationSignUps() >Make private static log to be final >Rename StratosUserManager as a util class and make the methods static >Removed ErrorResponseBean and SucessResponseBean and add StatusResponseBean Class. You can merge this pull request into a Git repository by running: $ git pull https://github.com/anuruddhal/stratos master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/stratos/pull/291.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #291 ---- commit 46a5b601dfbd6ad4691b4bde2230eda7a702b589 Author: anuruddhal <anuruddha...@gmail.com> Date: 2015-04-30T09:43:45Z Refining Rest-API commit 2d7825c4335209f8344310295acc33854a1dd723 Author: anuruddhal <anuruddha...@gmail.com> Date: 2015-04-30T09:51:15Z Refine Constants commit 76edb4c496fc7314fdf33b62f0e21e634d3bf361 Author: anuruddhal <anuruddha...@gmail.com> Date: 2015-04-30T09:53:29Z Changing the ResponseMessageBean commit 13fa801c0c7ea48285756d5a4375b8bfee4590f9 Author: anuruddhal <anuruddha...@gmail.com> Date: 2015-04-30T09:59:24Z Changing the ResponseMessageBean ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---