Uploaded image for project: 'Red Hat Advanced Cluster Security'
  1. Red Hat Advanced Cluster Security
  2. ROX-31173

Eliminate the query time conversion from EmbeddedScan objects to Image objects

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 4.9.0, 4.10.0, 4.8.5
    • None
    • None
    • None
    • Future Sustainability
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • The deprecated and unsupported graphql query of image->scan->components and image->scan->components->vulns has been eliminated in favor of image->scan->imageComponents and image->scan->imageComponents->imageVulnerabilities
    • Yes
    • Rox Sprint 4.10A - Global

      We convert between EmbeddedScanComponent and ImageComponent in graphql forcing us to be able to deterministically determine the ID of ImageComponentV2.  This is not really necessary and a vestige of VM1.  We can provide everything we need using ImageComponentV2 directly which would allow us to no longer hash the component to get the ID.  This would be a significant savings on memory and speed.

              rh-ee-dashrews David Shrewsberry
              rh-ee-dashrews David Shrewsberry
              ACS Core Workflows
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: