google-storage

This section describes how to integrate Google Storage with IntegrationManager. This guide will walk you through the steps required to set up Google Storage and use it as a data source or destination within the IntegrationManager platform.

Prerequisites

Before you begin, make sure you have the following prerequisites in place:

  1. Access to PlatformManager.

  2. Provisioned IM instance version 4.6 and newer.

  3. Google Cloud Platform (GCP) project with Google Storage enabled.

  4. Google Cloud Storage bucket created within your GCP project.

  5. Necessary IAM roles and permissions to read from / write to the Google Storage bucket.

Using Google Storage in IntegrationManager

  1. Download the service account key.

  2. Add the service account key to your properties.

  3. Convert the service account key into a base64 string. On UNIX you can use this command:

    cat myServiceKey.json | base64
  4. Use the converted base64 value, add a prefix “base64:”, go to PlatformManager and encrypt this property for your IM instance in Account > Integrations > your IM instance > Settings > Runtime Properties. Click Deploy Property. For more information on properties encryption see PlatformManager documentation.

  5. Create a route with the required functionality and use the property as serviceAccountKey.

 

application.properties

serviceAccountKey={ENC}dsadasdrwee24=223

route

<route> <from uri="google-storage://pricefx-test?serviceAccountKey={{serviceAccountKey}}"/> <log message="File is here"/> </route>

This example will list all files in the bucket pricefx-test.

IntegrationManager version 5.8.0