We are using data power web service proxy/multi protocol gateway. As part backend migration, we are building a parallel data pipeline. we thought achieve this by forking all the requests at data power and send them to a different destination. Does data power supports sending parallel requests to different destination apart from original backend end? Please help me.
Answer by Aidan Harbison (1462) | Feb 05 at 07:54 AM
Yes, DataPower does support this. You can configure multiple destinations in the results action of a request rule in your processing policy to achieve this.
You will need to enable Multi-Way Results Mode and configure the relevant fields. For the destination, specify a nodeset following the results element:
Hope this helps - let me know if you have any other questions!
Thanks for the quick update. I explained my requirement and fitting your solution to my usecase.
Answer by Dirisala GopalaRao (1) | Feb 05 at 10:59 PM
Check the diagram for my use case. I want my two backends to have the same data (Backend1 and Backend2 have same endpoints.). I gone through "Results actions". I am unable to fit my use-case. I will provide the backend1 while create data power proxy (webservice/mpgw). Using results actions, I will provide the backend2 base url in target. and then method type and endpoint (suffix) should be inherited from proxy/backend1. Each request to the proxy endpoint, send the requests to backend1 and backend2.
client ---------> DP proxy -------------> backend1 (api) -----------> db1 | fork | -------------------------> backend2 (api)-----------> db2
Answer by Dirisala GopalaRao (1) | Feb 06 at 11:21 PM
Please check the below image for my requirement.