(C) 2023 HCL America Inc. Apache-2.0 license https://www.apache.org/licenses/LICENSE-2.0
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.
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.
Each node gets configured with a credential and a connection configuration node. Multiple Domino can share the same credential and connection node.
Each Domino node can be configured to execute one operation ID. The node translates the operation ID into the actual operation URL and checks for mandatory parameters.
A new node and the related configuration nodes show regular entry fields:
After saving and re-opening the dialogs query the server and populate the drop-down list:
Check the node help and the official Domino REST API Documentation for details, especially around operation IDs
- Refer to the example directory.
- All parameters (well most of) are in the
msg.payload
. - Payload can have a
params
object for parameters and abody
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)
.
- 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 the server and offers APIs, scope and operation IDs found on your selected server.
- The HTTP response node can't send chunked responses, so in a HTTP flow you need to select
single result (no splitting)
.
- Issues
- OpenNTF discord
- Pull requests accepted - Contributions
- Code of conduct
- initial release
-
Credential configuration node now has three authentication types:
- basic
- oauth
- token