Deploy NodeRED in Configuration Hub Using Postman
When you run the setupNodered.sh file, the collection is created automatically.
About this task
You can run the collection (NodeRed Post Config.postman_collection.json and NodeRed_Post.postman_environment.json) using Postman.
Procedure
- Navigate to the location of NodeRed installer, and then copy the postman collection from the directory {{Node red installer}}/nodered/Postman_collections.
-
Access the Postman application from Windows machine, then select
Import.
The Import window appears.
- Select Upload Files, then browse and select the NodeRed Post Config.postman_collection.json and NodeRed_Post.postman_environment.json files.
- Select the check boxes for the two files (NodeRed Post Config.postman_collection.json and NodeRed_Post.postman_environment.json), then select Import.
- In the right pane, in the Environment field, select NodeRed_Post from the list.
-
Select Settings.
The Settings dialog box appears.
- If UAA is running on the self-signed certificates, then disable SSL certificate verification by clicking the toggle button.
- Select the collection, then select Run collection.
-
In the Delay field, type
1000.
It takes about one second to proceed to the next call.
-
Select Run Nodered Post Config.
This adds the scope and redirects the URL to the NodeRED client, and when the Postman runs successfully, it shows the status as pass.