All pages
Powered by GitBook
1 of 3

Loading...

Loading...

Loading...

Interoperability Layer Openhim

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:

  1. Checking the transactions logs

  2. Configuring the channels to route the events

  3. User authentication logs

  4. Service logs

  5. Rerun the transactions tasks

  6. 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.

Environment Variables

Listed in this page are all environment variables needed to run the interoperability layer Openhim.

Variable Name
Type
Relevance
Required
Default

Local Development

The Interoperability Layer is the base of the Platform architecture.

Accessing the services

OpenHIM

  • Console: http://127.0.0.1:9000

  • Username: root@openhim.org

  • Password: instant101

Testing the Interoperability Component

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.

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

OPENHIM_CORE_MEDIATOR_HOSTNAME

String

Hostname of the Openhim mediator

Yes

localhost

OPENHIM_MEDIATOR_API_PORT