Additional Data source configs
@@ -399,15 +399,14 @@ wso2.datasources:
validationTimeout: 30000
isAutoCommit: false
- #Data source for APIM Analytics
- name: APIM_ANALYTICS_DB
- description: Datasource used for APIM Analytics
+ description: "The datasource used for APIM statistics aggregated data."
jndiConfig:
name: jdbc/APIM_ANALYTICS_DB
definition:
type: RDBMS
configuration:
- jdbcUrl: 'jdbc:h2:${sys:carbon.home}/wso2/dashboard/database/APIM_ANALYTICS_DB;AUTO_SERVER=TRUE'
+ jdbcUrl: 'jdbc:h2:${sys:carbon.home}/../tmpStatDB/WSO2AM_STATS_DB;AUTO_SERVER=TRUE'
username: wso2carbon
password: wso2carbon
driverClassName: org.h2.Driver
@@ -416,6 +415,24 @@ wso2.datasources:
connectionTestQuery: SELECT 1
validationTimeout: 30000
isAutoCommit: false
+
+ - name: WSO2AM_MGW_ANALYTICS_DB
+ description: "The datasource used for APIM MGW analytics data."
+ jndiConfig:
+ name: jdbc/WSO2AM_MGW_ANALYTICS_DB
+ definition:
+ type: RDBMS
+ configuration:
+ jdbcUrl: 'jdbc:h2:${sys:carbon.home}/wso2/worker/database/WSO2AM_MGW_ANALYTICS_DB;AUTO_SERVER=TRUE'
+ username: wso2carbon
+ password: wso2carbon
+ driverClassName: org.h2.Driver
+ maxPoolSize: 50
+ idleTimeout: 60000
+ connectionTestQuery: SELECT 1
+ validationTimeout: 30000
+ isAutoCommit: false
+
# Cluster Configuration
cluster.config:
enabled: false
