Skip to content

SolaceLabs/solace-postman-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solace Postman Plugin

This utility connects to the Solace Event Portal collects the consumers for an application version and outputs a Postman collections file that can then be imported to Postman. Note that the events are converted to POST requests sent to the Solace PubSub+ broker on the REST Port.

This repository contains one way of using Event Portal with other tools. Check out the Supercharge your Software Development Lifecycle with PubSub+ Event Portal blog to learn about other ways you can use Event Portal to throughout your SDLC.

How to run

  1. git clone https://github.com/SolaceLabs/ep-to-postman.git
  2. cd ep-to-postman
  3. npm install
  4. export SOLACE_CLOUD_TOKEN="my solace cloud token"
  5. node index.js -a "My Applicaiton Name" -av 0.1.0 -o my_postman_collection.json

Below are the following options

Flag Description Type Default
-v, --version Outputs the version number
-a, --applicationName The target application in Event Portal
-av, --applicationVer The target application version in Event Portal
-h, --host Destination Solace PubSub+ Broker in the form of host:port <protocol>://<host>:<port> https://mroyppj81pus7.messaging.solace.cloud:9443
-u, --user Destination Solace PubSub+ Broker username:password <username>:<password> default:default
-o, --output Destination Solace PubSub+ Broker SEMP credentials <application_collections>
--help Output file name

Development

To run this cli tool locally

  1. Clone this repo
  2. npm install
  3. node index --help

Contribution

To contribute to this CLI tool

  1. Fork this repo
  2. Update the package.json version number
  3. Make a PR

To-do

Feature requests are found as issues

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors