Open redorff opened 5 years ago
Update: My idea is to document, how to implement this using project specific code.
The implementation for a broker that may provide multiple services in one would require a status response that can not be covered with a simple boolean.
Open for discussions :)
In critical environments, monitoring is a requirement.
So this service broker framework could offer an unauthenticated route like
/status
.This route would be bound to a
status()
method in theServiceBroker
class. By default, the status method would always return "OK".Then, any developer using the framework could inherit or overload this status method for his own needs.