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

Update graphQL resolvers to use image V2 datastore, search fields and search categories

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • 4.9.0
    • None
    • None
    • None
    • Future Sustainability
    • False
    • Hide

      None

      Show
      None
    • False
    • Rox Sprint 4.9E - Global, Rox Sprint 4.9F - Global

      The graqlQL resolvers in cental/graphql/resolvers/ that use image loader, datastore and search fields should apply following changes when feature is enabled

      • Use ImageV2 loader or imageV2 datastore
      • GetImageId() -> GetImageIdV2()
      • search.ImageSHA -> search.ImageID
      • v1.SearchCategory_IMAGES -> v1.SearchCategory_IMAGES_v2

      Following graphQL files will change (maybe incomplete):

      • image_vulnerabilities.go (type imageCVEV2Resolver)
      • image_vulnerabilities_utilities.go (type imageCVEV2Resolver)
      • image_cve_core.go
      • image_components.go (type imageComponentV2Resolver)
      • image_component_utilities.go (type imageComponentV2Resolver)
      • search.go
      • components_v1.go
      • vulnerabilities_v1.go
      • vulnerability_requests.go
      • deployments.go
        • container.GetImage().GetId() -> container.GetImage().GetIdV2()

              rh-ee-aheflin AJ Heflin
              rh-ee-chsheth Charmik Sheth
              ACS Core Workflows
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: