Skip to content

feat: publish the registration rules #256

Closed

Description

@uniqueg

Why?

The registry enforces rules for registrations that only its configuration knows. Clients can't read them, so UIs and the ELIXIR Cloud Components repeat them in their own settings, and forms accept input that the API then rejects with 400 or 409. The config even says so: "Clients (e.g., UIs) should offer the same values".

The rules:

What?

  • Publish these rules in one public, read-only place, e.g. a GET /service-info extension field or a small endpoint next to GET /services/types. Follow the GA4GH conventions for extensions, and document the choice.
  • No token needed; the values are not secret.
  • Docs: configuration and API pages; tell client authors to read the rules instead of configuring them.

Acceptance criteria

  • Clients can read the allowed environments, URL schemes, type mode and type limit from the API.
  • The values always match the configuration in effect.
  • Tests cover the defaults and changed settings.

Related: elixir-cloud-aai/cloud-components#453, elixir-cloud-aai/cloud-components#461 (forms that validate like the API).

Activity

  1. added
    priority: medium
    status: triage
    on Oct 26, 2026
  2. added
    type: feature
    workload: days
    status: in progress
    and removed
    status: triage
    on Oct 26, 2026
  3. added a commit that references this issue on Oct 26, 2026
    48059aa
  4. removed
    status: in progress
    on Oct 26, 2026
  5. added this to the v0.6.0 milestone on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: featureworkload: days

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions