A GT.M and Caché compatible HTTP server
Branch: master
Clone or download
Pull request Compare This branch is 135 commits ahead, 3 commits behind OSEHRA-Sandbox:master.
shabiel Merge pull request #22 from ChristopherEdwards/json-decode-key-escaped
Add support for escaped keys in JSON decoder
Latest commit b6a9706 Feb 19, 2019

README.md

M Web Server

This source tree represents a web (HTTP) server implemented in the M language. It is maintained by OSEHRA, the Open Source Electronic Health Record Agent.

Purpose

This project aims to provide standardized and easy to deploy RESTful web services from M and from VISTA. The software can also serve file-system based resources that can take advantage of the web services.

This project is based off code contained in the Health Management Platform (HMP) JSON store.

Install

See INSTALL.md.

Developer Documentation

See the doc folder.

Packaging

This section is to help the maintainer remember how to package this when it gets updated. We rely on the github tag for automated installation. The OSEHRA VistA repo contains the PackRO script which is used here.

  • After editing and committing the routines, update WWWINIT with the new version number to be.
  • ../VistA/Scripts/PackRO.py src/WWWINIT.m > dist/WWWINIT.RSA
  • ../VistA/Scripts/PackRO.py $(find src -name '*.m' -not -name 'WWWINIT.m') > dist/MWS.RSA
  • Update the Install Documentation with the new version number.
  • Commit and push
  • git tag the new version number; and git push --tags
  • Test on GT.M and Cache

Links