You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2015/05/11 14:29:48 UTC

stratos git commit: Add a comment to get cartridge method to clarify passed values

Repository: stratos
Updated Branches:
  refs/heads/master 15a5f8002 -> 6998c5142


Add a comment to get cartridge method to clarify passed values


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/6998c514
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/6998c514
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/6998c514

Branch: refs/heads/master
Commit: 6998c51429c2b0d4bf7a339cd1a7f6a9441d1dc8
Parents: 15a5f80
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Mon May 11 17:59:36 2015 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Mon May 11 17:59:42 2015 +0530

----------------------------------------------------------------------
 .../java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/6998c514/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
index b1552c2..a41dd36 100644
--- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
+++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
@@ -321,6 +321,7 @@ public class StratosApiV41 extends AbstractApi {
     public Response getCartridges()
             throws RestAPIException {
 
+        //We pass null to searching string and multi-tenant parameter since we do not need to do any filtering
         List<CartridgeBean> cartridges = StratosApiV41Utils.getAvailableCartridges(null, null, getConfigContext());
         if (cartridges == null || cartridges.isEmpty()) {
             return Response.status(Response.Status.NOT_FOUND).entity(new ResponseMessageBean(