-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new version of MPI mediator and update the openhim channels
- Loading branch information
1 parent
cb8acc5
commit 2047568
Showing
2 changed files
with
168 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
{ | ||
"Users": [ | ||
{ | ||
"groups": [ | ||
"admin" | ||
], | ||
"firstname": "Super", | ||
"surname": "User", | ||
"email": "[email protected]", | ||
"provider": "token", | ||
"groups": [ | ||
"admin" | ||
], | ||
"passwordAlgorithm": "sha512", | ||
"passwordHash": "ea3824f17cf1379eb118a36bc7c8cf0f45712e2af7748567fca5313dec6fa66d61064e82a5e5cb88e998486ee3c7d0dac235bbeda8c341d6edc1c77406be2ab6", | ||
"passwordSalt": "d4f622c0404f09bd959bfb263efa3452", | ||
|
@@ -18,136 +19,235 @@ | |
], | ||
"Clients": [ | ||
{ | ||
"clientID": "test", | ||
"name": "Test Client", | ||
"roles": [ | ||
"instant" | ||
], | ||
"customTokenID": "test", | ||
"clientID": "test", | ||
"name": "Test Client" | ||
"customTokenID": "test" | ||
} | ||
], | ||
"Channels": [ | ||
{ | ||
"name": "JeMPI Patient endpoints in fhir", | ||
"description": "JeMPI Patient endpoints in fhir format", | ||
"urlPattern": "^/fhir/Patient.*$", | ||
"methods": [ | ||
"GET", | ||
"POST" | ||
"POST", | ||
"DELETE", | ||
"PUT", | ||
"OPTIONS", | ||
"HEAD", | ||
"TRACE", | ||
"CONNECT", | ||
"PATCH" | ||
], | ||
"type": "http", | ||
"tcpPort": null, | ||
"tcpHost": null, | ||
"pollingSchedule": null, | ||
"requestBody": true, | ||
"responseBody": true, | ||
"allow": [ | ||
"instant" | ||
"test" | ||
], | ||
"whitelist": [], | ||
"authType": "private", | ||
"matchContentTypes": [], | ||
"properties": [], | ||
"txViewAcl": [], | ||
"txViewFullAcl": [], | ||
"txRerunAcl": [], | ||
"status": "enabled", | ||
"rewriteUrls": false, | ||
"addAutoRewriteRules": true, | ||
"autoRetryEnabled": false, | ||
"autoRetryPeriodMinutes": 60, | ||
"routes": [ | ||
{ | ||
"name": "Generic Mapping Mediator", | ||
"type": "http", | ||
"status": "enabled", | ||
"forwardAuthHeader": false, | ||
"name": "MPI Mediator", | ||
"secured": false, | ||
"host": "mpi-mediator", | ||
"port": 3000, | ||
"host": "openhim-mapping-mediator", | ||
"port": 3003, | ||
"path": "", | ||
"pathTransform": "", | ||
"primary": true, | ||
"username": "", | ||
"password": "" | ||
"password": "", | ||
"forwardAuthHeader": true, | ||
"waitPrimaryResponse": false, | ||
"statusCodesCheck": "2**" | ||
} | ||
], | ||
"requestBody": true, | ||
"responseBody": true, | ||
"rewriteUrlsConfig": [], | ||
"name": "MPI Orchestrations - Create/Read operations for patients and their clinical data", | ||
"urlPattern": "^/fhir.*$", | ||
"priority": null, | ||
"matchContentTypes": [], | ||
"matchContentRegex": null, | ||
"matchContentXpath": null, | ||
"matchContentValue": null, | ||
"matchContentJson": null, | ||
"pollingSchedule": null, | ||
"tcpHost": null, | ||
"tcpPort": null, | ||
"matchContentValue": null, | ||
"properties": [], | ||
"txViewAcl": [], | ||
"txViewFullAcl": [], | ||
"txRerunAcl": [], | ||
"alerts": [], | ||
"status": "disabled", | ||
"rewriteUrls": false, | ||
"addAutoRewriteRules": true, | ||
"rewriteUrlsConfig": [], | ||
"autoRetryEnabled": false, | ||
"autoRetryPeriodMinutes": 60, | ||
"updatedBy": { | ||
"id": "63cd5092c962240014b87c59", | ||
"id": "65d47e98223a0672c3c9808b", | ||
"name": "Super User" | ||
}, | ||
"alerts": [], | ||
"description": "" | ||
} | ||
}, | ||
{ | ||
"name": "MPI Orchestrations - Create/Read operations for patients and their clinical data", | ||
"description": "", | ||
"urlPattern": "^/fhir.*$", | ||
"methods": [ | ||
"GET", | ||
"POST" | ||
], | ||
"type": "http", | ||
"priority": null, | ||
"tcpPort": null, | ||
"tcpHost": null, | ||
"pollingSchedule": null, | ||
"requestBody": true, | ||
"responseBody": true, | ||
"allow": [ | ||
"instant" | ||
], | ||
"whitelist": [], | ||
"authType": "private", | ||
"routes": [ | ||
{ | ||
"name": "MPI Mediator", | ||
"type": "http", | ||
"status": "enabled", | ||
"secured": false, | ||
"host": "mpi-mediator", | ||
"port": 3000, | ||
"path": "", | ||
"pathTransform": "", | ||
"primary": true, | ||
"username": "", | ||
"password": "", | ||
"forwardAuthHeader": false | ||
} | ||
], | ||
"matchContentTypes": [], | ||
"matchContentRegex": null, | ||
"matchContentXpath": null, | ||
"matchContentJson": null, | ||
"matchContentValue": null, | ||
"properties": [], | ||
"txViewAcl": [], | ||
"txViewFullAcl": [], | ||
"txRerunAcl": [], | ||
"alerts": [], | ||
"status": "enabled", | ||
"rewriteUrls": false, | ||
"addAutoRewriteRules": true, | ||
"rewriteUrlsConfig": [], | ||
"autoRetryEnabled": false, | ||
"autoRetryPeriodMinutes": 60, | ||
"updatedBy": { | ||
"id": "63cd5092c962240014b87c59", | ||
"id": "65d47e98223a0672c3c9808b", | ||
"name": "Super User" | ||
}, | ||
} | ||
}, | ||
{ | ||
"name": "MPI Orchestration for fhir bundles - Asynchronous flow", | ||
"urlPattern": "^/async/fhir/?$", | ||
"methods": [ | ||
"POST" | ||
], | ||
"type": "http", | ||
"priority": null, | ||
"tcpPort": null, | ||
"tcpHost": null, | ||
"pollingSchedule": null, | ||
"requestBody": true, | ||
"responseBody": true, | ||
"allow": [ | ||
"instant" | ||
], | ||
"whitelist": [], | ||
"authType": "private", | ||
"routes": [ | ||
{ | ||
"name": "MPI Mediator", | ||
"type": "http", | ||
"status": "enabled", | ||
"forwardAuthHeader": false, | ||
"name": "MPI Mediator", | ||
"secured": false, | ||
"host": "mpi-mediator", | ||
"port": 3000, | ||
"path": "", | ||
"pathTransform": "", | ||
"primary": true, | ||
"username": "", | ||
"password": "" | ||
"password": "", | ||
"forwardAuthHeader": false | ||
} | ||
], | ||
"requestBody": true, | ||
"responseBody": true, | ||
"rewriteUrlsConfig": [], | ||
"urlPattern": "^/async/fhir/?$", | ||
"priority": null, | ||
"matchContentTypes": [], | ||
"matchContentRegex": null, | ||
"matchContentXpath": null, | ||
"matchContentValue": null, | ||
"matchContentJson": null, | ||
"pollingSchedule": null, | ||
"tcpHost": null, | ||
"tcpPort": null, | ||
"matchContentValue": null, | ||
"properties": [], | ||
"txViewAcl": [], | ||
"txViewFullAcl": [], | ||
"txRerunAcl": [], | ||
"alerts": [], | ||
"name": "MPI Orchestration for fhir bundles - Asynchronous flow" | ||
"status": "enabled", | ||
"rewriteUrls": false, | ||
"addAutoRewriteRules": true, | ||
"rewriteUrlsConfig": [], | ||
"autoRetryEnabled": false, | ||
"autoRetryPeriodMinutes": 60, | ||
"updatedBy": { | ||
"id": "65d47e98223a0672c3c9808b", | ||
"name": "Super User" | ||
} | ||
} | ||
], | ||
"Mediators": [ | ||
{ | ||
"urn": "urn:mediator:generic_mapper", | ||
"version": "3.2.0", | ||
"name": "Mapping Mediator", | ||
"description": "Generic OpenHIM Mapping Mediator", | ||
"endpoints": [ | ||
{ | ||
"name": "Generic Mapping Mediator", | ||
"type": "http", | ||
"status": "enabled", | ||
"host": "localhost", | ||
"port": 3003, | ||
"forwardAuthHeader": false | ||
} | ||
], | ||
"defaultChannelConfig": [], | ||
"configDefs": [], | ||
"_lastHeartbeat": "2024-02-22T16:09:57.075Z", | ||
"_uptime": 101055.747901311 | ||
}, | ||
{ | ||
"urn": "urn:mediator:mpi-mediator", | ||
"version": "1.0.0", | ||
"name": "MPI mediator", | ||
"description": "A mediator handling interactions between the OpenHIM Core service, Sante MPI, Hapi-FHIR, and Kafka", | ||
"endpoints": [ | ||
{ | ||
"name": "MPI Endpoint", | ||
"type": "http", | ||
"status": "enabled", | ||
"host": "mpi-mediator", | ||
"port": 3000, | ||
"path": "/fhir", | ||
"primary": true, | ||
"forwardAuthHeader": false | ||
} | ||
], | ||
"defaultChannelConfig": [ | ||
{ | ||
"name": "MPI mediator", | ||
"urlPattern": "^(/async)?/fhir.*$", | ||
"methods": [ | ||
"POST", | ||
"GET" | ||
|
@@ -158,48 +258,34 @@ | |
], | ||
"whitelist": [], | ||
"authType": "private", | ||
"matchContentTypes": [], | ||
"properties": [], | ||
"txViewAcl": [], | ||
"txViewFullAcl": [], | ||
"txRerunAcl": [], | ||
"status": "enabled", | ||
"rewriteUrls": false, | ||
"addAutoRewriteRules": true, | ||
"autoRetryEnabled": false, | ||
"autoRetryPeriodMinutes": 60, | ||
"name": "MPI mediator", | ||
"urlPattern": "^(/async)?/fhir.*$", | ||
"routes": [ | ||
{ | ||
"name": "MPI Endpoint", | ||
"type": "http", | ||
"status": "enabled", | ||
"forwardAuthHeader": false, | ||
"name": "MPI Endpoint", | ||
"host": "mpi-mediator", | ||
"port": 3000, | ||
"primary": true | ||
"primary": true, | ||
"forwardAuthHeader": false | ||
} | ||
], | ||
"matchContentTypes": [], | ||
"properties": [], | ||
"txViewAcl": [], | ||
"txViewFullAcl": [], | ||
"txRerunAcl": [], | ||
"alerts": [], | ||
"rewriteUrlsConfig": [] | ||
} | ||
], | ||
"endpoints": [ | ||
{ | ||
"type": "http", | ||
"status": "enabled", | ||
"forwardAuthHeader": false, | ||
"name": "MPI Endpoint", | ||
"host": "mpi-mediator", | ||
"path": "/fhir", | ||
"port": 3000, | ||
"primary": true | ||
"rewriteUrls": false, | ||
"addAutoRewriteRules": true, | ||
"rewriteUrlsConfig": [], | ||
"autoRetryEnabled": false, | ||
"autoRetryPeriodMinutes": 60 | ||
} | ||
], | ||
"configDefs": [], | ||
"_lastHeartbeat": "2023-01-23T09:40:21.368Z", | ||
"_uptime": 52784.4956787 | ||
"_lastHeartbeat": "2024-02-22T16:09:55.511Z", | ||
"_uptime": 4490.494161057 | ||
} | ||
], | ||
"ContactGroups": [] | ||
|