Renaming data source names

revert-dabc3590
prabathabey 10 years ago
parent c6cdf85c11
commit 9b57455bcc

@ -19,7 +19,7 @@
<ManagementRepository> <ManagementRepository>
<DataSourceConfiguration> <DataSourceConfiguration>
<JndiLookupDefinition> <JndiLookupDefinition>
<Name>jdbc/MOBILE_MGT_DS</Name> <Name>jdbc/MobileDM_DS</Name>
</JndiLookupDefinition> </JndiLookupDefinition>
</DataSourceConfiguration> </DataSourceConfiguration>
</ManagementRepository> </ManagementRepository>
@ -28,7 +28,7 @@
<APIs> <APIs>
<API> <API>
<Name>enrollment</Name> <Name>enrollment</Name>
<Provider>admin</Provider> <Owner>admin</Owner>
<Context>enrollment</Context> <Context>enrollment</Context>
<Version>1.0.0</Version> <Version>1.0.0</Version>
<Endpoint>http://localhost:9763/</Endpoint> <Endpoint>http://localhost:9763/</Endpoint>

@ -18,7 +18,7 @@
<ManagementRepository> <ManagementRepository>
<DataSourceConfiguration> <DataSourceConfiguration>
<JndiLookupDefinition> <JndiLookupDefinition>
<Name>jdbc/DEVICE_MGT_DS</Name> <Name>jdbc/DM_DS</Name>
</JndiLookupDefinition> </JndiLookupDefinition>
</DataSourceConfiguration> </DataSourceConfiguration>
</ManagementRepository> </ManagementRepository>

@ -5,14 +5,14 @@
<datasources> <datasources>
<datasource> <datasource>
<name>DEVICE_MGT_DS</name> <name>DM_DS</name>
<description>The datasource used for CDM</description> <description>The datasource used for CDM</description>
<jndiConfig> <jndiConfig>
<name>jdbc/DEVICE_MGT_DS</name> <name>jdbc/DM_DS</name>
</jndiConfig> </jndiConfig>
<definition type="RDBMS"> <definition type="RDBMS">
<configuration> <configuration>
<url>jdbc:h2:repository/database/WSO2DEVICEMGT_DB;DB_CLOSE_ON_EXIT=FALSE</url> <url>jdbc:h2:repository/database/WSO2DM_DB;DB_CLOSE_ON_EXIT=FALSE</url>
<username>wso2carbon</username> <username>wso2carbon</username>
<password>wso2carbon</password> <password>wso2carbon</password>
<driverClassName>org.h2.Driver</driverClassName> <driverClassName>org.h2.Driver</driverClassName>
@ -25,14 +25,14 @@
</definition> </definition>
</datasource> </datasource>
<datasource> <datasource>
<name>MOBILE_MGT_DS</name> <name>MobileDM_DS</name>
<description>The datasource used for CDM Mobile Device Management</description> <description>The datasource used for CDM Mobile Device Management</description>
<jndiConfig> <jndiConfig>
<name>jdbc/MOBILE_MGT_DS</name> <name>jdbc/MobileDM_DS</name>
</jndiConfig> </jndiConfig>
<definition type="RDBMS"> <definition type="RDBMS">
<configuration> <configuration>
<url>jdbc:h2:repository/database/WSO2MOBILE_DB;DB_CLOSE_ON_EXIT=FALSE</url> <url>jdbc:h2:repository/database/WSO2MobileDM_DB;DB_CLOSE_ON_EXIT=FALSE</url>
<username>wso2carbon</username> <username>wso2carbon</username>
<password>wso2carbon</password> <password>wso2carbon</password>
<driverClassName>org.h2.Driver</driverClassName> <driverClassName>org.h2.Driver</driverClassName>
@ -45,7 +45,7 @@
</definition> </definition>
</datasource> </datasource>
<datasource> <datasource>
<name>WSO2DEVICE_DB</name> <name>WSO2AM_DS</name>
<description>The datasource used for CDM</description> <description>The datasource used for CDM</description>
<jndiConfig> <jndiConfig>
<name>jdbc/WSO2AM_DB</name> <name>jdbc/WSO2AM_DB</name>

Loading…
Cancel
Save