This integration allows you to trigger and track a Logic App in Azure from Visual TOM.
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.
- 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
-
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)
- Place the files
-
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)
- Place the files
-
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 subscriptionAZURE_TENANT_ID
: Tenant ID of your Azure Active DirectoryAZURE_CLIENT_ID
: Client ID of your Azure Active Directory applicationAZURE_CLIENT_SECRET
: Client secret of your Azure Active Directory applicationAZURE_CERT_PATH
: Certificate pathAZURE_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
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
This project is licensed under Apache 2.0. See the LICENSE file for more details.
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.