Consider the following scenario and best practices:
A Developer creates the first set of assets in the development environment. These include
Process proc1
that uses
Connection cn1
, which in turn uses
Service Connector svc1
. The Developer tags them as
v1
.
When the Developer needs to deliver the first drop to QA: Use the CLI utility and perform the following steps for source control:
Uses
iics list -q "tag==v1" -o assetlist
to get the list of assets tagged with v1 and write them into the assetlist file.
Use
iics export -f assetlist
to export all the assets.
Use
iics extract
to extract all the assets to the Source Control Management (SCM) local workspace.
When QA needs to consume the first drop: Use the CLI utility and perform the following steps for deployment:
Use
iics package -o assetlist
to create the import package.
Use
iics import
to import the assets into the QA organization.
Use
iics publish
to publish the assets in the organization. Ensure that you publish the dependencies first and then the dependents. This can be done by publishing the assets in the following order: Service Connectors, App Connections, Processes, and Guides.