Hiding original Url

Viewed 25

I have a micro service B which have Url as url1

I am consuming it from micro service A using rest template

in the code we have something like this new restTemplate("url1")

Instead of directly writing the original url1 , i need to have some dummy url (url_dummy) which should be directed to url1

Approach similar to Domain-Name-System (DNS)

Techstack : spring,java

0 Answers
Related