You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(cloud-registry): pick service types from a list #456
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