reactioncommerce / federated-gateway

An access aware federated GraphQL API gateway for the Reaction Commerce ecosystem
Apache License 2.0
6 stars 3 forks source link

Starting fedgate with and without services online #27

Open rosshadden opened 4 years ago

rosshadden commented 4 years ago

Fedgate needs to be fault tolerant and work even if its associated services are not online.

Right now fedgate expects associated services to be running by the time it starts up. I had envisioned more of a fluid workflow that accepts services into the fold as they come online. Should this not be possible we need to implement a hard stop upon startup, or a locking process that waits until all associated services are online.

Whatever we do should also handle services going offline as well, even if they were online when it started.