Closed OlgaMaciaszek closed 11 months ago
Merge after: https://github.com/spring-cloud/spring-cloud-commons/pull/1266 is merged. - done.
As discussed, maybe worth trying to use an API invocation in a bean implementing Lifecycle (example) or SmartLifecycle (example) instead of an HTTP request.
Lifecycle
SmartLifecycle
Yes, that's what I'm going to do now, but I thought I'd add a separate sample for that.
Unless we end up setting it as the only behaviour (checking this), then I'll just modify this sample.
Merge after: https://github.com/spring-cloud/spring-cloud-commons/pull/1266 is merged. - done.