IBM Cloud Pak for Integration only: Creating and reusing assets in an Automation assets instance
If you are using IBM® Cloud Pak for Integration, IBM Automation Foundation assets (formerly Asset Repository) provides a repository or catalog for storing, managing, and sharing integration assets across capabilities. You can add event-driven and API flows that you create to the Automation assets catalog for sharing, and can also search for and reuse flows that other users share. Flows that are stored in the catalog can be used as templates for building the same flow or a customized version within your development environment.
Before you begin
To store and reuse assets, you must have access to an Automation assets instance in which Designer AI features are disabled. A user with the admin
role typically creates the instance from the IBM Cloud Pak Platform UI and grants access to members of one or more teams. For
more information about creating an Automation assets instance, see Automation assets deployment in the Cloud Pak for Integration
documentation.
If you are using Cloud Pak for Integration 2023.4.1 or later, you must have
access to an App Connect Designer instance (of type Integration
design
) at version 12.0.10.0-r2 or later, and an Automation assets instance at version 2023.4.1 or later, which are deployed to the Platform UI in your cluster. In this environment, identity and access
management (IAM) is enabled by using Keycloak, which is used to
validate user identities and assign roles to grant access permissions. The App Connect Designer instance must also be created with a
CloudPakForIntegration*
style license. This value is set by the
spec.license.use parameter in the Designer custom resource. For more
information, see Identity and access management in the Cloud Pak for Integration documentation and Implementing identity and access management for App Connect Designer and App Connect Dashboard instances.
About this task
You can complete either of these actions when an App Connect Designer instance and an Automation assets instance (with Designer AI features disabled) are deployed in the Platform UI.
Adding a flow to the Automation assets catalog
From the App Connect Designer dashboard, you can add any of your flows to the Automation assets catalog for reuse. If you'd like to share YAML files for flows that were exported from other App Connect Designer instances, you can also directly add these files to the Automation assets catalog. When you add a flow as an asset, all its configuration settings, other than your connection details for the integrating applications, are preserved in the asset definition.
Procedure
To add a flow as an asset, complete either of the following steps:
Creating a flow from an asset
You can create a flow in App Connect Designer by importing an asset of type Designer Event-driven Flow or Designer API Implementation, which contains a flow definition, from the Automation assets catalog.
About this task
Because connection details are not saved with an asset, you’ll need to set up your own accounts for each application in the flow if you do not already have one. You’ll also need to ensure that the configuration settings for the nodes are validated in order to start and run the flow. You can add an account from the Catalog page or while within the flow or API editor. For information about the required connection details, see the How to guides for apps.
If required, you can customize the flow after you create it.
Procedure
To create a flow from an asset, complete the following steps:
What to do next
- After you successfully test the flow in your App Connect Designer authoring environment, export the flow as a broker archive (BAR) file that packages the integration.
- Upload the BAR file to an App Connect Dashboard instance and then deploy
the file to an integration server or integration runtime to run the integration in the production
system.
For more information, see Deploying Designer and Toolkit integrations in the App Connect Dashboard.