You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by sa...@apache.org on 2015/10/13 18:12:27 UTC

stratos git commit: Change thrift client config file to fix failing tests

Repository: stratos
Updated Branches:
  refs/heads/stratos-4.1.x 581d345c6 -> f36e3f4d6


Change thrift client config file to fix failing tests


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

Branch: refs/heads/stratos-4.1.x
Commit: f36e3f4d66d27f57847de66a8864f3db5dd8b3e7
Parents: 581d345
Author: Sajith <sa...@wso2.com>
Authored: Tue Oct 13 21:42:06 2015 +0530
Committer: Sajith <sa...@wso2.com>
Committed: Tue Oct 13 21:42:06 2015 +0530

----------------------------------------------------------------------
 .../resources/common/thrift-client-config.xml   | 34 +++++++++++---------
 1 file changed, 19 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/f36e3f4d/products/stratos/modules/integration/test-integration/src/test/resources/common/thrift-client-config.xml
----------------------------------------------------------------------
diff --git a/products/stratos/modules/integration/test-integration/src/test/resources/common/thrift-client-config.xml b/products/stratos/modules/integration/test-integration/src/test/resources/common/thrift-client-config.xml
index 3038688..1a42d25 100644
--- a/products/stratos/modules/integration/test-integration/src/test/resources/common/thrift-client-config.xml
+++ b/products/stratos/modules/integration/test-integration/src/test/resources/common/thrift-client-config.xml
@@ -20,20 +20,24 @@
 
 <!-- Apache thrift client configuration for publishing statistics to WSO2 CEP and WSO2 DAS -->
 <thriftClientConfiguration>
-    <config>
-        <name>cep</name>
-        <statsPublisherEnabled>true</statsPublisherEnabled>
-        <username>admin</username>
-        <password>admin</password>
-        <ip>localhost</ip>
-        <port>THRIFT_DYNAMIC_PORT</port>
-    </config>
-    <config>
-        <name>das</name>
-        <statsPublisherEnabled>false</statsPublisherEnabled>
-        <username>admin</username>
-        <password>admin</password>
-        <ip>localhost</ip>
-        <port>7612</port>
+<config>
+        <cep>
+             <node id="node-01">
+                  <statsPublisherEnabled>true</statsPublisherEnabled>
+                  <username>admin</username>
+                  <password>admin</password>
+                  <ip>localhost</ip>
+                  <port>THRIFT_DYNAMIC_PORT</port>
+             </node>
+        </cep>
+        <das>
+             <node id="node-01">
+                  <statsPublisherEnabled>false</statsPublisherEnabled>
+                  <username>admin</username>
+                  <password>admin</password>
+                  <ip>localhost</ip>
+                  <port>7612</port>
+             </node>
+        </das>
     </config>
 </thriftClientConfiguration>