Files
nexus/knowledgebase/csd-wiki/ICSD/Failed-to-load-data-when-you-select-offerings_688988239.md

1.9 KiB

Failed-to-load-data-when-you-select-offerings_688988239

Problem

OCTCR19M1740103

If you've created more than 2,000 service definitions and there's no offering defined under most of them, when you click the Offering button in the Request or Live Support page, the data load fails.

Cause

This error occurs because when there are too many service definitions with no associated offering, the system performance will be impacted.

Solution

To improve the system performance, you may exclude such service definitions from content filtering.

For example, if there are many service definitions with the "Application" subtype, and there is no offering defined under them, you may follow below steps to exclude these service definitions from content filtering.

  1. In Postman, send a POST request with the following settings:
    URL: https://<host>:<port>/auth/authentication-endpoint/authenticate/token?TENANTID=<tenant-id>
    Select format as JSON and add the user name and password under the Body tab.
    Here is an example:
    {"login":"demoUser@dummy.com","password":"Password1"}
    Note: Be sure to use the user name of tenant admin in the Body.
  2. Click Send, you will find that your request now received the authentication token under the response body.
  3. Next, send a PUT request in Postman with the following settings:
    URL: https://<host>:<port>/rest/<tenant-id>/common-settings/setting/SERVICE_DEFINITION_TYPES_WITH_OFFERING
    Headers:
    Add a Cookie header and set the value as **SMAX_AUTH_TOKEN=%token%**
    Be sure to replace  **%token%** with the authentication token you received in step 2.
    Add a Content-Type header and set the value as **application/json**.
  4. Body:**{"value": "BusinessService,InfrastructureService"}   //"Application" is excluded**
  5. Click Send.