You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ga...@apache.org on 2015/08/14 09:27:36 UTC

stratos git commit: Update integration test with tenants

Repository: stratos
Updated Branches:
  refs/heads/tenant-isolation aa0f22b52 -> 9a32d57d9


Update integration test with tenants


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

Branch: refs/heads/tenant-isolation
Commit: 9a32d57d9807c4f4e0d7d791f66252f563827a84
Parents: aa0f22b
Author: Gayan Gunarathne <ga...@wso2.com>
Authored: Fri Aug 14 12:57:19 2015 +0530
Committer: Gayan Gunarathne <ga...@wso2.com>
Committed: Fri Aug 14 12:57:19 2015 +0530

----------------------------------------------------------------------
 .../stratos/integration/tests/StratosTestServerManager.java       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/9a32d57d/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/StratosTestServerManager.java
----------------------------------------------------------------------
diff --git a/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/StratosTestServerManager.java b/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/StratosTestServerManager.java
index 63f6afb..422cccc 100755
--- a/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/StratosTestServerManager.java
+++ b/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/StratosTestServerManager.java
@@ -60,6 +60,7 @@ public class StratosTestServerManager extends TestServerManager {
     private static final String JMS_OUTPUT_ADAPTER_FILE = "JMSOutputAdaptor.xml";
     protected RestClient restClientAdmin;
     protected RestClient restClientTenant1;
+    protected RestClient restClientTenant2;
     private String endpoint = "https://localhost:9443";
 
     private BrokerService broker = new BrokerService();
@@ -75,7 +76,7 @@ public class StratosTestServerManager extends TestServerManager {
         serverUtils = new ServerUtils();
         restClientAdmin=new RestClient(endpoint,"admin","admin");
         restClientTenant1 = new RestClient(endpoint, "admin", "admin");
-     //   restClientTenant1 = new RestClient(endpoint, "admin", "admin");
+        restClientTenant2 = new RestClient(endpoint, "admin", "admin");
         mockIaasApiClient = new IntegrationMockClient(endpoint + "/mock-iaas/api");
     }