Skip to content

AbsyssLab/vtom-azure-data-factory

Azure Data Factory integration

License  fr

This integration allows to trigger and monitor Azure Data Factory pipelines from Visual TOM.

Disclaimer

No Support and No Warranty are provided by Absyss SAS for this project and related material. The use of this project's files is at your own risk.

Absyss SAS assumes no liability for damage caused by the usage of any of the files offered here via this Github repository.

Consultings days can be requested to help for the implementation.

Prerequisites

  • Visual TOM 7.1.2 or greater
  • Python 3.x or greater
  • Azure Data Factory resource
  • Install the required python packages using pip:
    pip install -r requirements.txt
  • Unix Agent (Windows usage will be available later)

Instructions

  • Create an Azure Application and set the following environment variables in config.py in the same folder (a template is available in the repository):
    • AZURE_SUBSCRIPTION_ID: Subscription ID of your Azure subscription
    • AZURE_TENANT_ID: Tenant ID of your Azure Active Directory
    • AZURE_CLIENT_ID: Client ID of your Azure Active Directory application
    • AZURE_CLIENT_SECRET: Client secret of your Azure Active Directory application
    • AZURE_DATA_FACTORY_RESOURCE_GROUP: Resource group of your Azure Data Factory
  • Create in Visual TOM a "Custom Application" connection with the following definition or import the file MyApplication-AzureDataFactory.xml:
vtimport -x -f MyApplication-AzureDataFactory.xml

Custom application screenshot

  • Create the batch queue on the Agents and update the submitter with actual path of azureDataFactory.py

Description of the parameters:

  • Data Factory: Name of the Data Factory
  • Pipeline: Name of the pipeline to trigger
  • Parameters (optional): JSON file or short JSON string of the parameters to pass to the pipeline
    • In case of JSON string, the parameter must start with "E<>|" to avoid "Resource not found" error

The integration returns specific codes for errors:

  • 90: Inconsistent parameters
  • 99: Activity failed or cancelled

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details

Code of Conduct

Contributor Covenant
Absyss SAS has adopted the Contributor Covenant as its Code of Conduct, and we expect project participants to adhere to it. Please read the full text so that you can understand what actions will and will not be tolerated.

About

Repository for the Visual TOM to Azure Data Factory connector

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •