Detector Microservices Service Registry itk-demo-registry
This is the FastAPI server for the DeMi ServiceRegistry.
The itk-demo-registry microservice provides a FastAPI interface to a key-value store. It can set one or multiple key/value pairs or read one or multiple key/value pairs or watch changes of one or multiple key.
Setup
Instructions on the setup of the itk-demo-registry container can be found under quick setup.
How to use
The bare itk-demo-registry can be used via the Swagger UI, which allows the user to visualize and interact with the API's resources without having any of the implementation logic in place.
This UI can be accessed at the /api/docs endpoint, for example if the service registry started on localhost port 5111:
http://hostname:5111/api/docs
Now all the tools of the ServiceRegistry-API can be easily used as an HTTP-API.
All existing key/value pairs will be returned as an HTML, if the Swagger UI is accessed without any additional path-suffix. For the example IP address of earlier the URL would look like this:
http://hostname:5111/