def _setup_factoriest(self): self._factory.add(ClientFacadeFactory()) self._factory.add(ServiceFacadeFactory()) self._factory.add(DefaultRpcFactory())
def __init__(self): super(BeaconsProcess, self).__init__('beacons', 'Beacons microservice') self._factories.add(BeaconsServiceFactory()) self._factories.add(DefaultRpcFactory())
def __init__(self): super(HelloWorldProcess, self).__init__('hello-world', 'HelloWorld microservice') self._config_path = './config.yaml' self._factories.add(HelloWorldServiceFactory()) self._factories.add(DefaultRpcFactory())