From 0a2860d0d4c6b587ed039037b94482f8e9d2ef23 Mon Sep 17 00:00:00 2001 From: ayyoob Date: Tue, 17 May 2016 21:14:53 +0530 Subject: [PATCH] cleaning datasources --- modules/distribution/src/assembly/bin.xml | 1 - .../conf/datasources/cdm-datasources.xml | 86 ------------------- .../conf/datasources/master-datasources.xml | 34 ++------ 3 files changed, 7 insertions(+), 114 deletions(-) diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index 9b7aad69..d7c87f7b 100644 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -244,7 +244,6 @@ **/master-datasources.xml - **/cdm-datasources.xml diff --git a/modules/distribution/src/repository/conf/datasources/cdm-datasources.xml b/modules/distribution/src/repository/conf/datasources/cdm-datasources.xml index 32f9585e..e647e148 100755 --- a/modules/distribution/src/repository/conf/datasources/cdm-datasources.xml +++ b/modules/distribution/src/repository/conf/datasources/cdm-datasources.xml @@ -20,7 +20,6 @@ org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader - DM_DS @@ -42,90 +41,5 @@ - - - WSO2DM_STATS_DB - - jdbc/WSO2DM_STATS_DB - - The datasource used for analyzer data - - - jdbc:h2:$/repository/database/WSO2DM_STATS_DB;AUTO_SERVER=TRUE - - wso2carbon - wso2carbon - org.h2.Driver - 50 - 60000 - true - SELECT 1 - 30000 - - - - - MobileIOSDM_DS - The datasource used for CDM Mobile Device Management - - jdbc/MobileIOSDM_DS - - - - jdbc:h2:repository/database/WSO2MobileIOS_DB;DB_CLOSE_ON_EXIT=FALSE - wso2carbon - wso2carbon - org.h2.Driver - 50 - 60000 - true - SELECT 1 - 30000 - - - - - MobileAndroidDM_DS - The datasource used for CDM Mobile Device Management - - jdbc/MobileAndroidDM_DS - - - - jdbc:h2:repository/database/WSO2MobileAndroid_DB;DB_CLOSE_ON_EXIT=FALSE - - wso2carbon - wso2carbon - org.h2.Driver - 50 - 60000 - true - SELECT 1 - 30000 - - - - - MobileWindowsDM_DS - The datasource used for CDM Mobile Device Management - - jdbc/MobileWindowsDM_DS - - - - jdbc:h2:repository/database/WSO2MobileWindows_DB;DB_CLOSE_ON_EXIT=FALSE - - wso2carbon - wso2carbon - org.h2.Driver - 50 - 60000 - true - SELECT 1 - 30000 - - - - diff --git a/modules/distribution/src/repository/conf/datasources/master-datasources.xml b/modules/distribution/src/repository/conf/datasources/master-datasources.xml index 4fa29bfa..379eb715 100755 --- a/modules/distribution/src/repository/conf/datasources/master-datasources.xml +++ b/modules/distribution/src/repository/conf/datasources/master-datasources.xml @@ -63,28 +63,6 @@ - - - WSO2_SOCIAL_DB - The datasource used for Store social database - - jdbc/WSO2_SOCIAL_DB - - - - jdbc:h2:repository/database/WSO2_SOCIAL_DB;DB_CLOSE_ON_EXIT=FALSE - wso2carbon - wso2carbon - org.h2.Driver - 50 - 60000 - true - SELECT 1 - 30000 - - - - WSO2_MB_STORE_DB The datasource used for message broker database @@ -106,21 +84,23 @@ - - JAGH2 - The datasource used for by the Jaggery Storage Manager + DM_DS + The datasource used for CDM - jdbc/ES_Storage + jdbc/DM_DS - jdbc:h2:repository/database/ES_STORAGE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000 + jdbc:h2:repository/database/WSO2DM_DB;DB_CLOSE_ON_EXIT=FALSE wso2carbon wso2carbon org.h2.Driver 50 60000 + true + SELECT 1 + 30000