commit
9c37eb549a
@ -0,0 +1,12 @@
|
||||
<processor>
|
||||
<!-- Remove current PushNotificationProviders config -->
|
||||
<remove>
|
||||
<name>//DeviceMgtConfiguration/PushNotificationConfiguration/PushNotificationProviders</name>
|
||||
</remove>
|
||||
|
||||
<!-- Add modified Carbon db and UM db config -->
|
||||
<add>
|
||||
<inside>//DeviceMgtConfiguration/PushNotificationConfiguration</inside>
|
||||
<file>src/analytics/conf/push_notification_config.xml</file>
|
||||
</add>
|
||||
</processor>
|
@ -0,0 +1,45 @@
|
||||
<!--
|
||||
~ Copyright (c) 2017, 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.
|
||||
-->
|
||||
|
||||
<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration">
|
||||
<providers>
|
||||
<provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider>
|
||||
</providers>
|
||||
<datasources>
|
||||
<datasource>
|
||||
<name>DM_DS</name>
|
||||
<description>The datasource used for CDM</description>
|
||||
<jndiConfig>
|
||||
<name>jdbc/DM_DS</name>
|
||||
</jndiConfig>
|
||||
<definition type="RDBMS">
|
||||
<configuration>
|
||||
<url>jdbc:h2:../../repository/database/WSO2DM_DB;DB_CLOSE_ON_EXIT=FALSE;AUTO_SERVER=TRUE;LOCK_TIMEOUT=60000</url>
|
||||
<username>wso2carbon</username>
|
||||
<password>wso2carbon</password>
|
||||
<driverClassName>org.h2.Driver</driverClassName>
|
||||
<maxActive>50</maxActive>
|
||||
<maxWait>60000</maxWait>
|
||||
<testOnBorrow>true</testOnBorrow>
|
||||
<validationQuery>SELECT 1</validationQuery>
|
||||
<validationInterval>30000</validationInterval>
|
||||
</configuration>
|
||||
</definition>
|
||||
</datasource>
|
||||
</datasources>
|
||||
</datasources-configuration>
|
@ -0,0 +1,5 @@
|
||||
<config>
|
||||
<PushNotificationProviders>
|
||||
|
||||
</PushNotificationProviders>
|
||||
</config>
|
Loading…
Reference in new issue