Connecting Runtime REST API server

This topic documents how to set up connection between Keycloak and Runtime REST API server.

Procedure

  1. Install Link or Runtime & Monitoring.
  2. In Keycloak, make sure that Keycloak Auth Enabledis set to true.
  3. In text editor, open config.yaml to confirm the connectivity information. You can see the below information and update as appropriate to your environment:
    ##############################
    ### Keycloak Configuration ###
    ##############################
    keycloak:
      # Previously: authentication.keycloak.enabled, HIP_KEYCLOAK_AUTH_ENABLED
      enabled: false
    
      # Specify the Keycloak server in the format {protocol}://{host}:{port}.
      # For example:
      #   http://keycloak-0:8080
      # Previously: authentication.keycloak.serverUrl, HIP_KEYCLOAK_SERVER_URL
      serverUrl: ""
    
      # Previously: authentication.keycloak.realmId, HIP_KEYCLOAK_REALM_ID
      realmId: "link"
    
  4. Run Runtime REST API server to service REST client calls.
  5. REST clients invoking the Runtime REST API should include the user credentials that can be authenticated with Keycloak to run the maps or flows, or to fetch any runtime information.