Acquire.Registry._registry module¶
-
class
Registry[source]¶ Bases:
objectThis class holds the registry of all services registered by this service. Registries provided trusted actors who can supply public keys, URLs, and UIDs for all of the different services in the system.
-
challenge_service(service)[source]¶ Send a challenge to the passed service, returning the actual service returned. This will only pass if our copy of the service matches us with the copy returned from the actual service. This verifies that there is a real service sitting at that URL, and that we have the right keys and certs
-
get_registry_uid(service_uid)[source]¶ Return the UID of the registry that initially registered the service with UID ‘service_uid’.
-
get_service(service_uid=None, service_url=None)[source]¶ Load and return the service with specified url or uid from the registry. This will consult with other registry services to find the matching service
-
get_service_key(service_uid=None, service_url=None)[source]¶ Return the key for the passed service in the object store
-