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
The GA4GH service-info spec defines environment as a free string: it suggests prod, test, dev and staging, but advises rather than enforces them. Registries can't settle on a vocabulary, so typos (Prod, production) split filters, and the UI's create form hard-codes the four suggestions.
What?
A config option, e.g. service_environments, listing the allowed values; the default is [prod, test, dev, staging], the spec's suggestions.
Writes with another value get 400 with a clear detail. Existing services are left as they are, and validated only when they're next written.
An empty list allows any value (today's behaviour).
Document it next to the URL scheme options, and say UIs must mirror it.
Acceptance criteria
Admins configure the allowed environments in the app config; the registry rejects other values on write.
Activity