jembi / openhim-mediator-mapping

An OpenHIM mediator for mapping incoming content to a different format
https://jembi.github.io/openhim-mediator-mapping/
MIT License
3 stars 6 forks source link

OpenHIM Orchestrations for chained endpoints #87

Closed BMartinos closed 3 years ago

BMartinos commented 4 years ago

When an incoming transaction contains the OpenHIM transaction ID we add various orchestrations to the main response back to OpenHIM. This all works fine when only executing a single endpoint but when creating more complex endpoints that call other internal endpoints, we lose those endpoint orchestrations

This is either because we are not forwarding the OpenHIM transaction ID on to the next internal endpoint,

Or

We are not interpreting the orchestrations on the internal request and adding them onto the main endpoint request

MattyJ007 commented 3 years ago

Fixed in v2! 😄