Skip to content

Releases: jembi/openhim-mediator-mapping

v3.3.0

31 Oct 06:18
3d9304e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.2.1...v3.3.0

v3.2.1

10 Oct 13:28
d8d716e
Compare
Choose a tag to compare

What's Changed

  • Support 'fhir+json' and 'openhim+json' content types for input and output by @bradsawadye in #206
  • Tb 183 fix bug in reading lookup requests' responses by @bradsawadye in #208

Full Changelog: v3.1.0...v3.2.1

v3.1.0

17 Jul 12:10
c9cef59
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.0...v3.1.0

v3.0.0

10 Aug 16:24
49f7678
Compare
Choose a tag to compare

New Features

Data to be mapped can now be extracted from the request headers and the response headers of look up requests. The response body of a look up request is now nested. Its now accessible through the data property. The lookupRequests structure has changed as shown below

// Before
{
  "lookupRequests": {
     "<id>": "<response body>"
  }
}

// Now
{
  "lookupRequests": {
     "<id>": {
         "data": "<response body>",
         "headers": "<response headers>"
     }
  }
}

The request headers are available under the property requestHeaders for mapping

v2.3.1

23 Apr 09:58
Compare
Choose a tag to compare

Fix Multiple Response Request Bug 🐛

  • Ensure each response request sends through a copy of the data

v2.3.0

11 Mar 09:34
86728d1
Compare
Choose a tag to compare

Dependency Updates

  • Node Mapper module has been updated to include a new transform - passthrough

v2.2.2

08 Feb 07:23
Compare
Choose a tag to compare

Feature

This patch adds logic for parsing the lookup requests responses. This enables easy manipulation of the data in the mediator.

v2.2.0

19 Oct 14:23
4966f62
Compare
Choose a tag to compare

Additional Feature (State management status code filtering)

Feature added was to cater for HTTP status codes in the states collection, and the user configuration to determine the range of status codes to do the lookup on for the last valid state record.
This is very useful if you require a state value to be used within the next request, but only values from the last successful state should be used. This can then be configured to ignore any failure requests and only make use of the last successful request (as defined by the implementer for the endpoint state management)

v2.1.1

12 Oct 14:09
25b973d
Compare
Choose a tag to compare

Missing feature addition

This patch includes the missing feature added in 2.1.0
This includes the feature to allow externalRequests for responses to make use of an Array of data items and individually send them to the downstream destination

v2.1.0

12 Oct 14:10
4504000
Compare
Choose a tag to compare

New features

  • Support for interpretation of an incoming array within a payload, and the sending of each individual array item as an individual request via the externalRequest feature.
  • Storing of empty objects in the database to enable the endpoint state functionality to work.