Update target.url dynamically in edge micro gateway with edge micro proxy

FYI,  Similar question I have asked in related to proxy only 

 

Pre-requisites - like setting up edgemicro proxy with microgateway is already done by 4mv4d.

My goal/requirement is below:
I want to call apigee edge proxy from edge microgateway and want to change the target.url dynamically. so let's say I will make a call like below examples:
call 1 -> v1/edgemicro_proxy_ms/ip/100.12.12.12

call 2 -> v1/edgemicro_proxy_ms/ip/101.13.13.13

call 2 -> v1/edgemicro_proxy_ms/ip/102.14.14.14

and then I want to pass all these 3 different ips to apigee edge proxy[which I have in edge cloud with free trial eval org version] and want to update target.url in edge proxy dynamically

So How can I achieve this ? If I need to use some plugin in microgateway then please redirect me there?
do we have any plugin available which will update target.url in edge proxy ?
or please let me know how can I achieve this with some js policy or any other mechanism.

  @dchiesa1 
@anilsr 

@anilsagar 

0 1 83
1 REPLY 1

see other answer in the duplicate question.