at my job, we're currently building several web services, that can be accessed through URL capabilities. Some of those are kept in custom fields in our ERP, like in the user object when that user has some authority to trigger something.
I realized that this is a problem when I dump the production DB to inject it into my staging ERP, if the URLs point to the production services.
I guess one solution would be that all capabilites are in the form http://service:9876/IUSmPnd6x8J-cE_bLgrG6w
. Then I can have "service" in my /etc/hosts and point wherever I want.
Is this something others have encountered? Any advice?