Skip to content

Commit

Permalink
Create openhim channel for interacting with jempi
Browse files Browse the repository at this point in the history
  • Loading branch information
bradsawadye committed Oct 30, 2023
1 parent 4fb30cd commit 082a5e7
Showing 1 changed file with 30 additions and 135 deletions.
165 changes: 30 additions & 135 deletions client-registry-jempi/importer/openhim/openhim-import.json
Original file line number Diff line number Diff line change
@@ -1,174 +1,69 @@
{
"Channels": [
{
"name": "JeMPI Patient endpoints in fhir",
"description": "JeMPI Patient endpoints in fhir format",
"urlPattern": "^/fhir/Patient.*$",
"methods": [
"POST"
"GET",
"POST",
"DELETE",
"PUT",
"OPTIONS",
"HEAD",
"TRACE",
"CONNECT",
"PATCH"
],
"type": "http",
"allow": [
"instant"
],
"whitelist": [],
"authType": "private",
"matchContentTypes": [],
"properties": [],
"txViewAcl": [],
"txViewFullAcl": [],
"txRerunAcl": [],
"status": "enabled",
"rewriteUrls": false,
"addAutoRewriteRules": true,
"autoRetryEnabled": false,
"autoRetryPeriodMinutes": 60,
"routes": [
{
"type": "http",
"status": "enabled",
"forwardAuthHeader": false,
"name": "JeMPI Sync Receiver",
"secured": false,
"host": "jempi-sync-receiver",
"port": 50000,
"path": "/fhir",
"pathTransform": "",
"primary": true,
"username": "",
"password": ""
}
],
"tcpPort": null,
"tcpHost": null,
"pollingSchedule": null,
"requestBody": true,
"responseBody": true,
"rewriteUrlsConfig": [],
"name": "JeMPI Sync Receiver",
"urlPattern": "^/jempi/fhir.*$",
"matchContentRegex": null,
"matchContentXpath": null,
"matchContentValue": null,
"matchContentJson": null,
"pollingSchedule": null,
"tcpHost": null,
"tcpPort": null,
"updatedBy": {
"id": "638a089bed7a51001325406f",
"name": "Super User"
},
"alerts": []
},
{
"methods": [
"POST"
],
"type": "http",
"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": "JeMPI Async Receiver",
"secured": false,
"host": "jempi-async-receiver",
"port": 50000,
"path": "/fhir",
"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": "JeMPI Async Receiver",
"urlPattern": "^/jempi/async/fhir.*$",
"matchContentTypes": [],
"matchContentRegex": null,
"matchContentXpath": null,
"matchContentValue": null,
"matchContentJson": null,
"pollingSchedule": null,
"tcpHost": null,
"tcpPort": null,
"updatedBy": {
"id": "638a089bed7a51001325406f",
"name": "Super User"
},
"alerts": []
},
{
"methods": [
"GET",
"POST",
"DELETE",
"PUT",
"OPTIONS",
"HEAD",
"TRACE",
"CONNECT",
"PATCH"
],
"type": "http",
"allow": [
"instant"
],
"whitelist": [],
"authType": "private",
"matchContentTypes": [],
"matchContentValue": null,
"properties": [],
"txViewAcl": [],
"txViewFullAcl": [],
"txRerunAcl": [],
"alerts": [],
"status": "enabled",
"rewriteUrls": false,
"addAutoRewriteRules": true,
"rewriteUrlsConfig": [],
"autoRetryEnabled": false,
"autoRetryPeriodMinutes": 60,
"routes": [
{
"type": "http",
"status": "enabled",
"forwardAuthHeader": false,
"name": "JeMPI",
"secured": false,
"host": "jempi-api",
"port": 50000,
"path": "",
"pathTransform": "s/jempi\\/api\\///g",
"primary": true,
"username": "",
"password": ""
}
],
"requestBody": true,
"responseBody": true,
"rewriteUrlsConfig": [],
"name": "JeMPI API",
"urlPattern": "^/jempi/api/.*$",
"matchContentRegex": null,
"matchContentXpath": null,
"matchContentValue": null,
"matchContentJson": null,
"pollingSchedule": null,
"tcpHost": null,
"tcpPort": null,
"updatedBy": {
"id": "638a089bed7a51001325406f",
"id": "6527e7676dec203bde9f2aeb",
"name": "Super User"
},
"alerts": []
}
}
]
}

0 comments on commit 082a5e7

Please sign in to comment.