Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-8373

APIcast does not load all pages of services or proxy configs

    XMLWordPrintable

Details

    • 5
    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • +
    • +
    • Workaround Exists
      • Use the master endpoint, as it is not paginated
        • `THREESCALE_PORTAL_ENDPOINT=https://<token>@<master domain>/master/api/proxy/configs`
    • Hide
      1. Create more than 500 services in a tenant
      2. Deploy APIcast using `THREESCALE_PORTAL_ENDPOINT=https://<token>@<provider domain>`
      3. Send a request to one of last services created
      4. Observe 404 error
      5. Observe APIcast logs indicate that only the first 500 services were loaded
      Show
      Create more than 500 services in a tenant Deploy APIcast using `THREESCALE_PORTAL_ENDPOINT=https://<token>@<provider domain>` Send a request to one of last services created Observe 404 error Observe APIcast logs indicate that only the first 500 services were loaded
    • API CCS Sprint 39 (3Scale), API CCS Sprint 40 (3Scale), API CCS Sprint 42 (3Scale), API CCS Sprint 43 (3Scale)

    Description

      When APIcast fetches the configuration from system using the Provider endpoints it does not load more than 500 results.

      Example endpoints:

      • THREESCALE_PORTAL_ENDPOINT=https://<token>@<provider domain>
        • Fetches: https://<token>@<provider domain>/admin/api/services.json
      • THREESCALE_PORTAL_ENDPOINT=https://<token>@<provider domain>/admin/api/account/proxy_configs
        • Fetches: https://<token>@<provider domain>/admin/api/account/proxy_configs/production.json

      In both cases, the results are truncated to the first 500 results due to pagination on the system side. See THREESCALE-4528.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-support-spoole Shannon Poole
              Lluis Cavalle Lluis Cavalle
              Jakub Urban Jakub Urban
              Eguzki Astiz Lezaun Eguzki Astiz Lezaun
              Votes:
              2 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: