0.0.4 • Published 2 years ago
@solace-community/asyncapi-importer v0.0.4
AsyncAPI To SolacePubSub+ Event Portal
This tool is used to import an AsyncAPI spec file to Event Portal
Installation
You have two ways to use this cli tool
1. Install global executable
npm install @solace-community/asyncapi-importer -g
2. Using NPX
npx @solace-community/asyncapi-importer [OPTIONS]
Usage
a2ep -f <path_to_AsyncAPI_file>
Environment Variables
This tool assumes you have defined your Solace Cloud Token as an environment variable
Env Variable | Description | Required/Optional |
---|---|---|
SOLACE_CLOUD_TOKEN | Solace Cloud Token with the right EP access | Required |
Command line arguments
Flag | Description | Notes | Notes |
---|---|---|---|
-f, --file | Path to AsyncAPI file | Required | |
-d, --domain | Event Portal Application Domain Name | Optional | if not defined --> asyncAPI extension |
-dID, --domainID | Event Portal Application Domain ID | Optional | if not defined --> asyncAPI extension |
To-do
- Add Enum support