GitHub user anuruddhal opened a pull request:
https://github.com/apache/stratos/pull/295
Refactoring REST API
Following modifications 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/295.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 #295
----
commit 46a5b601dfbd6ad4691b4bde2230eda7a702b589
Author: anuruddhal <[email protected]>
Date: 2015-04-30T09:43:45Z
Refining Rest-API
commit 2d7825c4335209f8344310295acc33854a1dd723
Author: anuruddhal <[email protected]>
Date: 2015-04-30T09:51:15Z
Refine Constants
commit 76edb4c496fc7314fdf33b62f0e21e634d3bf361
Author: anuruddhal <[email protected]>
Date: 2015-04-30T09:53:29Z
Changing the ResponseMessageBean
commit 13fa801c0c7ea48285756d5a4375b8bfee4590f9
Author: anuruddhal <[email protected]>
Date: 2015-04-30T09:59:24Z
Changing the ResponseMessageBean
commit 5c8fdcf71c6fc66ab6f95c28686f86f3bcd18341
Author: anuruddhal <[email protected]>
Date: 2015-05-05T07:55:17Z
Resolving Merge Conflicts
commit 4e43ff1822d30a3593ea3f808f5111951f527fdd
Author: anuruddhal <[email protected]>
Date: 2015-05-06T06:20:30Z
Resolving merger conflicts
commit 4750f1a6aceb11253b1ca475994d7c24c88a8369
Author: anuruddhal <[email protected]>
Date: 2015-05-06T06:20:40Z
Merge remote-tracking branch 'upstream/master'
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---