@tibco-software/cli-plugin-asyncapi

1.0.0 • Public • Published

CLI Plugin AsyncAPI for TIBCO Cloud™

This plugin will help you to generate a sample Flogo® app from AsyncAPI spec(v2.1.0).
Supported protocols are:

  • Apache Kafka
  • MQTT
  • HTTP
  • WebSocket

Every publish operation of a channel will be transformed into a trigger.
Every subscribe operation of a channel will be transformed into a write activity of a flow.

NOTE: Transformation for HTTP is based on some assumptions (see HTTP example specs), it is better to have them written in OpenAPI format.

Usage

Install Plugin
  $ tibco plugins:install @tibco-software/cli-plugin-asyncapi
USAGE
  $ tibco asyncapi:transform [flags] <args>

Commands

tibco asyncapi:transform

Transform AsyncAPI spec to Flogo

USAGE
  $ tibco asyncapi:transform

OPTIONS
  -f, --from=from          (required) Path to the source file
  -s, --server=server      (required) Server name in asyncapi spec. Comma separated servers incase of Kafka Cluster
  -t, --to=flogo|asyncapi  [default: flogo] conversion type
  --config=config          Path to the local config file
  --no-warnings            Disable warnings from command's output

EXAMPLE
  tibco asyncapi:transform --to flogo --from ./asyncapispec.json

See code: src/commands/asyncapi/transform.ts

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

Package Sidebar

Install

npm i @tibco-software/cli-plugin-asyncapi

Weekly Downloads

3

Version

1.0.0

License

BSD-3-Clause

Unpacked Size

93.8 kB

Total Files

25

Last publish

Collaborators

  • sgantaya
  • vnalawad-tibco
  • fcastill
  • sagardeshpande
  • amanojja
  • sharishc
  • rgaidhan
  • hiteshnembhwani
  • varpatil
  • hpeters