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

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -