├── .dockerignore ├── .env.test ├── .eslintignore ├── .eslintrc.json ├── .github └── workflows │ ├── docker-image-scan.yml │ ├── master.yml │ └── tags.yml ├── .gitignore ├── .npmignore ├── .nycrc.json ├── .prettierrc.yaml ├── .travis.yml ├── .travis └── build_docker.sh ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── README.md ├── babel.config.js ├── bin └── openhim-core.js ├── config ├── config.md ├── default.json ├── development.json ├── production.json └── test.json ├── docker-compose.deps.yml ├── grafana-dashboards ├── openhim_nodejs_dashboard.json └── openhim_transactions_dashboard.json ├── infrastructure ├── centos │ ├── Dockerfile │ ├── Vagrantfile │ ├── entrypoint.sh │ └── mongodb-org-3.4.repo └── docker-compose.yml ├── package.json ├── packaging ├── .gitignore ├── README.md ├── build-docker-centos-rpm.sh ├── build-release-zip.sh ├── create-deb.sh └── targets │ └── trusty │ ├── debian │ ├── changelog │ ├── compat │ ├── config │ ├── control │ ├── install │ ├── postinst │ ├── preinst │ ├── prerm │ ├── rules │ └── templates │ ├── etc │ └── init │ │ └── openhim-core.conf │ └── home │ └── openhim │ └── bin │ └── install_node.sh ├── performance ├── README.md ├── auth.js ├── dashboards │ ├── metrics-dashboard.json │ ├── overview-dashboard.json │ └── transactions-dashboard.json ├── load.js ├── mediator │ ├── Dockerfile │ ├── README.md │ ├── body-stream.js │ ├── configure_openhim.sh │ ├── generate_certs.sh │ ├── http-handler.js │ ├── openhim-insert.json │ ├── package-lock.json │ ├── package.json │ ├── server.js │ ├── tcp-handler.js │ └── tls │ │ ├── cert.pem │ │ └── key.pem ├── metrics.js ├── seed.js ├── stress.js ├── transactionsWithFilters.js ├── transactionsWithoutFilters.js └── volume.js ├── resources ├── certs │ ├── default │ │ ├── cert.pem │ │ └── key.pem │ ├── ihe │ │ ├── HOW_TO_CONFIGURE_CERT.md │ │ ├── README.TXT │ │ ├── cacert.MIR2014-16.pem │ │ ├── cert.p12 │ │ ├── cert.pem │ │ ├── cert.zip │ │ ├── dn.txt │ │ ├── key.pem │ │ ├── keystore.jks │ │ └── password.txt │ └── jwt │ │ └── README.md ├── openhim-api-curl.sh ├── openhim-configuration-export.sh ├── openhim-core.service ├── rotate-log.sh ├── sampleRecords │ └── audit.json ├── scripts │ └── delete-unused-status-index.js ├── tail-events.sh └── testCurlCmds.md ├── src ├── alerts.js ├── api │ ├── about.js │ ├── apps.js │ ├── audits.js │ ├── authentication.js │ ├── authorisation.js │ ├── certificateAuthority.js │ ├── channels.js │ ├── clients.js │ ├── contactGroups.js │ ├── events.js │ ├── heartbeat.js │ ├── keystore.js │ ├── logs.js │ ├── mediators.js │ ├── metadata.js │ ├── metrics.js │ ├── restart.js │ ├── roles.js │ ├── tasks.js │ ├── transactions.js │ ├── users.js │ └── visualizers.js ├── auditing.js ├── autoRetry.js ├── bodyCull.js ├── config │ ├── config.js │ ├── connection.js │ └── index.js ├── constants.js ├── contact.js ├── jwksCache.js ├── jwtSecretOrPublicKeyCache.js ├── kafkaProducer.js ├── kafkaProducerManager.js ├── koaApi.js ├── koaMiddleware.js ├── metrics.js ├── middleware │ ├── authorisation.js │ ├── basicAuthentication.js │ ├── customTokenAuthentication.js │ ├── events.js │ ├── jwtAuthentication.js │ ├── messageStore.js │ ├── pollingBypassAuthentication.js │ ├── pollingBypassAuthorisation.js │ ├── proxy.js │ ├── requestMatching.js │ ├── rerunBypassAuthentication.js │ ├── rerunBypassAuthorisation.js │ ├── rerunUpdateTransactionTask.js │ ├── retrieveTCPTransaction.js │ ├── rewriteUrls.js │ ├── router.js │ ├── sessionStore.js │ ├── tcpBypassAuthentication.js │ └── tlsAuthentication.js ├── migrateMetrics.js ├── model │ ├── alerts.js │ ├── apps.js │ ├── audits.js │ ├── autoRetry.js │ ├── channels.js │ ├── clients.js │ ├── contactGroups.js │ ├── dbVersion.js │ ├── events.js │ ├── index.js │ ├── keystore.js │ ├── mediators.js │ ├── metrics.js │ ├── passport.js │ ├── role.js │ ├── tasks.js │ ├── transactions.js │ ├── users.js │ └── visualizer.js ├── passport.js ├── polling.js ├── protocols │ ├── basic.js │ ├── index.js │ ├── local.js │ ├── openid.js │ └── token.js ├── reports.js ├── server.js ├── tasks.js ├── tcpAdapter.js ├── upgradeDB.js ├── utils.js └── winston-transport-workaround.js ├── templates └── report │ └── html.handlebars └── test ├── constants.js ├── fixtures.js ├── integration ├── aboutAPITests.js ├── appsAPITests.js ├── auditAPITests.js ├── auditingIntegrationTests.js ├── authenticationAPITests.js ├── autoRetryIntegrationTests.js ├── certificateApiTests.js ├── channelsAPITests.js ├── clientsAPITests.js ├── contactGroupsAPITests.js ├── eventsAPITests.js ├── generalAPITests.js ├── heartbeatAPITest.js ├── httpTests.js ├── keystoreAPITests.js ├── logsAPITests.js ├── mediatorAPITests.js ├── metadataAPITests.js ├── metricsAPITests.js ├── multipartFormDataTests.js ├── restartAPITests.js ├── rolesAPITests.js ├── routesTests.js ├── tasksAPITests.js ├── tcpIntegrationTests.js ├── transactionsAPITests.js ├── urlRewriting.js ├── usersAPITests.js └── visualizersAPITests.js ├── resources ├── chain.pem ├── client-tls │ ├── cert.pem │ ├── invalid-cert.pem │ ├── invalid-key.pem │ └── key.pem ├── files │ ├── mac.txt │ ├── msdos.txt │ └── unix.txt ├── invalid-chain.pem ├── openhim-logo-green.png ├── protected │ ├── test.crt │ └── test.key ├── replica-set-test │ ├── README.md │ ├── docker-compose.yml │ ├── mongo-volumes │ │ └── .gitignore │ ├── setup.sh │ └── tear-down.sh ├── server-tls │ ├── cert.pem │ └── key.pem └── trust-tls │ ├── cert1.pem │ ├── cert2.pem │ ├── chain │ ├── ca.cert.pem │ ├── ca.key.pem │ ├── intermediate.cert.pem │ ├── intermediate.key.pem │ ├── test.openhim.org.cert.pem │ └── test.openhim.org.key.pem │ ├── key1.pem │ └── key2.pem ├── setupTest.js ├── unit ├── alertsTest.js ├── apiAuthenticationTest.js ├── apiAuthroisationTest.js ├── appsTest.js ├── auditingTest.js ├── authorisationTest.js ├── autoRetryTest.js ├── basicAuthenticationTest.js ├── bodyCullTest.js ├── contactTest.js ├── customTokenAuthenticationTest.js ├── jwksCacheTest.js ├── jwtAuthenicationTest.js ├── jwtSecretOrPublicKeyCacheTest.js ├── kafkaProducerTest.js ├── mediatorsAPITest.js ├── messageStoreTest.js ├── metadataTest.js ├── metricsTest.js ├── passportTest.js ├── pollingTest.js ├── proxyTest.js ├── reportsTest.js ├── requestMatchingTest.js ├── rerunUpdateTransactionTask.js ├── rewriteUrlsTest.js ├── routerTest.js ├── serverTest.js ├── tasksTest.js ├── tcpAdapterTest.js ├── tlsAuthenticationTest.js ├── transactionsTest.js ├── upgradeDBTest.js ├── usersTest.js └── utilsTest.js └── utils.js /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/.env.test -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/docker-image-scan.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/.github/workflows/docker-image-scan.yml -------------------------------------------------------------------------------- /.github/workflows/master.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/.github/workflows/master.yml -------------------------------------------------------------------------------- /.github/workflows/tags.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/.github/workflows/tags.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/.npmignore -------------------------------------------------------------------------------- /.nycrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/.nycrc.json -------------------------------------------------------------------------------- /.prettierrc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/.prettierrc.yaml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/.travis.yml -------------------------------------------------------------------------------- /.travis/build_docker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/.travis/build_docker.sh -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/babel.config.js -------------------------------------------------------------------------------- /bin/openhim-core.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/bin/openhim-core.js -------------------------------------------------------------------------------- /config/config.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/config/config.md -------------------------------------------------------------------------------- /config/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/config/default.json -------------------------------------------------------------------------------- /config/development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/config/development.json -------------------------------------------------------------------------------- /config/production.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/config/production.json -------------------------------------------------------------------------------- /config/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/config/test.json -------------------------------------------------------------------------------- /docker-compose.deps.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/docker-compose.deps.yml -------------------------------------------------------------------------------- /grafana-dashboards/openhim_nodejs_dashboard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/grafana-dashboards/openhim_nodejs_dashboard.json -------------------------------------------------------------------------------- /grafana-dashboards/openhim_transactions_dashboard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/grafana-dashboards/openhim_transactions_dashboard.json -------------------------------------------------------------------------------- /infrastructure/centos/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/infrastructure/centos/Dockerfile -------------------------------------------------------------------------------- /infrastructure/centos/Vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/infrastructure/centos/Vagrantfile -------------------------------------------------------------------------------- /infrastructure/centos/entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/infrastructure/centos/entrypoint.sh -------------------------------------------------------------------------------- /infrastructure/centos/mongodb-org-3.4.repo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/infrastructure/centos/mongodb-org-3.4.repo -------------------------------------------------------------------------------- /infrastructure/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/infrastructure/docker-compose.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/package.json -------------------------------------------------------------------------------- /packaging/.gitignore: -------------------------------------------------------------------------------- 1 | .npm 2 | .node-gyp 3 | -------------------------------------------------------------------------------- /packaging/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/README.md -------------------------------------------------------------------------------- /packaging/build-docker-centos-rpm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/build-docker-centos-rpm.sh -------------------------------------------------------------------------------- /packaging/build-release-zip.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/build-release-zip.sh -------------------------------------------------------------------------------- /packaging/create-deb.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/create-deb.sh -------------------------------------------------------------------------------- /packaging/targets/trusty/debian/changelog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/targets/trusty/debian/changelog -------------------------------------------------------------------------------- /packaging/targets/trusty/debian/compat: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /packaging/targets/trusty/debian/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/targets/trusty/debian/config -------------------------------------------------------------------------------- /packaging/targets/trusty/debian/control: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/targets/trusty/debian/control -------------------------------------------------------------------------------- /packaging/targets/trusty/debian/install: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/targets/trusty/debian/install -------------------------------------------------------------------------------- /packaging/targets/trusty/debian/postinst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/targets/trusty/debian/postinst -------------------------------------------------------------------------------- /packaging/targets/trusty/debian/preinst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/targets/trusty/debian/preinst -------------------------------------------------------------------------------- /packaging/targets/trusty/debian/prerm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/targets/trusty/debian/prerm -------------------------------------------------------------------------------- /packaging/targets/trusty/debian/rules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/targets/trusty/debian/rules -------------------------------------------------------------------------------- /packaging/targets/trusty/debian/templates: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/targets/trusty/debian/templates -------------------------------------------------------------------------------- /packaging/targets/trusty/etc/init/openhim-core.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/targets/trusty/etc/init/openhim-core.conf -------------------------------------------------------------------------------- /packaging/targets/trusty/home/openhim/bin/install_node.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/packaging/targets/trusty/home/openhim/bin/install_node.sh -------------------------------------------------------------------------------- /performance/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/README.md -------------------------------------------------------------------------------- /performance/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/auth.js -------------------------------------------------------------------------------- /performance/dashboards/metrics-dashboard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/dashboards/metrics-dashboard.json -------------------------------------------------------------------------------- /performance/dashboards/overview-dashboard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/dashboards/overview-dashboard.json -------------------------------------------------------------------------------- /performance/dashboards/transactions-dashboard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/dashboards/transactions-dashboard.json -------------------------------------------------------------------------------- /performance/load.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/load.js -------------------------------------------------------------------------------- /performance/mediator/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/mediator/Dockerfile -------------------------------------------------------------------------------- /performance/mediator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/mediator/README.md -------------------------------------------------------------------------------- /performance/mediator/body-stream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/mediator/body-stream.js -------------------------------------------------------------------------------- /performance/mediator/configure_openhim.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/mediator/configure_openhim.sh -------------------------------------------------------------------------------- /performance/mediator/generate_certs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/mediator/generate_certs.sh -------------------------------------------------------------------------------- /performance/mediator/http-handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/mediator/http-handler.js -------------------------------------------------------------------------------- /performance/mediator/openhim-insert.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/mediator/openhim-insert.json -------------------------------------------------------------------------------- /performance/mediator/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/mediator/package-lock.json -------------------------------------------------------------------------------- /performance/mediator/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/mediator/package.json -------------------------------------------------------------------------------- /performance/mediator/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/mediator/server.js -------------------------------------------------------------------------------- /performance/mediator/tcp-handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/mediator/tcp-handler.js -------------------------------------------------------------------------------- /performance/mediator/tls/cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/mediator/tls/cert.pem -------------------------------------------------------------------------------- /performance/mediator/tls/key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/mediator/tls/key.pem -------------------------------------------------------------------------------- /performance/metrics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/metrics.js -------------------------------------------------------------------------------- /performance/seed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/seed.js -------------------------------------------------------------------------------- /performance/stress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/stress.js -------------------------------------------------------------------------------- /performance/transactionsWithFilters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/transactionsWithFilters.js -------------------------------------------------------------------------------- /performance/transactionsWithoutFilters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/transactionsWithoutFilters.js -------------------------------------------------------------------------------- /performance/volume.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/performance/volume.js -------------------------------------------------------------------------------- /resources/certs/default/cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/certs/default/cert.pem -------------------------------------------------------------------------------- /resources/certs/default/key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/certs/default/key.pem -------------------------------------------------------------------------------- /resources/certs/ihe/HOW_TO_CONFIGURE_CERT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/certs/ihe/HOW_TO_CONFIGURE_CERT.md -------------------------------------------------------------------------------- /resources/certs/ihe/README.TXT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/certs/ihe/README.TXT -------------------------------------------------------------------------------- /resources/certs/ihe/cacert.MIR2014-16.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/certs/ihe/cacert.MIR2014-16.pem -------------------------------------------------------------------------------- /resources/certs/ihe/cert.p12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/certs/ihe/cert.p12 -------------------------------------------------------------------------------- /resources/certs/ihe/cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/certs/ihe/cert.pem -------------------------------------------------------------------------------- /resources/certs/ihe/cert.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/certs/ihe/cert.zip -------------------------------------------------------------------------------- /resources/certs/ihe/dn.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/certs/ihe/dn.txt -------------------------------------------------------------------------------- /resources/certs/ihe/key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/certs/ihe/key.pem -------------------------------------------------------------------------------- /resources/certs/ihe/keystore.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/certs/ihe/keystore.jks -------------------------------------------------------------------------------- /resources/certs/ihe/password.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/certs/ihe/password.txt -------------------------------------------------------------------------------- /resources/certs/jwt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/certs/jwt/README.md -------------------------------------------------------------------------------- /resources/openhim-api-curl.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/openhim-api-curl.sh -------------------------------------------------------------------------------- /resources/openhim-configuration-export.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/openhim-configuration-export.sh -------------------------------------------------------------------------------- /resources/openhim-core.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/openhim-core.service -------------------------------------------------------------------------------- /resources/rotate-log.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/rotate-log.sh -------------------------------------------------------------------------------- /resources/sampleRecords/audit.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/sampleRecords/audit.json -------------------------------------------------------------------------------- /resources/scripts/delete-unused-status-index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/scripts/delete-unused-status-index.js -------------------------------------------------------------------------------- /resources/tail-events.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/tail-events.sh -------------------------------------------------------------------------------- /resources/testCurlCmds.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/resources/testCurlCmds.md -------------------------------------------------------------------------------- /src/alerts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/alerts.js -------------------------------------------------------------------------------- /src/api/about.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/about.js -------------------------------------------------------------------------------- /src/api/apps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/apps.js -------------------------------------------------------------------------------- /src/api/audits.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/audits.js -------------------------------------------------------------------------------- /src/api/authentication.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/authentication.js -------------------------------------------------------------------------------- /src/api/authorisation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/authorisation.js -------------------------------------------------------------------------------- /src/api/certificateAuthority.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/certificateAuthority.js -------------------------------------------------------------------------------- /src/api/channels.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/channels.js -------------------------------------------------------------------------------- /src/api/clients.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/clients.js -------------------------------------------------------------------------------- /src/api/contactGroups.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/contactGroups.js -------------------------------------------------------------------------------- /src/api/events.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/events.js -------------------------------------------------------------------------------- /src/api/heartbeat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/heartbeat.js -------------------------------------------------------------------------------- /src/api/keystore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/keystore.js -------------------------------------------------------------------------------- /src/api/logs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/logs.js -------------------------------------------------------------------------------- /src/api/mediators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/mediators.js -------------------------------------------------------------------------------- /src/api/metadata.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/metadata.js -------------------------------------------------------------------------------- /src/api/metrics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/metrics.js -------------------------------------------------------------------------------- /src/api/restart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/restart.js -------------------------------------------------------------------------------- /src/api/roles.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/roles.js -------------------------------------------------------------------------------- /src/api/tasks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/tasks.js -------------------------------------------------------------------------------- /src/api/transactions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/transactions.js -------------------------------------------------------------------------------- /src/api/users.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/users.js -------------------------------------------------------------------------------- /src/api/visualizers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/api/visualizers.js -------------------------------------------------------------------------------- /src/auditing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/auditing.js -------------------------------------------------------------------------------- /src/autoRetry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/autoRetry.js -------------------------------------------------------------------------------- /src/bodyCull.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/bodyCull.js -------------------------------------------------------------------------------- /src/config/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/config/config.js -------------------------------------------------------------------------------- /src/config/connection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/config/connection.js -------------------------------------------------------------------------------- /src/config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/config/index.js -------------------------------------------------------------------------------- /src/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/constants.js -------------------------------------------------------------------------------- /src/contact.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/contact.js -------------------------------------------------------------------------------- /src/jwksCache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/jwksCache.js -------------------------------------------------------------------------------- /src/jwtSecretOrPublicKeyCache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/jwtSecretOrPublicKeyCache.js -------------------------------------------------------------------------------- /src/kafkaProducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/kafkaProducer.js -------------------------------------------------------------------------------- /src/kafkaProducerManager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/kafkaProducerManager.js -------------------------------------------------------------------------------- /src/koaApi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/koaApi.js -------------------------------------------------------------------------------- /src/koaMiddleware.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/koaMiddleware.js -------------------------------------------------------------------------------- /src/metrics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/metrics.js -------------------------------------------------------------------------------- /src/middleware/authorisation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/authorisation.js -------------------------------------------------------------------------------- /src/middleware/basicAuthentication.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/basicAuthentication.js -------------------------------------------------------------------------------- /src/middleware/customTokenAuthentication.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/customTokenAuthentication.js -------------------------------------------------------------------------------- /src/middleware/events.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/events.js -------------------------------------------------------------------------------- /src/middleware/jwtAuthentication.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/jwtAuthentication.js -------------------------------------------------------------------------------- /src/middleware/messageStore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/messageStore.js -------------------------------------------------------------------------------- /src/middleware/pollingBypassAuthentication.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/pollingBypassAuthentication.js -------------------------------------------------------------------------------- /src/middleware/pollingBypassAuthorisation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/pollingBypassAuthorisation.js -------------------------------------------------------------------------------- /src/middleware/proxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/proxy.js -------------------------------------------------------------------------------- /src/middleware/requestMatching.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/requestMatching.js -------------------------------------------------------------------------------- /src/middleware/rerunBypassAuthentication.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/rerunBypassAuthentication.js -------------------------------------------------------------------------------- /src/middleware/rerunBypassAuthorisation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/rerunBypassAuthorisation.js -------------------------------------------------------------------------------- /src/middleware/rerunUpdateTransactionTask.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/rerunUpdateTransactionTask.js -------------------------------------------------------------------------------- /src/middleware/retrieveTCPTransaction.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/retrieveTCPTransaction.js -------------------------------------------------------------------------------- /src/middleware/rewriteUrls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/rewriteUrls.js -------------------------------------------------------------------------------- /src/middleware/router.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/router.js -------------------------------------------------------------------------------- /src/middleware/sessionStore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/sessionStore.js -------------------------------------------------------------------------------- /src/middleware/tcpBypassAuthentication.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/tcpBypassAuthentication.js -------------------------------------------------------------------------------- /src/middleware/tlsAuthentication.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/middleware/tlsAuthentication.js -------------------------------------------------------------------------------- /src/migrateMetrics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/migrateMetrics.js -------------------------------------------------------------------------------- /src/model/alerts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/alerts.js -------------------------------------------------------------------------------- /src/model/apps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/apps.js -------------------------------------------------------------------------------- /src/model/audits.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/audits.js -------------------------------------------------------------------------------- /src/model/autoRetry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/autoRetry.js -------------------------------------------------------------------------------- /src/model/channels.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/channels.js -------------------------------------------------------------------------------- /src/model/clients.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/clients.js -------------------------------------------------------------------------------- /src/model/contactGroups.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/contactGroups.js -------------------------------------------------------------------------------- /src/model/dbVersion.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/dbVersion.js -------------------------------------------------------------------------------- /src/model/events.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/events.js -------------------------------------------------------------------------------- /src/model/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/index.js -------------------------------------------------------------------------------- /src/model/keystore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/keystore.js -------------------------------------------------------------------------------- /src/model/mediators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/mediators.js -------------------------------------------------------------------------------- /src/model/metrics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/metrics.js -------------------------------------------------------------------------------- /src/model/passport.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/passport.js -------------------------------------------------------------------------------- /src/model/role.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/role.js -------------------------------------------------------------------------------- /src/model/tasks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/tasks.js -------------------------------------------------------------------------------- /src/model/transactions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/transactions.js -------------------------------------------------------------------------------- /src/model/users.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/users.js -------------------------------------------------------------------------------- /src/model/visualizer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/model/visualizer.js -------------------------------------------------------------------------------- /src/passport.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/passport.js -------------------------------------------------------------------------------- /src/polling.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/polling.js -------------------------------------------------------------------------------- /src/protocols/basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/protocols/basic.js -------------------------------------------------------------------------------- /src/protocols/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/protocols/index.js -------------------------------------------------------------------------------- /src/protocols/local.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/protocols/local.js -------------------------------------------------------------------------------- /src/protocols/openid.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/protocols/openid.js -------------------------------------------------------------------------------- /src/protocols/token.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/protocols/token.js -------------------------------------------------------------------------------- /src/reports.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/reports.js -------------------------------------------------------------------------------- /src/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/server.js -------------------------------------------------------------------------------- /src/tasks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/tasks.js -------------------------------------------------------------------------------- /src/tcpAdapter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/tcpAdapter.js -------------------------------------------------------------------------------- /src/upgradeDB.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/upgradeDB.js -------------------------------------------------------------------------------- /src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/utils.js -------------------------------------------------------------------------------- /src/winston-transport-workaround.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/src/winston-transport-workaround.js -------------------------------------------------------------------------------- /templates/report/html.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/templates/report/html.handlebars -------------------------------------------------------------------------------- /test/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/constants.js -------------------------------------------------------------------------------- /test/fixtures.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/fixtures.js -------------------------------------------------------------------------------- /test/integration/aboutAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/aboutAPITests.js -------------------------------------------------------------------------------- /test/integration/appsAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/appsAPITests.js -------------------------------------------------------------------------------- /test/integration/auditAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/auditAPITests.js -------------------------------------------------------------------------------- /test/integration/auditingIntegrationTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/auditingIntegrationTests.js -------------------------------------------------------------------------------- /test/integration/authenticationAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/authenticationAPITests.js -------------------------------------------------------------------------------- /test/integration/autoRetryIntegrationTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/autoRetryIntegrationTests.js -------------------------------------------------------------------------------- /test/integration/certificateApiTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/certificateApiTests.js -------------------------------------------------------------------------------- /test/integration/channelsAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/channelsAPITests.js -------------------------------------------------------------------------------- /test/integration/clientsAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/clientsAPITests.js -------------------------------------------------------------------------------- /test/integration/contactGroupsAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/contactGroupsAPITests.js -------------------------------------------------------------------------------- /test/integration/eventsAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/eventsAPITests.js -------------------------------------------------------------------------------- /test/integration/generalAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/generalAPITests.js -------------------------------------------------------------------------------- /test/integration/heartbeatAPITest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/heartbeatAPITest.js -------------------------------------------------------------------------------- /test/integration/httpTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/httpTests.js -------------------------------------------------------------------------------- /test/integration/keystoreAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/keystoreAPITests.js -------------------------------------------------------------------------------- /test/integration/logsAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/logsAPITests.js -------------------------------------------------------------------------------- /test/integration/mediatorAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/mediatorAPITests.js -------------------------------------------------------------------------------- /test/integration/metadataAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/metadataAPITests.js -------------------------------------------------------------------------------- /test/integration/metricsAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/metricsAPITests.js -------------------------------------------------------------------------------- /test/integration/multipartFormDataTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/multipartFormDataTests.js -------------------------------------------------------------------------------- /test/integration/restartAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/restartAPITests.js -------------------------------------------------------------------------------- /test/integration/rolesAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/rolesAPITests.js -------------------------------------------------------------------------------- /test/integration/routesTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/routesTests.js -------------------------------------------------------------------------------- /test/integration/tasksAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/tasksAPITests.js -------------------------------------------------------------------------------- /test/integration/tcpIntegrationTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/tcpIntegrationTests.js -------------------------------------------------------------------------------- /test/integration/transactionsAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/transactionsAPITests.js -------------------------------------------------------------------------------- /test/integration/urlRewriting.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/urlRewriting.js -------------------------------------------------------------------------------- /test/integration/usersAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/usersAPITests.js -------------------------------------------------------------------------------- /test/integration/visualizersAPITests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/integration/visualizersAPITests.js -------------------------------------------------------------------------------- /test/resources/chain.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/chain.pem -------------------------------------------------------------------------------- /test/resources/client-tls/cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/client-tls/cert.pem -------------------------------------------------------------------------------- /test/resources/client-tls/invalid-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/client-tls/invalid-cert.pem -------------------------------------------------------------------------------- /test/resources/client-tls/invalid-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/client-tls/invalid-key.pem -------------------------------------------------------------------------------- /test/resources/client-tls/key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/client-tls/key.pem -------------------------------------------------------------------------------- /test/resources/files/mac.txt: -------------------------------------------------------------------------------- 1 | this 2 | has 3 | mac 4 | line 5 | endings -------------------------------------------------------------------------------- /test/resources/files/msdos.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/files/msdos.txt -------------------------------------------------------------------------------- /test/resources/files/unix.txt: -------------------------------------------------------------------------------- 1 | this 2 | has 3 | unix 4 | line 5 | endings -------------------------------------------------------------------------------- /test/resources/invalid-chain.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/invalid-chain.pem -------------------------------------------------------------------------------- /test/resources/openhim-logo-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/openhim-logo-green.png -------------------------------------------------------------------------------- /test/resources/protected/test.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/protected/test.crt -------------------------------------------------------------------------------- /test/resources/protected/test.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/protected/test.key -------------------------------------------------------------------------------- /test/resources/replica-set-test/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/replica-set-test/README.md -------------------------------------------------------------------------------- /test/resources/replica-set-test/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/replica-set-test/docker-compose.yml -------------------------------------------------------------------------------- /test/resources/replica-set-test/mongo-volumes/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/replica-set-test/mongo-volumes/.gitignore -------------------------------------------------------------------------------- /test/resources/replica-set-test/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/replica-set-test/setup.sh -------------------------------------------------------------------------------- /test/resources/replica-set-test/tear-down.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/replica-set-test/tear-down.sh -------------------------------------------------------------------------------- /test/resources/server-tls/cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/server-tls/cert.pem -------------------------------------------------------------------------------- /test/resources/server-tls/key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/server-tls/key.pem -------------------------------------------------------------------------------- /test/resources/trust-tls/cert1.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/trust-tls/cert1.pem -------------------------------------------------------------------------------- /test/resources/trust-tls/cert2.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/trust-tls/cert2.pem -------------------------------------------------------------------------------- /test/resources/trust-tls/chain/ca.cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/trust-tls/chain/ca.cert.pem -------------------------------------------------------------------------------- /test/resources/trust-tls/chain/ca.key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/trust-tls/chain/ca.key.pem -------------------------------------------------------------------------------- /test/resources/trust-tls/chain/intermediate.cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/trust-tls/chain/intermediate.cert.pem -------------------------------------------------------------------------------- /test/resources/trust-tls/chain/intermediate.key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/trust-tls/chain/intermediate.key.pem -------------------------------------------------------------------------------- /test/resources/trust-tls/chain/test.openhim.org.cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/trust-tls/chain/test.openhim.org.cert.pem -------------------------------------------------------------------------------- /test/resources/trust-tls/chain/test.openhim.org.key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/trust-tls/chain/test.openhim.org.key.pem -------------------------------------------------------------------------------- /test/resources/trust-tls/key1.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/trust-tls/key1.pem -------------------------------------------------------------------------------- /test/resources/trust-tls/key2.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/resources/trust-tls/key2.pem -------------------------------------------------------------------------------- /test/setupTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/setupTest.js -------------------------------------------------------------------------------- /test/unit/alertsTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/alertsTest.js -------------------------------------------------------------------------------- /test/unit/apiAuthenticationTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/apiAuthenticationTest.js -------------------------------------------------------------------------------- /test/unit/apiAuthroisationTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/apiAuthroisationTest.js -------------------------------------------------------------------------------- /test/unit/appsTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/appsTest.js -------------------------------------------------------------------------------- /test/unit/auditingTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/auditingTest.js -------------------------------------------------------------------------------- /test/unit/authorisationTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/authorisationTest.js -------------------------------------------------------------------------------- /test/unit/autoRetryTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/autoRetryTest.js -------------------------------------------------------------------------------- /test/unit/basicAuthenticationTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/basicAuthenticationTest.js -------------------------------------------------------------------------------- /test/unit/bodyCullTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/bodyCullTest.js -------------------------------------------------------------------------------- /test/unit/contactTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/contactTest.js -------------------------------------------------------------------------------- /test/unit/customTokenAuthenticationTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/customTokenAuthenticationTest.js -------------------------------------------------------------------------------- /test/unit/jwksCacheTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/jwksCacheTest.js -------------------------------------------------------------------------------- /test/unit/jwtAuthenicationTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/jwtAuthenicationTest.js -------------------------------------------------------------------------------- /test/unit/jwtSecretOrPublicKeyCacheTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/jwtSecretOrPublicKeyCacheTest.js -------------------------------------------------------------------------------- /test/unit/kafkaProducerTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/kafkaProducerTest.js -------------------------------------------------------------------------------- /test/unit/mediatorsAPITest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/mediatorsAPITest.js -------------------------------------------------------------------------------- /test/unit/messageStoreTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/messageStoreTest.js -------------------------------------------------------------------------------- /test/unit/metadataTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/metadataTest.js -------------------------------------------------------------------------------- /test/unit/metricsTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/metricsTest.js -------------------------------------------------------------------------------- /test/unit/passportTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/passportTest.js -------------------------------------------------------------------------------- /test/unit/pollingTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/pollingTest.js -------------------------------------------------------------------------------- /test/unit/proxyTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/proxyTest.js -------------------------------------------------------------------------------- /test/unit/reportsTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/reportsTest.js -------------------------------------------------------------------------------- /test/unit/requestMatchingTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/requestMatchingTest.js -------------------------------------------------------------------------------- /test/unit/rerunUpdateTransactionTask.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/rerunUpdateTransactionTask.js -------------------------------------------------------------------------------- /test/unit/rewriteUrlsTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/rewriteUrlsTest.js -------------------------------------------------------------------------------- /test/unit/routerTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/routerTest.js -------------------------------------------------------------------------------- /test/unit/serverTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/serverTest.js -------------------------------------------------------------------------------- /test/unit/tasksTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/tasksTest.js -------------------------------------------------------------------------------- /test/unit/tcpAdapterTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/tcpAdapterTest.js -------------------------------------------------------------------------------- /test/unit/tlsAuthenticationTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/tlsAuthenticationTest.js -------------------------------------------------------------------------------- /test/unit/transactionsTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/transactionsTest.js -------------------------------------------------------------------------------- /test/unit/upgradeDBTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/upgradeDBTest.js -------------------------------------------------------------------------------- /test/unit/usersTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/usersTest.js -------------------------------------------------------------------------------- /test/unit/utilsTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/unit/utilsTest.js -------------------------------------------------------------------------------- /test/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jembi/openhim-core-js/HEAD/test/utils.js --------------------------------------------------------------------------------