Creating a pattern instance

Create resources from the pattern.

Before you begin

First download and install a pattern in your IBM® App Connect Enterprise Toolkit. For more details, see Downloading and installing a pattern.

About this task

If you installed a pattern but not created a pattern instance yet, follow the steps here to create your resources.

Procedure

  1. On the Pattern Specification tab page that opens, click Create New Instance.
  2. Enter the name appropriate to the instance that you’re creating and click OK.
    You cannot use the following names:
    The Pattern parameters page opens.
  3. Add your parameters in fields that are provided and click Next until you get to the final page.
    The green tick confirms that all the mandatory configuration is complete.
  4. Click Generate and your instance is created.
    You are taken to the Application Development view and your pattern instance and application folders with created resources are shown.

    If you created other pattern instances previously and they are not showing, click the last icon with the vertical three dots on the Application Development view toolbar, then click Deselect working set to see all your patterns and application folders.

    You can use the Working set options to focus on one pattern you are working with.

    You can now use the resources in your application folder to deploy your solution.

  5. Optional: Alternatively, start from the Patterns Explorer view to create a pattern instance. You can see which patterns are installed next to the pattern name in the Patterns Repositories folder. If a pattern is not installed, you can right click the pattern and click Download and install.
  6. Optional: Under the Patterns folder, find the newly installed pattern, right click it and then click Create New Instance.
    You can now create your instance by completing steps 3. and 4.

Results

Following a successful Generate action:
  • A pattern instance project is created in your workspace and is displayed in the Application Development view. The pattern instance project contains a pattern instance configuration file.
  • All the resources that are generated for a pattern instance are packaged into their own working set and the Application Development view displays only the resources in this working set. The name of the working set is always the same as the pattern instance name provided. This name must always be unique within the workspace.
  • You can regenerate the pattern by using the same instance name, but, if you confirm the regeneration, existing projects are deleted.

What to do next

Now, complete the following task: