Git Integration for Azure Repos

Configure Git Integration in Azure Repos.

Overview

You can use Azure Repos with SnapLogic Git Integration. It involves registering in Azure Repos and entering the information from that registration to configure the SnapLogic Git integration.

  • In Azure Repos:
    • An Azure Repos repository for SnapLogic assets
    • Azure organization administrator permissions to configure the organization settings and to register an app
    • The Third-party application access via OAuth policy enabled for the Azure organization
  • In SnapLogic:
    • Subscription to the SnapLogic feature Microsoft Azure DevOps Repository for each environment (known as Org in Classic Manager)
    • SnapLogic Environment admin ( known in Classic Manager as an Org admin) permissions

Steps

  1. In Azure Repos, follow the instructions to register your app.
    Note: You must register at least once for each control plane that you use. Multiple SnapLogic environments can use the same registration.

    Register an app - details form

    Use the following values:
    Field Value
    Application website https://control-plane-name

    Example:

    Where control-plane-name is the control plane you are using. For example,
    • elastic
    • uat
    • emea
    Authorization callback URL https://control-plane-name/api/1/rest/asset/app/oauthcallback

    Example: https://cdn.control-plane-name.snaplogic.com/api/1/rest/asset/app/oauthcallback

    Where control-plane-nameis the control plane you are using. For example,
    • elastic
    • uat
    • emea
    Authorized scopes The following selections are required:
    • User profile (write)
    • Code (full)

    Result: The Application Settings page displays information that you will need to set up Git integration in SnapLogic.

  2. Toggle On the Third-party application access via OAuth setting for your organization in the Azure Repository. You can find this setting at Organization Settings > Security > Policies > Application connection policies.


    Azure Repo Setting - Third-party Access to OAuth

    In SnapLogic Classic Manager, go to Settings and click Configure Git.


    Manager - Settings - Git Integration

    In the Configure Git dialog, configure the settings for Git Integration with Azure Repos.

    1. From the Git integration type dropdown, select Microsoft Azure Devops Repository.
    2. Copy the values from the Azure Repos Application Settings.
    In SnapLogic Copy from Azure Repos

    Configure Git dialog


    Application Settings of the newly registered app

    App ID App ID
    App Secret App Secret
    Base URL

    Accept the default https://dev.azure.com/.

    Client Secret Client Secret
    Authorization callback URL

    Set to https://control-plane-name/api/1/rest/asset/app/oauthcallback.

    Where control-plane-name is the control plane you are using. For example,
    • elastic
    • uat
    • emea
    Authorized Scopes Authorized Scopes

    In SnapLogic Admin Manager, navigate to System Configuration and select Git Integration. In the Git Integration page, configure the settings for Git integration with Azure Repos.

    1. From the Git integration type dropdown, select Microsoft Azure Devops Repository.
    2. Copy the values from the Azure Repos Application Settings.
    In SnapLogic Copy from Azure Repos

    Configure Git dialog


    Application Settings of the newly registered app

    App ID App ID
    App Secret App Secret
    Base URL

    Accept the default https://dev.azure.com/.

    Client Secret Client Secret
    Authorization callback URL

    Set to https://control-plane-name/api/1/rest/asset/app/oauthcallback.

    Where control-plane-name is the control plane you are using. For example,
    • elastic
    • uat
    • emea
    Authorized Scopes Authorized Scopes
All projects within the SnapLogic organization have access to Azure Repos.
The assets must be checked out for each project.