1.0.0 • Published 2 years ago
@tibco-software/cli-plugin-asyncapi v1.0.0
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
1.0.0
2 years ago
1.0.0-beta.4
2 years ago
1.0.0-beta.3
2 years ago
1.0.0-beta.2
2 years ago
1.0.0-beta.1
2 years ago