Giter Site home page Giter Site logo

openmrs-module-webservices.rest's Introduction

Build Status Coverage Status

OpenMRS

OpenMRS REST Web Services Module

REST API for OpenMRS

Build Version OpenMRS Version

The module exposes the OpenMRS API as REST web services. If an OpenMRS instance is running the webservice.rest module, other applications can retrieve and post certain information to an OpenMRS database.

Download

If you are not a developer, or just want to install the REST Web Services module into your system, visit the module download page instead.

The required OpenMRS version to run the REST Web Services Module is 1.8.4+ or 1.9.0+

Build

To build the module from source, clone this repo:

git clone https://github.com/openmrs/openmrs-module-webservices.rest

Then navigate into the openmrs-module-webservices.rest directory and compile the module using Maven:

cd openmrs-module-webservices.rest && mvn clean install

๐Ÿ“Œ You will need Maven and Java 8 installed to successfully build and run the tests.

Developer Documentation

Integration Tests

Integration tests can be found in the integration-tests directory. They are written with JUnit and Rest-Assured. Before you can run integration tests you need to start up a server and install the module. You can run integration tests with:

mvn clean verify -Pintegration-tests -DtestUrl=http://admin:Admin123@localhost:8080/openmrs

You can skip the testUrl parameter, if it is the same for your server.

Wiki Pages

Page Description
REST Module The main module page with a description of the configuration options.
Technical Documentation Technical information about the Web Services implementation.
Core Developer Guide Description of how to add REST resources to OpenMRS core.
Module Developer Guide Description of how to add REST resources to OpenMRS modules.

API Documentation

The API documentation is available inside the OpenMRS application and is linked to the advanced administration screen. The URL should be something like:

http://localhost:8080/openmrs/module/webservices/rest/apiDocs.htm

Example Client code

Contributing to the API Documentation

The OpenMRS API documentation is built automatically using Swagger UI. For details on how to customize the documentation see the swagger-ui branch in the openmrs-contrib-apidocs repo.

License

MPL-2.0 w/ HD

openmrs-module-webservices.rest's People

Contributors

achilep avatar adamgrzybkowski avatar akmad avatar bartlomiejrasztabiga avatar cioan avatar djazayeri avatar dkayiwa avatar draggonz avatar dsurrao avatar gayanw avatar harsha89 avatar ibacher avatar kdaud avatar lluismf avatar mhawila avatar mogoodrich avatar mozzy11 avatar mseaton avatar openmrs-bot avatar pgutkowski avatar psbrandt avatar rkorytkowski avatar shruthidipali avatar sunbiz avatar surangak avatar suthagar23 avatar teleivo avatar theanandankit avatar tmarzeion avatar wluyima 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.