Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-5833

Package recommendations are differentiated for RHEL version

    • Icon: Epic Epic
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • Package recommendations are differentiated for RHEL version
    • Done
    • image-builder-1
    • 1
    • 0% To Do, 0% In Progress, 100% Done
    • False

      The model responsible for package recommendations can now make differentiated recommendations for major RHEL releases.

       

      When image-builder-crc makes a request to the package recommendations API, it should include a field with the RHEL major release (e.g. “rhel-8”, “rhel-9”, “rhel-10”). The request could look something like this:

       

      POST /experimental/recommendations

      { "packages": [ "string" ], "recommendedPackages": 3, "distribution": "rhel-9" }

      (https://console.redhat.com/docs/api/image-builder/v1#operations-recommendations-recommendPackage)

       

       

      The Hydra team (responsible for the model) would like to collect analytics on the model used for recommendations using Amplitude in image-builder-frontend. To facilitate this, they have added a “modelVersion” field to the RecommendationsResponse.

       

      The modelVersion should be added to the response from the POST /experimental/recommendations endpoint. The response from the package recommendations API will look something like this:

       

       

      {
        “packages”: [
          “perl-Module”,
          “perl-Params”,
          “perl-Module-Corelist”
        ],
      “modelVersion”: “rpm_rex_42”
      }
      

       

       

              rhn-engineering-lzapletal Lukáš Zapletal
              lgarfiel@redhat.com Lucas Garfield
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: