Coder Social home page Coder Social logo

hcl-tech-software / domino-rest-sdk-nodered Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 1.6 MB

NodeRED nodes to access HCL DomIno REST API

Home Page: https://opensource.hcltechsw.com/Domino-rest-api/index.html

License: Apache License 2.0

HTML 27.25% JavaScript 72.75%
domino nodered nodered-nodes rest-api

domino-rest-sdk-nodered's Introduction

NodeRED access to HCL Domino's REST API

(C) 2023 HCL America Inc. Apache-2.0 license https://www.apache.org/licenses/LICENSE-2.0

npm

This repository contains the NodeRED nodes to interact with the HCL Domino REST API. It uses the Domino REST API SDK for NodeJS under the hood.

SDK Model

Installation

Install the palette manager or npm like any other NodeRED node

npm install @hcl-software/node-red-domino

The installation will add one node in network and two related configuration nodes. Domino Node. Each node gets configured with a credential and a connection configuration node. Multiple Domino can share the same Credential and Connection node.

Usage

Each Domino Node can be configured to execute one OperationId. The node translates the OperationId into the actual operation URL and checks for mandatory parameters.

Configuration

A new Node and the related configuration nodes show regular entry fields:

Domino Node Domino Credential Node Domino Connection Node

After saving and re-opening the dialogs query the server and populate the drop-down list:

Domino Node Domino Node Domino Credential Node Domino Connection Node

Check the node help and the official Domino REST API Documentation for details, especially around Operation IDs

Flows

  • refer to the exsample directory
  • all parameters (well most of) are in the msg.payload
  • payload can have a params object for parameters and a body object for request bodies. Both objects are optional
  • You can specify a msg.unid to interact with one document
  • responses that can have more than one result (lists, query) emit on result for each entry. This can be switched off using single result (no splitting)

Known limitations

  • To take advantage of the selection list, you need to add the Credential and COnnection Configuration Nodes and close the DOmino Node. On Open the configuration queries teh server and offers APis, scope and OperationIds found on your selected server.
  • th http response node can't send chunked responses, so in a http flow you need to select single result (no splitting)
  • authentication using username/password olny (for now)

Documentation

SDK Model

Feedback & Contribution

Changelog

0.1.0 November 2023 Release

  • initial release

domino-rest-sdk-nodered's People

Watchers

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