Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-7322

Implement a proxy to hit the Artifacthub.io API end point

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Undefined
    • None
    • None
    • UI
    • None
    • ODC Sprint 240

    Description

      Description

      Hitting the Artifacthub.io search endpoint fails sometimes due to a CORS error and the Version API endpoint always fails due to a CORS error. So, we need a Proxy to hit the Artifacthub. end point to get the data.

      Acceptance Criteria

      1. Create a proxy to hit the Artifacthub.io endpoint.

      Additional Details:

      Search endpoint: https://artifacthub.io/docs/api/#/Packages/searchPackages

      eg.: https://artifacthub.io/api/v1/packages/search?offset=0&limit=20&facets=false&ts_query_web=git&kind=7&deprecated=false&sort=relevance

      Version endpoint: https://artifacthub.io/docs/api/#/Packages/getTektonTaskVersionDetails

      eg: https://artifacthub.io/api/v1/packages/tekton-task/tekton-catalog-tasks/git-clone/0.9.0

       

      Attachments

        Activity

          People

            avik6028 Avik Kundu
            viraj-1 Vikram Raj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: