3 Create Data Sources

This topic describes about the data sources creation for Common Core services.

Prerequisites

Database and application setup for Oracle Banking Microservices Architecture must be performed before the deployment setup.

The data sources for the respective micro-services must be created before the application deployment. Each data source targets the corresponding server on which the application will be deployed.

The following sections describes the list of data sources required to be created for Common Core services and the steps to configure them in the server.

Figure 3-1 Process Data Source Creation



Perform the following steps to create the data sources:
  1. Create the data sources on each domain prior to the deployment of applications onto managed server.

    Note:

    For more information on data source creation, refer to the How to create Data sources section in Configuration and Deployment Guide.

    Table 3-1 Data Sources

    Service Name Data Source Name Data Source JNDI Targets
    CMC-INC-FILE-SERVICES CMNCORE jdbc/CMNCORE Common Core Managed Server
    CMC-INC-FILE- MONITOR-SERVICES CMNCORE jdbc/CMNCORE Common Core Managed Server
    CMC-OBRH-SERVICE CMNCORE jdbc/CMNCORE Common Core Managed Server
    CMC-OBRH-KAFKA-CONSUMER CMNCORE jdbc/CMNCORE Common Core Managed Server
    PLATO-EDP-SERVICES PLATOEDP jdbc/PLATOEDP PLATOEDP Managed Server
  2. Map the following data sources to all the newly created managed servers in order to deploy the services successfully.

    Note:

    This mapping is required for the JNDI requirement for flyway migration.

    Table 3-2 Additional Data Sources

    Data Source Name Data Source JNDI Targets
    PLATO jdbc/PLATO Common Core Managed Server
    PLATO_UI_CONFIG jdbc/PLATO_UI_CONFIG Common Core Managed Server
    PLATO_SECURITY jdbc/PLATO_SECURITY Common Core Managed Server
    SMS jdbc/sms Common Core Managed Server
    PLATO_ALERTS jdbc/PLATO_ALERTS Common Core Managed Server
    PLATO_BATCH jdbc/PLATO_BATCH Common Core Managed Server