Go to primary content
Oracle® Retail Integration Bus Cloud Service Installation Guide
Release 19.1.000
F31805-01
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

4 RIB Cloud Support

In order to support cloud deployment (including hybrid cloud), RIB is enhanced with the addition of two web services. These are injector and publisher web services that allows retail applications to communicate with other applications.

Applications can invoke the new web services to send and receive messages to/from other applications via RIB using SOAP or REST style of webservices. Client applications must use credentials of a user in group ribAdminGroup to call the publisher web service. For consuming messages (using the injector service) applications must create a user in group IntegrationGroup on the server where the retail application is deployed. The rib-<app> must be configured with the same user credentials at install time, so that RIB can call the injector service with the correct credentials.

Following example shows how to configure a hybrid scenario in which SIM is on-premise and RIB is on-cloud.

Configuration for SOAP webservices call:

The following example shows how to configure a hybrid scenario in which ROB (rest application) is on-premise and RIB is on-cloud.

Configuration for REST webservices call:

IDCS OAuth2 in RIB

RIB uses IDCS OAuth2 for authentication of ReST calls both inbound and out-bound(publisher/injector restful services). Although, the basicAuth will also be supported to maintain backward compatibility and to support on-prem requirements, primary authentication mechanism in the cloud would be OAuth2 using IDCS authenticator. Out of the box configuration would expect OAuth2 to be used.

Installer/ rib-home changes to support IDCS OAuth2

  1. rib-deployment-env-info.xml has OPTIONAL elements to capture the oauth2 configuration.

    Below is the snapshot of new rib-deployment-env-info.xml for app type "rest-app" such as rib-rms, rib-rob.

    rib-deployment-env-info.xml example
  2. If "oauth2-authorization-server-url" exists , this will be treated as OAuth2 setup and only then rib-app-builder prompt user to key in the ClientId/ClientSecret mapped to the ali-as <app-name>_oauth2_application_client_user-name-alias.

  3. IDCS token URL will be written to the rib-system.properties at compile time with this format

    oauth2.authorization.server.token.url=https://idcs-c3bb6417e4904132beebfa6c440fcce4.identity.c9dev1.oc9qadev.com/oauth2/v1/token

    This URL will be available for post install update using admin GUI. Steps - RIB Admin GUI > Manage Configurations > System Options

    At run time, both plsql/java rest injector services (rib-rms master-plsql-app and rib-rob) will use the above property to make the call to IDCS to get the token and use in subsequent inject calls.