Chapter 9. Using service discovery

Here you see the instructions about how to create or discover new services, and to update or refresh existing ones.

Prerequisites

You have created <3scale-project>.

Discovering services

This section contains instructions to discover a new API service corresponding to an Open API Specification (OAS, also known as Swagger specification), if applicable; which is discovered from the cluster, for management with 3scale.

  1. Log in to 3scale Admin Portal.
  2. From the Admin Portal’s Dashboard, click New API.
  3. Choose Import from OpenShift.
  4. In the Namespace field, specify the OpenShift project.
  5. In the Name field, type the the name of an OpenShift service within that given namespace.
  6. Click Create Service.
  7. Wait for the new API service to be asynchronously imported into 3scale. You will see a message in the upper right section of the Admin Portal: The service will be imported shortly. You will receive a notification when it is done.

Updating the service

This section explains how to update (refresh) an existing API service in 3scale, which was previously imported/discovered from the cluster, with the current definitions for the service in the cluster.

  1. Log in to 3scale Administration Portal.
  2. Navigate to the Overview page of the API service.
  3. Click the Refresh link, next to Source: OpenSource.
  4. Wait for the new API service to be asynchronously imported into 3scale.