Go to primary content
Oracle® Retail Integration Cloud Service Integration Console User Guide
Release 19.1.000
F32000-02
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

3 Configuration and Deployment

This chapter provides an overview of RIC modes and provides instructions for configuring and installing RIC. The RIC installation steps differ for different RIC modes. RIC can be deployed in three modes in this release, the following table shows RIC modes:

Supported Models Description When to use? Settings in the deployment file
RIB ONLY RIC is configured to collect and display only RIB data. If RIB is in-scope for your integration. "ribEnable":"true",

"bdiEnable":"true",


How do you decide the mode in which you should run RIC?

To use only messaging infrastructure for integration (RIB) must configure RIC with RIB_ONLY mode.

BDI is disabled by default in all RIC is out of scope for this release. The value of the properties ribEnable in the ric configuration file ric-deployment-env-info.json inside ric-home/conf/ folder decides RIC mode.

Configuring RIC

Take the following steps to configure RIC:

  1. Edit the ric-deployment-env-info.json as follows:

    cd ric-home/conf/

    vi ric-deployment-env-info.json

    The following is an example configuration:

    {
        "RicDeploymentEnvInfo":{
            "DataSourceDef":{
                "RicDataSource":{
                    "dataSourceName":"RicDataSource",
                    "dataSourceClass":"oracle.jdbc.pool.OracleDataSource",
                    "dataSourceJndiName":"jdbc/RicDataSource",
                    "jdbcUrl":"jdbc:oracle:thin:@//richost.com:1521/orcl",
                    "jdbcUserAlias":"ricDataSourceUserAlias",
                    "jdbcUser":"GET_FROM_WALLET",
                    "jdbcPassword":"GET_FROM_WALLET"
                }
     
            },
            "MiddlewareServerDef":{
                "RicAppServer":{
                 
                    "weblogicDomainName":"TOOLS_Domain",
                    "weblogicDomainHome":"/scratch/u00/webadmin/WLS12.2.1.4/user_projects/domains/TOOLS_Domain/",
                    "weblogicDomainAdminServerUrl":"t3://richost.com:24001",
                    "weblogicDomainAdminServerProtocol":"t3",
                    "weblogicDomainAdminServerHost":"richost.com",
                    "weblogicDomainAdminServerPort":"24001",
                    "weblogicDomainAdminServerUserAlias":"ricAppServerAdminServerUserAlias",
                    "weblogicDomainTargetManagedServerName":"ric-server",
                         
                    "ricUiUrl":"http://richost.com:24012/rsb-admin",
                    "ricUiUserGroup":"RicAdminGroup",
                    "ricUiUserAlias":"ricAdminUiUserAlias",
                    "ricUiUser":"GET_FROM_WALLET",
                    "ricUiPassword":"GET_FROM_WALLET",
                    "secureCookie":"false"
                }            
            },
            "IntegrationProduct":{
                "ribEnable":"true",
                "bdiEnable":"true",
                "ribHome":"../../../RIB/rib-home/",
                "bdiHome":"../../ric-home"
            },
            "RicApplication":{
                "ricAppUses":[
                    "RicDataSource",
                    "RicAppServer"
                ]
            },
                    "BdiBatchJobAdminInfo":{
                "BdiRmsAdmin":{
                    "batchJobAdminUrl": "http://bdihost:8080/bdi-rms-batch-job-admin",
                    "optional":"true"   
                },
                "BdiSimAdmin":{
                    "batchJobAdminUrl": "http://bdihost:8080/bdi-sim-batch-job-admin",
                    "optional":"true"   
                },
     "BdiOcdsAdmin":{
                    "batchJobAdminUrl": "http://bdihost:8080/bdi-ocds-batch-job-admin",
                    "optional":"true"   
                }
            },
            "BdiProcessFlowAdminInfo":{
                "processFlowAdminUiUrl":"http://bdihost:7001/bdi-batch-process-flow-admin",
                "optional":"true"           
            },
            "BdiSchedulerAdminInfo":{
                "schedulerAdminUiUrl":"http://bdihost:7001/bdi-batch-scheduler-admin",
                "optional":"true"           
            }
        }    
    }
    
  2. Modify the DataSourceDef, the MiddlewareServerDef, and the IntegrationProduct with information that is specific to your environment.

  3. In order to hide host and port wherever exposed in RIC, set the below java option to TRUE in the Weblogic instance startup.

    JAVA_OPTIONS="${JAVA_OPTIONS} -DMaskServerInfo.appServerHostPort=true"
    
  4. For the masking of the jdbc url in RIC, set the below java option to TRUE in the Weblogic instance startup.

    JAVA_OPTIONS="${JAVA_OPTIONS} -DMaskServerInfo.db=true"
    

Installing RIC

After configuring the RIC, follow the installation steps according to the selected RIC mode.

RIB Only Mode

Install the RIC in the RIB only mode to provide visibility into the RIB. The following pre-requisites must be met:

  1. RIB must be deployed.

  2. JMS Console must be deployed from the rib-home/tools-home/.

  3. rib-home must be accessible to ric-home, that is both must reside in the same file system.

  4. The rib-deployment-env-info.xml must have a correct notification configuration for every rib-app in scope. RIC will use this email address to send notifications related to RIB.

  5. Configure a new mail session as below on the Weblogic server where you deploy RIC. This is for RIC to send notification emails on exceeding the error thresholds.

    1. Login to the Weblogic admin console.

    2. Navigate to Admin Console > Services > Mail Sessions.

    3. Create a new mail session with the JNDI Name as "mail/RicMailSession".

    4. Add the below JavaMail properties:

      • mail.smtp.ssl.enable=true

      • mail.smtp.auth=true

      • mail.smtp.ssl.trust=example.com

      • mail.smtp.port=465

      • mail.transport.protocol=smtps

      • mail.smtp.host=example.com

      • mail.from=admin@example.com

        Create a New Mail Session

Take the following steps to deploy the RIC in RIB only mode:

  1. Download RicKernel19.1.000ForAll19.x.xApps_eng_ga.zip to a location (for example, RIC-APP-BUILDER) on the computer which has your rib-home.

  2. Edit the ric-deployment-env-info.json configuration file located in the ric-home/conf/ folder.

  3. Modify MiddlewareServerDef and IntegrationProduct with information that is specific to your environment.

    1. Set the value of the ribEnable property in the configuration file to True.

    2. Set the value of the ribHome property in the configuration file to point to rib-home.

    3. Set the value of secureCookie to true if the cookies has to be secure.

  4. Set the value of the RicAppServer fields to point to the environment where you want to deploy RIC.

  5. Go to the ric-home/bin/ folder and run the compiler to update the RIC ear as follows: $ sh ric-app-compiler.sh -setup-credentials.

    1. When prompted by the compiler, enter the user name and password for WebLogic server and RIC admin user. The RIC admin user is used to log in to the RIC.

  6. From the same folder, run the deployer script to create the user and group and deploy RIC on the WebLogic server as follows: $ sh ric-app-deployer.sh –deploy-ric-app.

    Restrict access to the $RIC-HOME folder:

    cd $RIC-HOME

    chmod -R 700 .

Testing the Deployment

After you deploy the RIC successfully on the WebLogic server, you can access it using the following URL: http://<server>:<port>/rsb-admin.