Hi Devs,

It seems we have different formats of thrift-client-config.xml file.

For eg,

./products/stratos/modules/distribution/src/main/conf/thrift-client-config.xml
has following format

=============================================
<thriftClientConfiguration>
    <config>
        <name>cep</name>
        <statsPublisherEnabled>true</statsPublisherEnabled>
        <username>admin</username>
        <password>1234</password>
        <ip>192.168.10.10</ip>
        <port>9300</port>
    </config>
    <config>
        <name>das</name>
        <statsPublisherEnabled>true</statsPublisherEnabled>
        <username>admin1</username>
        <password>12345</password>
        <ip>192.168.10.11</ip>
        <port>9301</port>
    </config>
</thriftClientConfiguration>
=============================================


./extensions/load-balancer/modules/haproxy-extension/src/main/conf/thrift-client-config.xml
has following format
================================
<thriftClientConfiguration>
    <username>admin</username>
    <password>admin</password>
    <ip>localhost</ip>
    <port>7611</port>
</thriftClientConfiguration>
=================================

What would be the correct one?

Thanks,
Sajith


-- 
Sajith Kariyawasam
*Committer and PMC member, Apache Stratos, *
*WSO2 Inc.; http://wso2.com <http://wso2.com>*
*Mobile: 0772269575*

Reply via email to