Integrating your SonataFlow project with OpenShift using Serverless Logic Web Tools

You can integrate your SonataFlow project with Red Hat OpenShift. OpenShift is an enterprise-ready Kubernetes container platform, enabling your SonataFlow projects to be deployed and tested online.

Connecting to OpenShift instance using Serverless Logic Web Tools

You can connect to your OpenShift instance to deploy your SonataFlow projects with Serverless Logic Web Tools.

Prerequisites
Procedure
  1. Log in to your OpenShift instance console interface.

  2. In the OpenShift instance console interface, you need your OpenShift project name (also known as namespace), API server, and an access token.

    • For the OpenShift project name, go to the Topology tab and in the top-left corner you see your project name.

      serverless logic web tools openshift project
      Figure 1. OpenShift project name in OpenShift instance console
    • To obtain the API server and access token, click on your username and Copy login command.

      A new page opens containing your new API token along with oc cli login command. From the oc cli command, copy the value of --server=.

      serverless logic web tools openshift info
      Figure 2. OpenShift access token and API server
  3. Go to the Serverless Logic Web Tools web application, click the Cogwheel (⚙️) in the top-right corner and go to the OpenShift tab.

  4. Click the Add connection button and a window will be shown.

  5. Enter your OpenShift project name in the Namespace (project) field.

  6. Enter the value copied value of --server flag in the Host field.

  7. Enter the value of API token in the Token field.

  8. If your OpenShift instance uses Self-Signed certificates, you must also check the Insecurely disable TLS certificate validation option.

  9. Click Connect.

    If the entered values are correct, then the tab updates and displays You’re connected to OpenShift message.

After connecting to OpenShift, you are ready to deploy your SonataFlow projects using Serverless Logic Web Tools. For more information about deploying your projects, see Deploying your SonataFlow projects using Serverless Logic Web Tools.

Found an issue?

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