Skip to content

Remove projectPath argument from ciCatalogResourcesResolver

Kasia Misirli requested to merge 429636/Remove_projectPath into master

What does this MR do and why?

Addressing issue #429636 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

Following MR introduced the ability to find components of a namespace by a project path of a project that belongs to the namespace.\

  • To verify this behaviour run below query (on http://127.0.0.1:3000/-/graphql-explorer) on the master branch with the accurate project path (project that is a ci catalog)
query {
  ciCatalogResources(projectPath: "<project_path>") {
    count
  
    nodes {
      description
      icon
      name
    }
  }
}

Screenshot_2024-01-30_at_10.56.08

In this MR, I am removing the ability to find components via the project path.

  • To verify, checkout my branch and run the same query as above. Screenshot_2024-01-30_at_10.54.54
Edited by Kasia Misirli

Merge request reports