Github user imesh commented on a diff in the pull request: https://github.com/apache/stratos/pull/296#discussion_r29760749 --- Diff: components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java --- @@ -3200,4 +3196,110 @@ public static void updateUser(UserInfoBean userInfoBean) throws RestAPIException return userList; } + /** + * This method is to validate the cartridge duplication in the group definition recursively for group within groups + * + * @param groupBean - cartridge group definition + * @throws RestAPIException - throws the rest api exception when the group definition is invalid --- End diff -- The same concern raised above, might be better to use few specific exceptions.
--- 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. ---