For more information go to Python SDK Connect documentation.
The example uses the scenario developed in Apiary that simulates a Vendor System API.
In the python SDK, folder examples/apiary_scenario has placed the scripts that run a middleware to execute the workflow.
Connect Python SDK work with Python version Python 2.7+ or Python 3.4+
To install the Connect Python SDK from a terminal window type:
# pip install connect-sdk
There are two scripts and both extend the class automation.py. This class allows to automate process of Connect in a easy way:
asset_request_workflow.py: This connects with the Vendor System using an example of API Vendor System implemented in Apiary.io and documented in the Cloudblue Connect Documentation Portal:
This module creates a tenant in the Vendor System when it is created in Cloudblue Connect.
asset_accept_worlflow.py: This connects with the Vendor System using an example of API Vendor System implemented in apiary.io and documented in the Cloudblue Connect Documentation Portal.
This module accepts the Purchase Request into Connect when the tenant is ready in the Vendor System.