Add fullPath to CatalogResource graphl query
What does this MR do and why?
This MR adds the fullPath
in the GQL query to fix the bug found in #450914 (closed)
The fullPath
is then used in Catalog resource list item to replace the resourceId with fullPath instead of webPath
.
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.
Screenshots or screen recordings
NA
How to set up and validate locally
- Setup local gdk on a relative URL following this guide.
- Check for
/explore/catalog
for components. If you do have any catalog resources, you can create some by following step via rails console.
Seed the db with catalog resources using bundle exec rake "gitlab:seed:ci_catalog_resources[Flightjs, 12, true]". This adds 12 components.
- Then head to
/explore/catalog
. - The link for Resource name should work as expected and redirect to details page.
Related to #450914 (closed)
Edited by Rajendra Kadam