Skip to content

AbsyssLab/vtom-azure-logic-app

Azure Logic App Connector

License  en

This integration allows you to trigger and track a Logic App in Azure from Visual TOM.

Disclaimer

No support or warranties will be provided by Absyss SAS for this project and associated files. Use is at your own risk.

Absyss SAS cannot be held responsible for damages caused by the use of any files made available in this Github repository.

Consulting days can be requested for implementation.

Prerequisites

  • Visual TOM 7.1.2 or higher
  • Python 3.x or higher
  • Azure Logic App resource
  • Install required python packages with pip: pip install -r requirements.txt

Instructions

  • Windows :

    • Place the files submit_queue_azurelogicapp.bat & Azure_Logic_App.py in the %ABM_BIN% directory
    • Declare the queue on the agent (see administrator guide)
  • Linux/Unix :

    • Place the files tom_submit.azurelogicapp & Azure_Logic_App.py in the $TOM_ADMIN directory
    • Declare the queue on the agent (see bash administrator guide)
  • Variables are only useful for generating a token, not necessary if using direct_url

  • Create an Azure_Logic_App Context and define the following environment variables:

    • 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_CERT_PATH: Certificate path
    • AZURE_CERT_PASSWORD: Certificate password *** AZURE_CLIENT_SECRET or AZURE_CERT_PATH/AZURE_CERT_PASSWORD depending on your configuration
  • Create in Visual TOM a "Custom Application" connection with the following definition or import the MyApplication-AzureLogicApp.xml file:

vtimport -x -f MyApplication-AzureLogicApp.xml

Custom application screenshot

  • Direct URL to put in a text resource with "" Custom application screenshot

Parameter descriptions:

  • resource_group : Resource group of your Azure, empty if direct_url
  • logic_app_name : Name of the application to trigger, empty if direct_url
  • trigger_name : Name of the trigger in the Logic App, Ex: When_a_HTTP_request_is_received/Manual, put auto or empty if you use the direct url
  • max_wait : Maximum duration for tracking the Logic App on VTOM (synchronous), 0 with direct_url
  • direct_url : Direct URL without going through token management (Only handles launching, no tracking with this mode), leave empty if using token mode

The integration returns specific codes for errors

License

This project is licensed under Apache 2.0. See the LICENSE file for more details.

Code of Conduct

Contributor Covenant

Absyss SAS has adopted the Contributor Covenant as a Code of Conduct and expects project participants to adhere to it as well. Please read the complete document to understand which actions will or will not be tolerated.

About

Repository for the Visual TOM to Azure Logic App connector

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 2

  •  
  •