Git Product home page Git Product logo

hip-atomfeed-listener's Introduction

Atomfeed listener

This is a forked repo from Bahmni/pacs-integration and was refactored for Hip initiated linking and notifying user on new care-context generation (both of them are ABDM features)

Pre-requisite

  • Java 1.8

To build a docker image,

mvn clean compile jib:dockerBuild

Note: you can change the image name in pom.xml

To start the hip-atomfeed and db container,

docker-compose up -d

By default, hip-atomfeed uses db container as its database. You can also connect to different database containers by specifying its url and credentials in environment variables

Note: By default, openmrs urls will be taken from hip-atomfeed/src/main/resources/atomfeed.properties unless OPENMRS_URL and OPENMRS_ENCOUNTER_FEED_URL are not specified in environment variables.

####< IMPORTANT >

Atomfeed set the markers to first page if you don't set it.

So, Set the markers manually after provisioning and before deployment.

Especially openmrs encounter feed as we are reading encounter feed to figure out the orders.

Use the following sql query to set the markers manually according to the events in your machine. (change the last_read_entry_id and feed_uri_for_last_read_entry )

insert into markers (feed_uri, last_read_entry_id, feed_uri_for_last_read_entry) values ('http://loalhost:8080/openmrs/ws/atomfeed/encounter/recent', '?', '?');

hip-atomfeed-listener's People

Contributors

sanofersameera avatar hemantheverest avatar swathivarkala avatar swatigogia2020 avatar kavitha-sundararajan avatar aj-jaswanth avatar hanisha93 avatar su-docker avatar preethisadagopan avatar pankajladhar avatar limitless-horizon avatar padmavati avatar sandye avatar buvaneswari-arun avatar binduak avatar lispyclouds avatar pushpadumpala avatar vinkesh avatar ujjavala avatar preethi29 avatar alagesann avatar ravidonapati avatar phoenixtw avatar mohan-13 avatar goyaldivij avatar rnjn 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.