IRIS-NativeAPI-Nodejs-compact

Downloads11
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

What's new in this version

  • adjust public WSS echo server
  • add Demo Server
  • add WebTerminal
  • add Code Quality

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 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

Demo Server SMP
Demo Server WebTerminal

Code Quality

Rating
0 (0)
Category
Technology Example
Works with
InterSystems IRIS
Tags
Info
Version
2.0.1
Last updated
2022-04-20
Repository
Open
Documentation
Open
License
Link