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

  1. Navigate to the location of NodeRed installer, and then copy the postman collection from the directory {{Node red installer}}/nodered/Postman_collections.
  2. Access the Postman application from Windows machine, then select Import.

    The Import window appears.

  3. Select Upload Files, then browse and select the NodeRed Post Config.postman_collection.json and NodeRed_Post.postman_environment.json files.
  4. Select the check boxes for the two files (NodeRed Post Config.postman_collection.json and NodeRed_Post.postman_environment.json), then select Import.
  5. In the right pane, in the Environment field, select NodeRed_Post from the list.
  6. Select Settings.

    The Settings dialog box appears.

  7. If UAA is running on the self-signed certificates, then disable SSL certificate verification by clicking the toggle button.
  8. Select the collection, then select Run collection.
  9. In the Delay field, type 1000.
    It takes about one second to proceed to the next call.
  10. 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.

What to do next

Access NodeRed application from the Configuration Hub application. The plugin pa-nodered is available in the left navigation pane of Configuration Hub.