cowbird.services.service_factory

Module Contents

Classes

ServiceFactory

Create service instance using service name.

Attributes

LOGGER

VALID_SERVICES

cowbird.services.service_factory.LOGGER[source]
cowbird.services.service_factory.VALID_SERVICES = ['Catalog', 'Geoserver', 'Magpie', 'Nginx', 'Thredds', 'FileSystem'][source]
class cowbird.services.service_factory.ServiceFactory[source]

Create service instance using service name.

get_service(self: ServiceFactory, name: str)cowbird.services.service.Service[source]

Instantiates a Service implementation using its name if it doesn’t exist or else returns the existing one from cache.

get_active_services(self: ServiceFactory)List[cowbird.services.service.Service][source]

Return a sorted list by priority of Service implementation activated in the config.