Giter Club home page Giter Club logo

emr-mediator-elmis's Introduction

eLMIS to EMR Mediator

Codacy Badge Java CI Badge Coverage Status

An OpenHIM mediator for handling system integration between eLMIS and EMR systems.

1. Dev Requirements

  1. Java 1.8
  2. IntelliJ or Visual Studio Code
  3. Maven 3.6.3

2 Configuration Parameters

The configuration parameters specific to the mediator and destination system can be found at

src/main/resources/mediator.properties

# Mediator Properties
mediator.name=eLMIS-to-EMR-Mediator
mediator.host=localhost
mediator.port=3106
mediator.timeout=60000
mediator.heartbeats=true

core.host=localhost
core.api.port=8080
[email protected]
core.api.password=openhim-password

The configuration parameters specific to the mediator and the mediator's metadata can be found at

src/main/resources/mediator-registration-info.json

{
  "urn": "urn:uuid:0d32b3e0-45d5-11ec-ad0a-3bccdeca8e69",
  "version": "0.1.0",
  "name": "eLMIS to EMR Mediator",
  "description": "A mediator for handling system integration between EMR and eLMIS",
  "endpoints": [
    {
      "name": "eLMIS to EMR Mediator Route",
      "host": "localhost",
      "port": "3106",
      "path": "/rnr-status",
      "type": "http"
    }
  ],
  "defaultChannelConfig": [
    {
      "name": "eLMIS to EMR Mediator",
      "urlPattern": "^/rnr-status$",
      "type": "http",
      "allow": ["elmis-role"],
      "routes": [
        {
          "name": "eLMIS to EMR Mediator Route",
          "host": "localhost",
          "port": "3106",
          "path": "/rnr-status",
          "type": "http",
          "primary": "true"
        }
      ]
    }
  ]
}

4. Deployment

To build and run the mediator after performing the above configurations, run the following

  mvn clean package -DskipTests=true -e source:jar javadoc:jar
  java -jar target/emr-mediator-elmis-<version>-jar-with-dependencies.jar

emr-mediator-elmis's People

Contributors

cozej4 avatar codacy-badger avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.