UNPKG

openhim-core

Version:

The OpenHIM core application that provides logging and routing of http requests

650 lines (649 loc) 16.1 kB
{ "Channels": [ { "addAutoRewriteRules": true, "alerts": [], "allow": [ "performance" ], "authType": "private", "autoRetryEnabled": false, "autoRetryPeriodMinutes": 60, "matchContentJson": null, "matchContentRegex": null, "matchContentTypes": [], "matchContentValue": null, "matchContentXpath": null, "methods": [ "GET", "POST", "DELETE", "PUT", "OPTIONS", "HEAD", "TRACE", "CONNECT", "PATCH" ], "name": "Delay - HTTP", "pollingSchedule": null, "properties": [], "requestBody": true, "responseBody": true, "rewriteUrls": false, "rewriteUrlsConfig": [], "routes": [ { "forwardAuthHeader": false, "host": "localhost", "name": "Upstream", "password": "", "path": "/mediator", "pathTransform": "", "port": 8082, "primary": true, "secured": false, "status": "enabled", "type": "http", "username": "" } ], "status": "enabled", "tcpHost": null, "tcpPort": null, "txRerunAcl": [], "txViewAcl": [], "txViewFullAcl": [], "type": "http", "urlPattern": "^/http/mediator$", "whitelist": [] }, { "addAutoRewriteRules": true, "alerts": [], "allow": [ "performance" ], "authType": "private", "autoRetryEnabled": false, "autoRetryPeriodMinutes": 60, "matchContentJson": null, "matchContentRegex": null, "matchContentTypes": [], "matchContentValue": null, "matchContentXpath": null, "methods": [ "GET", "POST", "DELETE", "PUT", "OPTIONS", "HEAD", "TRACE", "CONNECT", "PATCH" ], "name": "Delay - HTTPS", "pollingSchedule": null, "properties": [], "requestBody": true, "responseBody": true, "rewriteUrls": false, "rewriteUrlsConfig": [], "routes": [ { "cert": "5a12c5ef554c934b67dcb10d", "forwardAuthHeader": false, "host": "localhost", "name": "Upstream", "password": "", "path": "/mediator", "pathTransform": "", "port": 8443, "primary": true, "secured": true, "status": "enabled", "type": "http", "username": "" } ], "status": "enabled", "tcpHost": null, "tcpPort": null, "txRerunAcl": [], "txViewAcl": [], "txViewFullAcl": [], "type": "http", "urlPattern": "^/https/mediator$", "whitelist": [] }, { "addAutoRewriteRules": true, "alerts": [], "allow": [ "performance" ], "authType": "private", "autoRetryEnabled": false, "autoRetryPeriodMinutes": 60, "matchContentJson": null, "matchContentRegex": null, "matchContentTypes": [], "matchContentValue": null, "matchContentXpath": null, "methods": [ "GET", "POST", "DELETE", "PUT", "OPTIONS", "HEAD", "TRACE", "CONNECT", "PATCH" ], "name": "Immediate - HTTP", "pollingSchedule": null, "properties": [], "requestBody": true, "responseBody": true, "rewriteUrls": false, "rewriteUrlsConfig": [], "routes": [ { "forwardAuthHeader": false, "host": "localhost", "name": "Upstream", "password": "", "path": "/immediate", "pathTransform": "", "port": 8082, "primary": true, "secured": false, "status": "enabled", "type": "http", "username": "" } ], "status": "enabled", "tcpHost": null, "tcpPort": null, "txRerunAcl": [], "txViewAcl": [], "txViewFullAcl": [], "type": "http", "urlPattern": "^/http/immediate$", "whitelist": [] }, { "addAutoRewriteRules": true, "alerts": [], "allow": [ "performance" ], "authType": "private", "autoRetryEnabled": false, "autoRetryPeriodMinutes": 60, "matchContentJson": null, "matchContentRegex": null, "matchContentTypes": [], "matchContentValue": null, "matchContentXpath": null, "methods": [ "GET", "POST", "DELETE", "PUT", "OPTIONS", "HEAD", "TRACE", "CONNECT", "PATCH" ], "name": "Immediate - HTTPS", "pollingSchedule": null, "properties": [], "requestBody": true, "responseBody": true, "rewriteUrls": false, "rewriteUrlsConfig": [], "routes": [ { "cert": "5a12c5ef554c934b67dcb10d", "forwardAuthHeader": false, "host": "localhost", "name": "Upstream", "password": "", "path": "/immediate", "pathTransform": "", "port": 8443, "primary": true, "secured": true, "status": "enabled", "type": "http", "username": "" } ], "status": "enabled", "tcpHost": null, "tcpPort": null, "txRerunAcl": [], "txViewAcl": [], "txViewFullAcl": [], "type": "http", "urlPattern": "^/https/immediate$", "whitelist": [] }, { "addAutoRewriteRules": true, "alerts": [], "allow": [ "performance" ], "authType": "private", "autoRetryEnabled": false, "autoRetryPeriodMinutes": 60, "matchContentJson": null, "matchContentRegex": null, "matchContentTypes": [], "matchContentValue": null, "matchContentXpath": null, "methods": [ "GET", "POST", "DELETE", "PUT", "OPTIONS", "HEAD", "TRACE", "CONNECT", "PATCH" ], "name": "Large Body - HTTP", "pollingSchedule": null, "properties": [], "requestBody": true, "responseBody": true, "rewriteUrls": false, "rewriteUrlsConfig": [], "routes": [ { "forwardAuthHeader": false, "host": "localhost", "name": "Upstream", "password": "", "path": "/body?length=2097152", "pathTransform": "", "port": 8082, "primary": true, "secured": false, "status": "enabled", "type": "http", "username": "" } ], "status": "enabled", "tcpHost": null, "tcpPort": null, "txRerunAcl": [], "txViewAcl": [], "txViewFullAcl": [], "type": "http", "urlPattern": "^/http/body$", "whitelist": [] }, { "addAutoRewriteRules": true, "alerts": [], "allow": [ "performance" ], "authType": "private", "autoRetryEnabled": false, "autoRetryPeriodMinutes": 60, "matchContentJson": null, "matchContentRegex": null, "matchContentTypes": [], "matchContentValue": null, "matchContentXpath": null, "methods": [ "GET", "POST", "DELETE", "PUT", "OPTIONS", "HEAD", "TRACE", "CONNECT", "PATCH" ], "name": "Large Body - HTTPS", "pollingSchedule": null, "properties": [], "requestBody": true, "responseBody": true, "rewriteUrls": false, "rewriteUrlsConfig": [], "routes": [ { "cert": "5a12c5ef554c934b67dcb10d", "forwardAuthHeader": false, "host": "localhost", "name": "Upstream", "password": "", "path": "/body?length=2097152", "pathTransform": "", "port": 8443, "primary": true, "secured": true, "status": "enabled", "type": "http", "username": "" } ], "status": "enabled", "tcpHost": null, "tcpPort": null, "txRerunAcl": [], "txViewAcl": [], "txViewFullAcl": [], "type": "http", "urlPattern": "^/https/body$", "whitelist": [] }, { "addAutoRewriteRules": true, "alerts": [], "allow": [], "authType": "public", "autoRetryEnabled": false, "autoRetryPeriodMinutes": 60, "matchContentJson": null, "matchContentRegex": null, "matchContentTypes": [], "matchContentValue": null, "matchContentXpath": null, "methods": [], "name": "Large Body - TCP", "pollingSchedule": null, "properties": [], "requestBody": true, "responseBody": true, "rewriteUrls": false, "rewriteUrlsConfig": [], "routes": [ { "forwardAuthHeader": false, "host": "localhost", "name": "Upstream", "password": "", "path": "", "pathTransform": "", "port": 9000, "primary": true, "secured": false, "status": "enabled", "type": "tcp", "username": "" } ], "status": "enabled", "tcpHost": "localhost", "tcpPort": 7000, "txRerunAcl": [], "txViewAcl": [], "txViewFullAcl": [], "type": "tcp", "urlPattern": "_tcp", "whitelist": [] }, { "addAutoRewriteRules": true, "alerts": [], "allow": [], "authType": "public", "autoRetryEnabled": false, "autoRetryPeriodMinutes": 60, "matchContentJson": null, "matchContentRegex": null, "matchContentTypes": [], "matchContentValue": null, "matchContentXpath": null, "methods": [], "name": "Large Body - TLS", "pollingSchedule": null, "properties": [], "requestBody": true, "responseBody": true, "rewriteUrls": false, "rewriteUrlsConfig": [], "routes": [ { "cert": "5a12c5ef554c934b67dcb10d", "forwardAuthHeader": false, "host": "localhost", "name": "Upstream", "password": "", "path": "", "pathTransform": "", "port": 9001, "primary": true, "secured": true, "status": "enabled", "type": "tcp", "username": "" } ], "status": "enabled", "tcpHost": "localhost", "tcpPort": 7001, "txRerunAcl": [], "txViewAcl": [], "txViewFullAcl": [], "type": "tcp", "urlPattern": "_tcp", "whitelist": [] }, { "addAutoRewriteRules": true, "alerts": [], "allow": [], "authType": "public", "autoRetryEnabled": false, "autoRetryPeriodMinutes": 60, "matchContentJson": null, "matchContentRegex": null, "matchContentTypes": [], "matchContentValue": null, "matchContentXpath": null, "methods": [], "name": "Delay - TCP", "pollingSchedule": null, "properties": [], "requestBody": true, "responseBody": true, "rewriteUrls": false, "rewriteUrlsConfig": [], "routes": [ { "forwardAuthHeader": false, "host": "localhost", "name": "Upstream", "password": "", "path": "", "pathTransform": "", "port": 9002, "primary": true, "secured": false, "status": "enabled", "type": "tcp", "username": "" } ], "status": "enabled", "tcpHost": "localhost", "tcpPort": 7002, "txRerunAcl": [], "txViewAcl": [], "txViewFullAcl": [], "type": "tcp", "urlPattern": "_tcp", "whitelist": [] }, { "addAutoRewriteRules": true, "alerts": [], "allow": [], "authType": "public", "autoRetryEnabled": false, "autoRetryPeriodMinutes": 60, "matchContentJson": null, "matchContentRegex": null, "matchContentTypes": [], "matchContentValue": null, "matchContentXpath": null, "methods": [], "name": "Delay - TLS", "pollingSchedule": null, "properties": [], "requestBody": true, "responseBody": true, "rewriteUrls": false, "rewriteUrlsConfig": [], "routes": [ { "cert": "5a12c5ef554c934b67dcb10d", "forwardAuthHeader": false, "host": "localhost", "name": "Upstream", "password": "", "path": "", "pathTransform": "", "port": 9003, "primary": true, "secured": true, "status": "enabled", "type": "tcp", "username": "" } ], "status": "enabled", "tcpHost": "localhost", "tcpPort": 7003, "txRerunAcl": [], "txViewAcl": [], "txViewFullAcl": [], "type": "tcp", "urlPattern": "_tcp", "whitelist": [] }, { "addAutoRewriteRules": true, "alerts": [], "allow": [], "authType": "public", "autoRetryEnabled": false, "autoRetryPeriodMinutes": 60, "matchContentJson": null, "matchContentRegex": null, "matchContentTypes": [], "matchContentValue": null, "matchContentXpath": null, "methods": [], "name": "Immediate - TCP", "pollingSchedule": null, "properties": [], "requestBody": true, "responseBody": true, "rewriteUrls": false, "rewriteUrlsConfig": [], "routes": [ { "forwardAuthHeader": false, "host": "localhost", "name": "Upstream", "password": "", "path": "", "pathTransform": "", "port": 9004, "primary": true, "secured": false, "status": "enabled", "type": "tcp", "username": "" } ], "status": "enabled", "tcpHost": "localhost", "tcpPort": 7004, "txRerunAcl": [], "txViewAcl": [], "txViewFullAcl": [], "type": "tcp", "urlPattern": "_tcp", "whitelist": [] }, { "addAutoRewriteRules": true, "alerts": [], "allow": [], "authType": "public", "autoRetryEnabled": false, "autoRetryPeriodMinutes": 60, "matchContentJson": null, "matchContentRegex": null, "matchContentTypes": [], "matchContentValue": null, "matchContentXpath": null, "methods": [], "name": "Immediate - TLS", "pollingSchedule": null, "properties": [], "requestBody": true, "responseBody": true, "rewriteUrls": false, "rewriteUrlsConfig": [], "routes": [ { "cert": "5a12c5ef554c934b67dcb10d", "forwardAuthHeader": false, "host": "localhost", "name": "Upstream", "password": "", "path": "", "pathTransform": "", "port": 9005, "primary": true, "secured": true, "status": "enabled", "type": "tcp", "username": "" } ], "status": "enabled", "tcpHost": "localhost", "tcpPort": 7005, "txRerunAcl": [], "txViewAcl": [], "txViewFullAcl": [], "type": "tcp", "urlPattern": "_tcp", "whitelist": [] } ], "Clients": [ { "clientID": "performance", "name": "Performance Tester", "passwordAlgorithm": "sha512", "passwordHash": "bb1f8a8d974592540687ab4583a0d5c30f99b6c3620a5359ad5e352af5e7402c2b41c72e0892febf407d59ab000a7fa27071fa1e3c2216f665350eca73dc7901", "passwordSalt": "acc04fcd4ebc5336d04fe562a2eccd79", "roles": [ "performance" ] } ], "ContactGroups": [], "Mediators": [], "Users": [] }