IRIS-NativeAPI-Nodejs-compact

Downloads15
Subscribe
0
Bookmark
2
This application is not supported by InterSystems Corporation. Please be notified that you use it at your own responsibility.
Details
Releases
Reviews
Screenshots
Issues
Videos
Articles
Reports

What's new in this version

clean up repo

IRIS-Nodejs-API-compact

an all-in-1 package of the WebSocket MicroService Demo

To simplify the demo of the WebSocket-Micro-Server (WSockClientMicroSV)
the whole package is now bundled into a single Docker Image

V2

Structure of the repo and installation are now adjusted to OEX standards

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

Clone/git pull the repo into any local directory

  git clone https://github.com/rcemper/IRIS-NativeAPI-Nodejs-compact.git

Open the terminal in this directory build and run the container:

  docker-compose up -d   

How to use it

From the same terminal start the IRIS based client and prepare your orders

  docker-compose exec iris iris session iris %ZSocket

on WebTerminal it is simply

USER>do ^%ZSocket

Open a new terminal on the download directory and start the node based service

  docker-compose exec iris node /opt/irisbuild/WsockIris.js

or open a new WebTerminal to start the client

USER>write $ZF(-1,"cd /opt/irisbuild  &&  node WsockIris.js")  

The sequence of these commands is important ! Now it connects to IRIS and executes its orders

Result 1 Result 2

Article in DC

Rating
5 (1)
Category
Technology Example
Works with
InterSystems IRIS
Tags
Info
Version
2.0.2
Last updated
2022-12-05
Repository
Open
Documentation
Open
License
Link