Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. A subscription to the Git Integration for GHES

  2. Configuration of GHES and the network

  3. Configuration of the SnapLogic Org

Anchor
ghes
ghes
Configuring GHES to Work with SnapLogic

A GHES administrator must create an App in GHES to enable interaction between GHES and SnapLogic. In addition to the App, the network must be configured to allow communication between GHES and the SnapLogic control plane.

...

Anchor
creating_app
creating_app
Creating the GHES SnapLogic App

The steps outlined in this section are subject to change. If necessary, use the latest GitHub documentation on creating Apps for the general procedures.

...

  • The client secret and the .pem file that contains the Private Key.

  • The Public Link

  • The Client ID

  • The App ID

Anchor
configuring_network
configuring_network
Configuring the Network

A network administrator must perform the following to enable communication between GHES and SnapLogic:

...

Usage

Endpoint URL

List app installations accessible to the user access token

/api/v3/user/installations

List repositories accessible to the user access token

/api/v3/user/installations/1/repositories

Get a single reference

/api/v3/repos/OWNER/REPO/git/ref/REF

Pull

/api/v3/repos/OWNER/REPO/pulls

Create Commit

/api/v3/repos/OWNER/REPO/git/commits 

Get Commit

/api/v3/repos/OWNER/REPO/git/commits/COMMIT_SHA

Get Repo Contents

/api/v3/repos/OWNER/REPO/contents/PATH

Get a Blob

/api/v3/repos/OWNER/REPO/git/blobs/FILE_SHA

Create a blob

/api/v3/repos/OWNER/REPO/git/blobs

List Repo Tags

/api/v3/repos/OWNER/REPO/tags

Create New File

/api/v3/repos/OWNER/REPO/contents/PATH 

Create Git Tree

/api/v3/repos/OWNER/REPO/git/tree

Anchor
snaplogic
snaplogic
Configuring a SnapLogic Org to Work with GHES

As a SnapLogic Org admin, configure GHES in Manager as follows:

...

Next, individual SnapLogic users will need to authorize SnapLogic to interact with GHES.

Related Content