MusterRunner#
- class mobu.services.business.muster.MusterRunner(*, options, user, discovery_client, events, logger, flock)#
Bases:
BusinessCheck ingresses and authentication against the Muster server.
The Muster server is a small FastAPI service deployed as a separate Phalanx application. It accepts requests behind a variety of different authentication rules: unauthenticated, authenticated, with delegated tokens, with different Gafaelfawr options, and so forth. It then does some server-side checks and returns output that can be checked against mobu’s expectations.
- Parameters:
options (
MusterOptions) – Configuration options for the business.user (
AuthenticatedUser) – User with their authentication token to use to run the business.discovery_client (
DiscoveryClient) – Service discovery client.events (
Events) – Event publishers.logger (
BoundLogger) – Logger to use to report the results of business.flock (
Optional[str]) – Flock that is running this business, if it is running in a flock.
Methods Summary
execute()Execute the core of each business loop.
startup()Run before the start of the first iteration and then not again.
Methods Documentation