Te Whatu Ora FHIR Mockplus System Implementation Guide
0.0.1 - draft

Te Whatu Ora FHIR Mockplus System Implementation Guide - Local Development build (v0.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Collection

Each application (client id/secret) has it's own tenant. All REST access to the client tenant is via the Digital Services Hub Connector Plane.

Mock+ Multi-tenant SolutionMock+FHIR WorksAPI GatewayTenant 1Tenant 2Tenant 3ConsumerInternetIngress ControlConnector Plane

Run this collection to

  • reset the tenant
  • create the developer dashboard
  • probe public metadata
  • authenticate and retrieve data from each API

MockPlus-Smoke-Test.postman_collection

Postman Configuration

This environment contains non-sensitive variables only. Set the following global variables with your application credentials

  • KC_CLIENT_ID
  • KC_CLIENT_SECRET

Mockplus.postman_environment

alt text

Newman Collection Run

To execute the run using newman, set your credentials as session variables.

newman run MockPlus-Smoke-Test.postman_collection -e Mockplus.postman_environment --global-var "KC_CLIENT_ID=$KC_CLIENT_ID" --global-var "KC_CLIENT_SECRET=$KC_CLIENT_SECRET"

alt text