Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-28644

[PDF-Gen] Poll API for PDFs status and download

XMLWordPrintable

    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • No
    • Plat-Ex Services Sprint 11, Plat-Ex Services Sprint 12, Plat-Ex Services Sprint 13, Plat-Ex Services Sprint 14, Plat-Ex Services Sprint 15, Plat-Ex Services Sprint 16, Plat-Ex Services Sprint 17, Plat-Ex Services Sprint 18, Plat-Ex Services Q2 Tech Debt, Plat-Ex Services Sprint 19, Plat-Ex Services Sprint 20, Plat-Ex Services Sprint 21

      Enable chrome to poll the API to handle the pdf generation lifecycle. When a PDF is requested through the `/v2/create` endpoint, an ID is returned. Using that ID, the `/v2/status/:ID` endpoint can be used to get a json object containing the status of the generation. When the status of the object is 'Generated', you can fetch the full rendered PDF with the same ID at the `/v2/download/:ID` endpoint.

       

      AC:
      Chrome can fetch a rendered PDF from the API
      Chrome can do smart enough polling on the status object

              mmarosi123 Martin Marosi
              bholifie Blake Holifield (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: