Spring Service Discovery Restriction -


i followed page: https://spring.io/guides/gs/service-registration-and-discovery/

and far no problem. can register spring services automatically discovered.

i need discover services accessible on specific domain (to distinguish between test , prod, example)

this means i'll have 2 discovery services run. 1 should fetch services on mytestdomain.domain.ch, , other 1 on myproddomain.domain.ch.

anyone has idea how distinction ?

you should use different profiles define different eureka zone url test/prod environment. package/run app profile.


Comments

Popular posts from this blog

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -