com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Datasources

A datasource is a connection set up to a storage of data, such as a database or a data file, from a server. A datasource provides information that a server can use to connect to a a storage of data. 


Enabling datasource management 

Datasource management is provided by the following feature in the WSO2 feature repository. 

Name : WSO2 Carbon - datasource management feature 
Identifier: org.wso2.carbon.datasource.feature.group

If datasource management capability is not included in your product by default, add it by installing the above feature. For instructions on the datasource management feature, see Feature Management.

Adding datasources  

If the datasource management feature is installed in your WSO2 product instance, you can add datasources that allow the server to connect to databases and other external datastores.

Use the following steps to add a datasource:

  1. In the product management console, click Data Sources on the Configure tab. 
  2. Click Add Data Source
  3. Select the required options for connecting to the database. The available options are based on the type of datasource you are creating:
    • Configuring a RDBMS Datasource
    • Configuring a Custom Datasource 
  4. After adding datasources, they will appear on the Data Sources page. You can edit and delete them as needed by clicking Edit or Delete links. 

 You can view, edit, and delete the datasources in your product instance by clicking Data Sources in the Configure menu of the product management console. However, you cannot edit or delete the default <WSO2_CARBON_DB> datasource.

WSO2 ML default datasources

By default WSO2 ML is shipped with the following datasources.

DatasourceLocationUsage
WSO2_CARBON_DB<ML_HOME>/repository/conf/datasources/master-datasources.xml fileTo store data related to registry and user management of WSO2 ML.
WSO2_ANALYTICS_FS_DB<ML_HOME>/repository/conf/datasources/analytics-datasources.xml fileTo connect to DAS Analytics File System.
WSO2_ANALYTICS_EVENT_STORE_DB<ML_HOME>/repository/conf/datasources/analytics-datasources.xml fileTo connect to the data store of the DAS Analytics Record Store which stores event definitions.
WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB<ML_HOME>/repository/conf/datasources/analytics-datasources.xml fileTo connect to the data store of the DAS Analytics Record Store which stores processed data.
WSO2_METRICS_DB<ML_HOME>/repository/conf/datasources/metrics-datasources.xml fileTo store metrics related data of the WSO2 ML server.
WSO2ML_DB<ML_HOME>/repository/conf/datasources/ml-datasources.xml fileTo store WSO2 ML-specific data.