Previous Next JavaScript must be enabled to correctly display this content

## 1.40.1.1 Service Consumers

This topic describes systematic instructions to configure the service consumers.

The Service Consumer is an Oracle product that invokes Oracle Banking Routing Hub API. Oracle Banking Routing Hub analyses, evaluates the destination product processor and, transforms the data into a format of the same.

The Service Consumer comprises the source and destination integration details.

Specify User ID and Password, and login to Home screen.

1. On Home screen, click Core Maintenance. Under Core Maintenance, click Routing Hub.
2. Under Routing Hub, click Service Consumers.
   The Service Consumers screen displays.

   Figure 1-66 Service Consumers

   Description of "Figure 1-66 Service Consumers"

Add Service Consumer

3. Click Add.
   The Add Service Consumer screen displays.

   Figure 1-67 Add Service Consumer

   Description of "Figure 1-67 Add Service Consumer"
4. Specify the fields on Add Service Consumer screen.

   Note:

   The fields, which are marked with an asterisk, are mandatory.

   For more information on fields, refer to the field description table.

   Table 1-66 Add Service Consumer - Field Description

   Field | Description
   --- | ---
   Name | Specify the name of the service consumer. Note: Enter 0 to maximum of 255 characters. No numeric value at beginning and no space allowed.
   Add | To add, refer to step 5. Select the group from the drop-down list. The available options are: Group Variable
   Group | Select the group from the drop-down list.
   Action | Displays the action. The user can edit or delete the header.
   Name | Displays the name of the header.
   Value | Displays the value of the header.

Environment Variables:

The user must define the group of variables which can be accessed throughout the specific consumer’s configuration.

The syntax for accessing environment variables is below: $env.Environment_Group_Name.Environment_Variable_Name

For example, $env.COMMON.BRANCH_CODE

5. To add Environment Variables, follow below steps.
   1. On Add Service Consumers, click Add and select Group from drop-down list to add the group.
      The Add Environment Group screen displays.

      Figure 1-68 Add Environment Group

      Description of "Figure 1-68 Add Environment Group"
   2. Specify the fields on Add Environment Group screen and click OK.

      Note:

      The fields, which are marked with an asterisk, are mandatory.

      For more information on fields, refer to the field description table.

      Table 1-67 Add Environment Group - Field Description

      Field | Description
      --- | ---
      Name | Specify the name of the environment group. Note: Enter 0 to maximum of 255 characters. No numeric value at beginning and no space allowed.

   3. Click Add on Add Service Consumer screen and select Variable from drop-down list to add the variable.
      The Add Environment Variable screen displays.

      Figure 1-69 Add Environment Variable

      Description of "Figure 1-69 Add Environment Variable"
   4. Specify the fields on Add Environment Variable screen and click OK.

      Note:

      The fields, which are marked with an asterisk, are mandatory.

      For more information on fields, refer to the field description table.

      Table 1-68 Add Environment Variable - Field Description

      Field | Description
      --- | ---
      Name | Specify the name of the environment variable. Note: Enter 0 to maximum of 255 characters. No numeric value at beginning and no space allowed.
      Value | Specify the value of the environment variable. The value can either be hardcoded or Velocity mapping.

6. Click Save to save the details.
   The Confirmation screen displays.

   Figure 1-70 Confirmation - Add Service Consumers

   Description of "Figure 1-70 Confirmation - Add Service Consumers"
7. Click Confirm to save the record.

Import Service Consumer

8. Click Import.
   The Import Service Consumer screen displays.

   Figure 1-71 Import Service Consumer

   Description of "Figure 1-71 Import Service Consumer"
9. Specify the fields on Import Service Consumer screen and click OK.

   Note:

   The fields, which are marked with an asterisk, are mandatory.

   For more information on fields, refer to the field description table.

   Table 1-69 Import Service Consumer - Field Description

   Field | Description
   --- | ---
   File | Select the file using Select. Note: Allows only to select one file and accepts only JSON file.
   Extract | Extracts the consumer name and service provider list from JSON file and displays it in the respective elements.
   Name | Specify the name of the service provider. Note: Enter 0 to maximum of 255 characters. No numeric value at beginning and no space allowed.
   Name | Displays the list of service providers names that are present in JSON file.

10. Click Import to import the selected file.
    The Confirmation screen displays.

    Figure 1-72 Confirmation - Import Service Consumer

    Description of "Figure 1-72 Confirmation - Import Service Consumer"
11. Click Confirm to import the service consumer.

    Note:

    Below data needs to be changed after importing provider configuration file:
    - Implementation Host and Port
    - Implementation Authentication Password

View Service Consumer

12. Click 3 dots button (operation menu) and click View.
    The View Service Consumer screen displays.

    Figure 1-73 View Service Consumer

    Description of "Figure 1-73 View Service Consumer"

    The user can click edit button to edit the Service Consumer.

Edit Service Consumer

13. Click 3 dots button (operation menu) and click Edit.
    The Edit Service Consumer screen displays.

    Figure 1-74 Edit Service Consumer

    Description of "Figure 1-74 Edit Service Consumer"
14. Click Save once the edit is done.
    The Confirmation screen displays.

    Figure 1-75 Confirmation - Edit Service Consumer

    Description of "Figure 1-75 Confirmation - Edit Service Consumer"
15. Click Confirm to save the record.

Delete Service Consumer

16. Click 3 dots button (operation menu) and click Delete.
    The Confirmation screen displays.

    Figure 1-76 Confirmation - Delete Service Consumer

    Description of "Figure 1-76 Confirmation - Delete Service Consumer"
17. Click Confirm to delete the record.

Export Service Consumer in JSON

18. Click 3 dots button (operation menu) and click Export. Select JSON.
    The Export Service Consumer screen displays.

    Figure 1-77 Export Service Consumer - JSON

    Description of "Figure 1-77 Export Service Consumer - JSON"

    Note:

    - The user has an option to select service providers from the list which needs to be exported or can click on select all for all service providers.
    - The JSON Export feature exports below data:
      - Selected service consumer
      - All consumer services
      - Selected service providers with services
      - Default implementation of selected service providers with services (without Host, Port and Authentication Password)
      - Default transformations
      - All default implementation routes
19. Select the required service providers and click Export.
    The Confirmation screen appears.

    Figure 1-78 Confirmation - Export Service Consumer in JSON

    Description of "Figure 1-78 Confirmation - Export Service Consumer in JSON"
20. Click Confirm to export in JSON.

Export Service Consumer in SQL

21. Click Export and select SQL.
    The Confirmation screen appears.

    Figure 1-79 Confirmation

    Description of "Figure 1-79 Confirmation"

    Note:

    The SQL Export feature exports entire configuration without Host, Port, and Authentication Password details.
22. Click Confirm to export the Service Consumer in SQL.

Parent topic: Oracle Banking Routing Hub Configuration