Creating and Deploying an Integration Flow

In this page, you will learn to:

Creating an integration flow

See a step-by-step on how to create a Source-type integration flow.

You can switch between Source Code and Diagram modes whenever you want. However, you can create and edit a flow only in Source Code mode. If the main.yaml is empty or if the script has incorrect CAMEL YAML DSL syntax, the Diagram view mode will be disabled.
  1. Create a new Source-type flow

    • Access the Integration Flows screen.

    • Click + NEW FLOW.

    • In the modal window that will open, add the integration flow’s name and version. Later you can edit them.

    • Select the Source design type.

    • Click SAVE.

  2. Write a description for the integration flow (optional)

    • Click configuration icon and select the option Description in the menu options.

  3. Add the integration flow’s script in the MAIN.YAML

  4. Use the Log component or EIP in the flow’s script to enable sending and viewing execution logs in Sensedia Analytics

    When viewing the logs, you can’t select the Trace and Debug levels.
  5. Save all the project

    • Click Save All.

Optionally, you can:

Validating an integration

To validate the main.yaml script file before deploying the integration, click on validate icon(Full Validation) in the upper right corner of the script editor.

If there are inconsistencies, such as structural and syntax errors, they will be listed at the bottom of the screen in the Errors section.

The main.yaml file will also be checked, and the inconsistencies listed:

  • When you click the Save All button in the upper right corner of the screen.

  • When you click the save icon in the upper right corner of the editor.

You cannot deploy a flow with inconsistencies, but you can still save it.

Deploying an integration flow

  1. Click DEPLOY

    • After finishing and saving the project, click DEPLOY in the upper right corner.

  2. Write a deployment description

    • In the modal window that opens, write a description in the Description field. After deployment, the description will be available on the Deployments screen under the Deployment History item in the Actions column.

  3. Select the deployment environment

    • In the Environment field, select the environment where you want to deploy the flow.

  4. Click DEPLOY

If there are variables in the integration script, their values will be automatically applied according to the selected environment (Staging or Production) during deployment.

deploy source

You cannot delete a flow with Undeployed status, only edit it.
To see examples of Source type flows, access Tutorials and Examples.
Thanks for your feedback!
EDIT

Share your suggestions with us!
Click here and then [+ Submit idea]