Page tree
Skip to end of metadata
Go to start of metadata

Profiles are reusable configurations that can be linked into workflows through agent configurations, or via other profile configurations that are in turn linked into workflows. With few exceptions (where non-sharable storage is used) profiles can be shared between multiple workflows. All agents referring to the specific profile inherit the same settings from the fields of the profile.

Parameterizable Profile Fields

To make profiles reusable in an efficient way, some of them support a concept called Parameterizable Fields. Such fields makes it possible to have one configuration only, reusable both in development, test, and production systems. It also makes it easy to add support in CI/CD pipelines.

Note!

For instructions on how to define basic parameters, refer to External Reference Profile[hide]2.0[/hide].

A parameterizable profile field can be used as a template and its value can be set per workflow. The parameter syntax is ${category.name}. By using this syntax, a Dynamic Fields Tab[hide]2.0[/hide] of type string is created. The value of the field is set as a workflow parameter and the value will be replaced when the workflow is executed.

Profile fields supporting parameterization are marked with a (dollar sign) icon. Currently, the following profiles supports use of parameterization:


Example - How to parametrize and add a list of brokers for Kafka workflows

  1. In the Kafka profile , select the checkbox Use parameterized broker list and set a name for your list parameter, for example ${kafka.brokerList}:


  2. In your workflow, open up the Workflow Properties, and select your list parameter.


  3. Now you can set the list of brokers per workflow in your Workflow Table. Syntax notation must follow JSON standards:


    Note that you can also set the values through ECD HELM files:
   workflows:
  - template: "Default.wf1"
    instances:
    - name: "wf"
      useExtRef: "{}"
      parameters: "{\"brokers\":\"[{\\\"host\\\": \\\"localhost\\\", \\\"port\\\"\
        : 1337}, {\\\"host\\\": \\\"other-host\\\", \\\"port\\\":22}]\",\"topic\"\
        :\"my-topic\"}"


Note!

It is not possible to use External References.

Available Profiles

The following profiles are available:

  • No labels