Skip to content

Implements maven upstream registries table

What does this MR do and why?

Implements maven upstream registries table

Adds search by upstream name functionality

EE: true

What this MR does not do:

This MR does not implement:

  1. Used by registries column. This data is not available on the REST API & we will be moving this over GraphQL query Add group field to query all maven virtual regi... (!205320) once it is merged.
  2. Pagination of upstreams
  3. Clear cache button
  4. Delete upstream dropdown

These will be implemented in follow-up MRs.

References

Screenshots or screen recordings

Before After
Screenshot_2025-10-01_at_3.47.40_pm
Screenshot_2025-10-01_at_3.48.28_pm

OPTIONAL: For responsive UI changes, you can use the viewport size table below. Delete this table if not needed or delete rows that are not relevant to your changes.

Viewport size Before After
xs (<576px) Screenshot_2025-10-01_at_3.48.11_pm

How to set up and validate locally

  1. Ensure you have enabled the following feature flags
$ gdk rails console
Feature.enable(:maven_virtual_registry)
Feature.enable(:ui_for_virtual_registries)
  1. Go to top-level group
  2. Go to Deploy -> Virtual Registry
  3. Create a new maven registry
  4. Click on the Add upstream button
  5. Confirm that description related to using locally hosted repositories is added for Upstream URL and Password fields.
  6. The required fields are name, url. For the URL, you can use https://repo.maven.apache.org/maven2
  7. Click on Create upstream
  8. The newly created upstream should be visible on the list. Click on pencil icon to edit newly created upstream.
  9. Click on the Maven upstreams breadcrumb to see the page mentioned in the screenshot.
  10. Confirm that edit and show link work.
  11. Confirm that no results component is shown when search returns empty results.

MR acceptance checklist

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

Related to #556837

Edited by Rahul Chanila

Merge request reports

Loading