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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

      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

       

              avik6028 Avik Kundu
              viraj-1 Vikram Raj
              Archiver:
              ranumula@redhat.com Raju Anumula

                Created:
                Updated:
                Resolved:
                Archived: