Registering a portal service

Define one or more portal services in your API Connect on-premises cloud.

Before you begin

You must complete the following tasks:
Note:
When you create or register a Developer Portal service, the Portal subsystem checks that the Portal web endpoint is accessible. However sometimes, for example due to the complexity of public and private networks, the endpoint cannot be reached. The following example shows the errors that you might see in the portal-www pod, admin container logs, if the endpoint cannot be reached:
An error occurred contacting the provided portal web endpoint: example.com
The provided Portal web endpoint example.com returned HTTP status code 504
In this instance, you can disable the Portal web endpoint check so that the Developer Portal service can be created successfully.
To disable the endpoint check, complete one of the following updates depending on your platform:
On Kubernetes
Add the following section to the Portal custom resource (CR) template:
spec:
  template:
  - containers:
    - env:
      - name: PORTAL_SKIP_WEB_ENDPOINT_VALIDATION
        value: "true"
      name: admin
    name: www
On VMware
In your apicup project, create a file called ptl-extra-values.yaml (or edit the file if one already exists), and add the following section:
spec:
  template:
  - containers:
    - env:
      - name: PORTAL_SKIP_WEB_ENDPOINT_VALIDATION
        value: "true"
      name: admin
    name: www
Run the following commands:
apicup subsys set <ptl_subsys> extra-values-file <path-to-ptl-extra-values-yaml-file>
apicup subsys install <ptl_subsys>

About this task

Each Availability Zone contains one or more Portal services. The Portal service provides a developer portal used by application developers to discover APIs and onboard consumers. An email server must be configured and set as the email server for the cloud before registering a portal service.

One of the following roles is required to register and manage Portal services:

  • Administrator
  • Topology Administrator
  • Owner
  • A custom role with the Topology:Manage permission
Important: It's not recommended to have more than 100 sites per Developer Portal service. Note that it's not necessary to have a Portal site for every Catalog, for example Catalogs that are only for API Developers don't need a Portal site, as the APIs can be tested by using credentials from the API Manager. If more than 100 sites are required, you should configure additional Developer Portal services.

Procedure

Complete the following steps to configure the Portal services for your cloud:

  1. In the Cloud Manager, click TopologyTopology.
  2. In the Availability Zone that will contain the Portal service, select Register Services > Portal.
  3. Enter the values to configure the Portal service.

Field Description
Title (required) Enter a descriptive title for the portal service. This title will display on the screen.
Name (required) This field is auto-populated by the system and used as the internal field name.
Summary (optional) Enter a brief description.
Management Endpoint: Endpoint (required) Enter the IP address, fully-qualified host name, service, or ingress name. Used for communication with API Manager. If configured during installation using the Install Assist utility, it is the apicup subsys set portal portal-admin

value.

Management Endpoint: TLS Client Profile (optional) Select the TLS Client Profile that will be used to communicate with the portal service. The profile applies to the Management Endpoint.
Portal Website URL (required) The URL that will be used for public access to the portal. If configured during installation using the Install Assist utility, it is the apicup subsys set portal portal-www <portal>.<hostname>.<domainname> value. Multiple portal-www endpoints may be configured, as described here in these topics: Defining multiple portal endpoints for a Kubernetes environment and Defining multiple portal endpoints for a VMware environment.

  1. When you are finished, click Save.

Results

The Portal service is configured in your cloud and can be used to publish APIs.