Repository: stratos Updated Branches: refs/heads/master 27e438410 -> f2ad36ca1
Remove the validation to check group and cartridge sizes Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/f2ad36ca Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/f2ad36ca Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/f2ad36ca Branch: refs/heads/master Commit: f2ad36ca15c4d86f29fefff47db73c6fb752eeaa Parents: 27e4384 Author: Gayan Gunarathne <[email protected]> Authored: Thu Jan 29 10:11:24 2015 +0530 Committer: Gayan Gunarathne <[email protected]> Committed: Thu Jan 29 10:11:24 2015 +0530 ---------------------------------------------------------------------- .../apache/stratos/rest/endpoint/api/StratosApiV41Utils.java | 6 ------ 1 file changed, 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/f2ad36ca/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java index ec09fd1..76be4ba 100644 --- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java +++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java @@ -988,12 +988,6 @@ public class StratosApiV41Utils { log.error(message); throw new RestAPIException(message); } - if(appDefinition.getComponents().getGroups().size()==0 && appDefinition.getComponents().getCartridges().size()==0){ - String message ="No groups or cartridges attach with this application"; - log.error(message); - throw new RestAPIException(message); - } - } /**
