SRM Refactor: Zones endpoint

Summary

Adds the first implementation of SRM’s internal zone listing endpoint for OEG edge-cloud-zone reads.

Changes

  • Added GET /internal/zones.
  • Added ListZonesUseCase.
  • Added ZoneRepository.list_resource_zones(state, region).
  • Implemented SQL filtering for:
    • state via zone.state
    • region via zone.metadata.location.region
  • Added zone_provider_name setting with default oop-provider and non-empty validation as defined in the specs.
  • Ensured zone responses include metadata.provider, using the configured provider name only when missing/null.
  • Added fake repository support for the new topology read method.
  • Added focused API, config, and repository coverage.

Merge request reports

Loading