Skip to content

feat(cloud-registry): pick service types from a list #456

Closed

Description

@uniqueg

Why?

ecc-client-elixir-cloud-registry-service-create asks for the service type as three free-text fields ("Type Group", "Type Artifact", "Type Version"). Typos create new types, e.g. TES vs tes or 1.1 vs 1.1.0. Since elixir-cloud-aai/cloud-registry#235, registries store service types, and in controlled mode only admins may add new ones.

What?

  • Offer the type as one choice from GET /services/types, labelled group · artifact · version (e.g. org.ga4gh · tes · 1.1.0).
  • Add a property, e.g. allow-new-type (default true for compatibility). When it's set, the list ends with "Add new service type", which shows the three fields, all required. Apps set it from GET /me (may_add_service_types).
  • Without allow-new-type, only listed types can be chosen.

Acceptance criteria

  • Users pick a complete service type from a list and can add a new one only when the app allows it.

Needed by elixir-cloud-aai/cloud-registry-ui (service type picker).

Activity

  1. added
    priority: high
    type: feature
    workload: hours
    on Oct 25, 2026
  2. added
    status: in progress
    and removed 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: highstatus: in progresstype: featureworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions