I followed this page: https://spring.io/guides/gs/service-registration-and-discovery/
and so far no problem. I can register Spring services which are automatically discovered.
I need now to discover services accessible on a specific domain (to distinguish between TEST and PROD, for example)
This means I'll have 2 discovery services which will run. One should fetch services only on myTestDomain.domain.ch, and the other one only on myProdDomain.domain.ch.
Anyone has an idea how to do the distinction ?