Products | Versions |
---|---|
TIBCO Data Virtualization | All supported versions |
Configuring VCS in TIBCO Data Virtualization (TDV) with GitHub that uses Personal Access Tokens for Enterprise accounts requires a few additional steps in comparison to the individual accounts. These are detailed below:
1. Authorize the repository for the Personal Access Token
Log into GitHub > Select the user profile on the right top corner > Settings > Developer Settings > Personal access tokens.
For the token that is generated, click "Configure SSO" as seen in the screenshot > Select the private repository for your organization, which will be configured with TDV to check in the resources, and save the changes.
2. Manage access for for the repository
Select the repository that will be used to configure with TDV > Go to "Settings" > Collaborators and teams > Manage access.
Search and add users. For these users, assign them roles like "Admin/Maintain/Write/Triage/Read' as applicable. Save the changes.
Following this, in TDV, login to Studio > VCS > Manage connections.
For Type, select "GIT"
URL: This is the URL for the repository
Under Verify Connection
User: username of the user who have access to manage the repository/admin of the repository
Password: Personal access token generated for the user
Click "Verify". Once the verification is successful, proceed to set the Branch from the dropdown. By default this is "Main"
Click "Set Encryption" to set the encryption password.
Now, "Create" tab should not get enabled.
Proceed to use the GitHub repository to check in the resources.
Note: At the time of writing this article, GitHub VCS requires the user to provide the credentials each time a user commits / make any changes to the repository. This is a design requirement.