Listed in this page are all environment variables needed to run the interoperability layer Openhim.
OPENHIM_CORE_MEDIATOR_HOSTNAME
String
Hostname of the Openhim mediator
Yes
localhost
OPENHIM_MEDIATOR_API_PORT
Number
Port of the Openhim mediator
Yes
8080
OPENHIM_CORE_INSTANCES
Number
Number of openhim-core instances
No
1
OPENHIM_CONSOLE_INSTANCES
String
Number of openhim-console instances
No
1
OPENHIM_MONGO_URL
String
MongoDB connection string
Yes
mongodb://mongo-1:27017/openhim
OPENHIM_MONGO_ATNAURL
String
???????????
Yes
mongodb://mongo-1:27017/openhim
OPENHIM_CPU_LIMIT
Number
CPU limit usage for openhim-core
No
0
OPENHIM_CPU_RESERVE
Number
Reserverd CPU usage for openhim-core
No
0.05
OPENHIM_MEMORY_LIMIT
String
RAM usage limit for openhim-core
No
3G
OPENHIM_MEMORY_RESERVE
String
Reserved RAM for openhim-core
No
500M
OPENHIM_CONSOLE_CPU_LIMIT
Number
CPU limit usage for openhim-console
No
0
OPENHIM_CONSOLE_CPU_RESERVE
Number
Reserverd CPU usage for openhim-console
No
0.05
OPENHIM_CONSOLE_MEMORY_LIMIT
String
RAM usage limit for openhim-console
No
2G
OPENHIM_CONSOLE_MEMORY_RESERVE
String
Reserved RAM for openhim-console
No
500M
OPENHIM_MONGO_CPU_LIMIT
Number
CPU limit usage for mongo
No
0
OPENHIM_MONGO_CPU_RESERVE
Number
Reserverd CPU usage for mongo
No
0.05
OPENHIM_MONGO_MEMORY_LIMIT
String
RAM usage limit for mongo
No
3G
OPENHIM_MONGO_MEMORY_RESERVE
String
Reserved RAM for mongo
No
500M
MONGO_SET_COUNT
Number
Number of instances of Mongo
YES
1
The Interoperability Layer is the base of the Platform architecture.
OpenHIM
Console: http://127.0.0.1:9000
Username: root@openhim.org
Password: instant101
As part of the Interoperability Layer setup we also do some initial config import for connecting the services together.
OpenHIM: Import a channel configuration that routes requests to the Data Store - HAPI FHIR service
This config importer will import channels and configuration according to the file openhim-import.json
in the folder <path to project packages>/interoperability-layer-openhim/importer/volume.
The interoperability layer that enables simpler data exchange between the different systems. It is also the security layer for the other systems.
This component consists of two services:
Interoperability Layer - OpenHIM for routing the events
Mongo DB for storing the transactions
It provides an interface for:
Checking the transactions logs
Configuring the channels to route the events
User authentication logs
Service logs
Rerun the transactions tasks
Reprocess mediator launching
OpenHIM is based on two 3 main services, openhim-core as a backend, openhim-console as a frontend and mongo as a database.
It is a mandatory component in the stack and the entry point for all incoming requests from the external systems.