forked from community/product-iots
parent
62bad0fb2a
commit
c9a652e04b
@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
|
||||
<AnalyticsDataConfiguration>
|
||||
|
||||
<!--Mode can be either as LOCAL, REMOTE or AUTO. If LOCAL mode is configured the analytics api will lookup -->
|
||||
<!--necessary services within the the same node, and will invoke then directly without going through network.-->
|
||||
<!--But If the current node is a light weight node, and doesn't have analytics data services, -->
|
||||
<!--then the mode should be configured as REMOTE. If AUTO mode is configured, based on the data service availability
|
||||
it will automatically switch the mode with LOCAL and REMOTE -->
|
||||
|
||||
<Mode>AUTO</Mode>
|
||||
|
||||
<!--Note: The following parameters will be used only when the mode is configured to REMOTE.-->
|
||||
|
||||
<!--The URL of the analytics data service is being hosted-->
|
||||
|
||||
<URL>http://localhost:9764</URL>
|
||||
|
||||
<!-- A valid user name which have necessary permissions to use the remote services -->
|
||||
|
||||
<Username>admin</Username>
|
||||
|
||||
<!--A valid password of the user provided above. You also can use secure vault, if you don't want to configure -->
|
||||
<!--the plain text password here.-->
|
||||
|
||||
<Password>admin</Password>
|
||||
|
||||
<!--The maximum number of connections made from this node to the remote instances to perform the operations.-->
|
||||
|
||||
<MaxConnections>200</MaxConnections>
|
||||
|
||||
<!--The maximum number of connections per given route from this node to the remote instances to perform the operations.-->
|
||||
|
||||
<MaxConnectionsPerRoute>200</MaxConnectionsPerRoute>
|
||||
|
||||
<!--The socket connection timeout when trying to connect the remote service-->
|
||||
|
||||
<SocketConnectionTimeout>60000</SocketConnectionTimeout>
|
||||
|
||||
<!--The connection timeout when trying to connect the remote service-->
|
||||
|
||||
<ConnectionTimeout>60000</ConnectionTimeout>
|
||||
|
||||
<!--The path of the trust store location, it will be used if the connection URL is in HTTPS protocol.
|
||||
If it is not configured, and the client is running from wso2 carbon environment, then by default the trust
|
||||
store configured from carbon.xml will be picked.-->
|
||||
|
||||
<!--<TrustStoreLocation>repository/resources/security/client-truststore.jks</TrustStoreLocation>-->
|
||||
|
||||
<!-- The password of the above mentioned trust store, it will be used if the connection URL is in HTTPS protocol.
|
||||
If it is not configured,and the client is running from wso2 carbon environment, then by default the trust store
|
||||
configured from carbon.xml will be picked.-->
|
||||
|
||||
<!--<TrustStorePassword>wso2carbon</TrustStorePassword>-->
|
||||
|
||||
</AnalyticsDataConfiguration>
|
Loading…
Reference in new issue