Uploaded image for project: 'Red Hat Insights Engineering'
  1. Red Hat Insights Engineering
  2. RHINENG-6831

Enable API v2 or add the missing colums for downloading patch report

XMLWordPrintable

    • False
    • False
    • Hide

      None

      Show
      None

      ** Note that this is a public ticket, please refrain from adding any sensitive data. **

      As a customer who is determining the success of our patching process, I need an easy way to get a list of systems and all of the available updates, so that I can analyze this data according to my organizations patching standards.

      Acceptance Criteria:

      • The system export for patch systems includes three additional fields:
        • packages_applicable - the number of package updates that are available from the Red Hat CDN
        • packages_installable - the number of package updates that should be installed on the system based on content templates if managed from Insights OR based on content views if managed from Satellite and using the --build-packagecache check-in option
        • last_evaluated - the date/time of the last evaluation of the system

      ----- Original text from issue creation -----

      Issue:-
      ===========

      Customer is currently not able to download the patch report through V2 using curl. Reports can only be downloaded through V2 API UI.

      ------
      Navigate to https://console.redhat.com/docs/api/patch/v2#operations-default-exportSystems and click on the Try it out button. Scroll down and click on the Execute button.
      ------

      But the report generated by V2 API is same as the report generated by V3 version. The same columns are missing from the report which are required by you. The V2 call is redirected to the V3 endpoint through web UI. That is the reason, the reports which are generated by V2 API is same as V3.

      Below columns are missing from the report:-


      insights_id, last_evaluation and packages_updatable.


      Customer's requirement:-
      ======================

      Re-activate the V2 version until the above columns are added to the V3 version. Or Add the columns in V3 version as soon as possible if there is no way to re-activate the V2.

            rhn-engineering-mmraka Michael Mraka
            rhn-support-achadha Arvinder Singh Chadha
            Priya Kumari Priya Kumari
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: