Third-party services can be registered in the Service Catalog using the registrar utility and a configuration file described in this section.
The configuration resembles the properties of the Service object described in the Service Catalog API.
The registrar is provided in the binary distribution here.
It accepts the following CLI arguments:
conf- path to the JSON configuration file for the service
endpoint- the URL of the Service Catalog
authProvider- authentication provider name
authProviderURL- authentication provider URL
authUser- authentication username
authPass- authentication password
serviceID- authentication service ID
Given the Service config file and the endpoint of the Service Catalog, the registrar utility registers the Service in the catalog and keeps updating the registration according to the configured TTL.
Given the example configuration file shown above in a file named
mqtt-broker.json in current directory, the described service can be registered as follows: