Integrating with Red Hat OpenShift Application and Data Services

Some of the features in Serverless Logic Web Tools require integration with Red Hat OpenShift Application and Data Services. Consider uploading OpenAPI specifications to a service registry and fetching its service functions as examples of integration with Red Hat OpenShift Application and Data Services.

This document describes how you can configure the required settings to complete the integration with Red Hat OpenShift Application and Data Services.

Creating a service account in Red Hat OpenShift application and Data Services

You can create or use a service account from your Red Hat OpenShift Application and Data Services console and add the service account to the Serverless Logic Web Tools.

Prerequisites
  • You have access to the Red Hat OpenShift Application and Data Services console.

Procedure
  1. To create a service account in Red Hat Openshift Application and Data Services, perform the following steps:

    You can skip this step if you already have a service account.

    1. Go to Service Accounts | Red Hat OpenShift Application and Data Services.

    2. Click Create service account.

    3. In the Create a service account window, enter a service account name in the Short description field.

    4. Click Create.

      A modal displaying your Client ID and Client Secret appears.

    5. Copy and save the Client ID and Client Secret.

    6. Check the I have copied the client ID and secret checkbox and click Close.

  2. If you already have a service account, find your Client ID and Client Secret.

  3. In the Serverless Logic Web Tools, click the Cogwheel (⚙️) on the top-right corner and go to the Service Account tab.

  4. Click on the Add service account button and a window will be shown.

  5. Enter your Client ID and Client Secret in the respective fields.

  6. Click Apply.

    The content in the Service Account tab updates and displays Your Service Account information is set message.

Creating a Service Registry in Red Hat OpenShift application and Data Services

You can create or use a Service Registry instance from your Red Hat OpenShift Application and Data Services console and add the Service Registry to Serverless Logic Web Tools.

Prerequisites
Procedure
  1. To create a Service Registry instance in Red Hat Openshift Application and Data Services console, perform the following steps:

    You can skip this step if you already have a Service Registry instance.

    1. Go to Service Registry | Red Hat OpenShift Application and Data Services.

    2. Click Create Service Registry instance button.

    3. In the Create a Service Registry instance window, enter a Service Registry instance name and click Create.

      The list of Service Registry instances updates with your instance.

    4. Find the Service Registry instance you created in the list and click on the instance.

    5. Go to the Settings tab and click on Grant access.

    6. In the drop-down, select the service account you created in the previous procedure.

    7. Select a role for your service account.

      You must select the role as Manager or Administrator to have the read and write access.

    8. Click Save.

    9. Click on the menu on the top-right corner of the screen.

    10. Click Connection.

      A drawer opens containing the required connection and authentication information.

    11. Copy the value of Core Registry API.

  2. If you already have a Service Registry, find the value of Core Registry API of your Service Registry.

  3. In the Serverless Logic Web Tools web application, click the Cogwheel (⚙️) on the top-right corner and go to the Service Registry tab.

  4. Click on the Add service registry button and a window will be shown.

  5. Enter a name for your registry.

    You can enter the same name that you used while creating the Service Registry instance.

  6. Enter the value of Core Registry API and click Apply.

    The content in the Service Registry tab updates and displays Your Service Registry information is set message.

Found an issue?

If you find an issue or any misleading information, please feel free to report it here. We really appreciate it!