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 registry doesn't list itself among its services. Deployments may want it to, so that clients find it like any other service, but registering it by hand copies its service info, and the copy goes stale.
Proposal
An admin-only operation to add the registry to its own list of services, or to remove it.
Add: creates the entry from the service info and server.public_url plus the API's base path. It adds the entry's service type if it's missing, and refuses with a clear error if the registry's environment isn't allowed (see feat: check the environment of the service info #346 on checking it at startup).
Remove: removes the entry. It also removes the service type, unless other services use it.
Atomic: one backend operation, as separate client calls could leave a service without its type, or the reverse.
No personal owner: the entry doesn't belong to the admin who added it, and counts as verified.
Stays current: while listed, the entry is refreshed at startup, so that its version and description follow the service info.
State: the API tells clients whether the registry is listed, for the UI's button.
To do
Design the endpoint, and check it against the service registry specification and the existing rules for renaming and service types.
Implement it, with tests and docs.
Consider the same for trs-filer afterwards, which follows the registry's design.
Activity