Prerequisites
To start using the Workflow Adapter SDK, you need to install a Golang environment, Protocol buffers, dedicated go plugins and download the Adapter SDK contained in the CWM software package.
Install Go
To develop and test an adapter, you need to install the Golang environment. Follow the installation instructions dedicated for your OS: https://grpc.io/docs/protoc-installation/.
Install Protocol buffers
To define an adapter interface and generate the input and output parameters, you need the Protobufs compiler. Follow the installation instructions dedicated for your OS: https://grpc.io/docs/protoc-installation/. Note that you need at least version 3.15 (proto3).
Install go plugins
Procedure
Step 1 |
Install additional protocol compiler plugins for go:
|
Step 2 |
Install protocol compiler plugin for JSON schema:
|
Step 3 |
Update your system PATH so that the
|
Get CWM Adapter SDK
Go to Cisco Software Download page to download the CWM Software Package, where the Adapter SDK resides.
Include the location of cwm-sdk-binaries by setting the environment variable path:
export PATH=/path/to/cwm-sdk-binaries:$PATH
Note |
Remember to replace the /path/to/ with your actual path. |