0.0.4 • Published 2 years ago

@solace-community/asyncapi-importer v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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 VariableDescriptionRequired/Optional
SOLACE_CLOUD_TOKENSolace Cloud Token with the right EP accessRequired

Command line arguments

FlagDescriptionNotesNotes
-f, --filePath to AsyncAPI fileRequired
-d, --domainEvent Portal Application Domain NameOptionalif not defined --> asyncAPI extension
-dID, --domainIDEvent Portal Application Domain IDOptionalif not defined --> asyncAPI extension

To-do

  • Add Enum support