Application Integration samples

This repository contains samples for Application Integration.

Overview

This repository contains sample integration code snippets that demonstrate various integration related use cases. Each sample is a JSON file containing all integration metadata. For information about how to download and upload an integration using Application Integration, see Upload and download integrations.

Repository structure

  • All integration samples are placed in the src/ directory
  • The assets directory can be used for any standalone files that are used within the samples or for our public documentation purposes
├── application-integration-samples
│   ├── assets
│   │   ├── ...
│   ├── src
│   │   ├── <sample-name-1>
│   │   │   ├── sample-name.json
│   │   │   ├── sample-name-flow.png
│   │   │   ├── ...
│   │   │   └── README.md
│   │   ├── <sample-name-2>
│   │   │   ├── sample-name.json
│   │   │   ├── sample-name-flow.png
│   │   │   ├── ...
│   ├── └── └── README.md
│   ├── CONTRIBUTING.md
└── └── README.md

Contributing

See the Contributing Guide

How to: View execution logs

Application Integration generates execution log messages for each run of an integration. The log messages contain information that can be helpful in determining the status of each step in an integration, or to troubleshoot a failed integration. For more information, see Execution logs.

Samples

Sample Description
sample-template Sample template
call-rest-api Sample to call a REST endpoint using a Rest Task
case-conversion Sample to convert a string using Data Mapping task
catch-task-error Sample to create an error
concat-string-array Sample to concat String array using Data Mpping task
ecom-order-processing Sample illustrating an e-commerce back-end scenario use case
ecom-order-processing-using-data-transfomer Sample illustrating an e-commerce back-end scenario use case solved using data transformer for data mapping
sftp-get-file Sample to get files from SFTP server
filter-json-arrays Sample to filter through JSON arrays
foreach-loop-send-email Sample to send email using a foreach loop task that calls another sub-integration
merge-json-arrays Sample to merge JSON using Data Mapping task
remove-json-property Sample to update JSON properties
resolve-json Sample to resolve JSON
update-json-array Sample to create a JSON object
string-to-uppercase Sample to convert a string to uppercase
upload-download-gcs-sftp Sample to upload/download to GCS/SFTP

Getting help

Please use the issues page to provide feedback or submit a bug report.

Disclaimer

The code samples in this repository are for demonstrative purposes only

Feedback

Please feel free to fill out our survey to give us feedback on the repo and its content.