Klevr Product Documentation logo

Upgrade to v5.0.0

Points to be aware of when upgrading an existing Integration Hub installation from v4.0.0 to v5.0.0.

When upgrading an existing Integration Hub installation from v4.0.0 to v5.0.0, please be aware of the following points.

Removal of the Deploy Bicep File

The deploy.bicep file for deploying Integration Hub resources has been moved out of the customer repository and into the core Klevr Integration Hub repository. This makes it easier to change the definition of the deployed Azure resources when required.

As a result, remove the deploy.bicep file from the customer repository when upgrading, and add these new environment library variables:

  • businessUnitEmail
  • businessUnitName

Change to Owner Code

In the environment libraries, the ownerCode variable is now the businessUnitCode variable.

Changes to the Customers File

The customers file is now called the domains file.

In the renamed file:

  • A new deployMode setting is now required, and must be set to Standard for upgrades. If you wish to upgrade from Integration Hub v4.0.0 and switch to the Consumption mode of deployment, delete your current Integration Hub environment from Azure, and re-deploy the environment and integrations from scratch.
  • The deployCosmos setting has been renamed to deployStorageServices.

Please ensure that the customers file is updated to address this change as part of the upgrade to Integration Hub v5.0.0.

Update to JavaScript Transformations

With the introduction of support in Integration Hub v5.0.0 for deploying using either Standard or Consumption mode Logic Apps, an update to how Transform JavaScript Stages operate has been made, to provide a consistent experience regardless of the mode of deployment.

  • The implementation of JavaScript is now based on ClearScript. As a result, review and test all JavaScript schema files for compatibility with ClearScript before a production deployment, as part of upgrading from Integration Hub v4.0.0.
  • The Transform JavaScript Stage page has been updated with more information on how JavaScript schema files should be written to assist with this update.

Update to Liquid Transformations

With the introduction of support in Integration Hub v5.0.0 for deploying using either Standard or Consumption mode Logic Apps, an update to how Transform Liquid Stages operate has been made, to provide a consistent experience regardless of the mode of deployment.

  • The implementation of Liquid is now based on DotLiquid. As a result, review and test all Liquid schema files for compatibility with DotLiquid before a production deployment, as part of upgrading from Integration Hub v4.0.0.
  • The Transform Liquid Stage page has been updated with more information on how Liquid schema files should be written to assist with this update.

Store Responses Using the Outbound Proxy API Stage

The Outbound Proxy API Stage now has an emitEvent option for storing the response of the outbound API call and emitting it as a payload. This means that it can now behave in the same way as the Outbound Proxy API Store Response Stage.

This approach is preferred as the stage name is shorter, and switching to the Outbound Proxy API Stage is encouraged.

Last updated on