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 Org
    • SnapLogic Org admin permissions
  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 Orgs 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)
    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

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

    Manager - Settings - Git Integration

  4. 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
All projects within the SnapLogic organization have access to Azure Repos.
The assets must be checked out for each project.