Packaging and distribution
With the connector complete, you need to package it up, deploy it to a location where i2 Analyze can find it, and test that it still works correctly.
Packaging the connector
To package the connector for distribution:
Open a terminal window at the root of the connector project directory.
Run the following commands:
npm run build npm pack
The commands create a file named my-connector-0.1.0.tgz
that you will use during deployment.
Deploying the connector using analyze-containers
To deploy the packed connector, run through the instructions starting here. After deployment, test that the connector behaves as expected, as described here.