/M-Web-Server

A GT.M and Caché compatible HTTP server

Primary LanguageMApache License 2.0Apache-2.0

M Web Server

This source tree represents an 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 for the maintainer to remember how to package this when it gets updated.

  • After editing and committing the routines, update WWWINIT with the new version number to be.
  • Pack WWWINIT into WWWINIT.RSA with PackRO.py from the OSEHRA/VistA repo.
  • Pack MWS.RSA like this: ../VistA/Scripts/PackRO.py $(find src -name '*.m' -not -name 'WWWINIT.m') > dist/MWS.RSA
  • git tag the new version number; and git push --tags
  • Test on GT.M and Cache

Links