Steps to enter new configuration details
...
To enter the details, go to KnowHOW Dashboard->Settings→Connections.
...
Click on New Connection Button to add an Azure Repo Configuration
...
In Connection Details pop-up window search box type azure Repo.
...
Table of Contents |
---|
Introduction
Explain how to add and edit Azure Repository connections in the PSknoHOW application, enabling seamless integration for users.
Add Connection
To add a new Azure Repository connection, select "Azure Repository" from the drop-down and click on the "New Connection" button.
...
A pop-up window will open then select connection type Azure Repository.
Fill in all the required fields to successfully save the connection; otherwise, a validation message will appear below the mandatory field textbox.
Save the connection.
...
Is Connection Private:
To make the connection private, tick the checkbox labeled "Private" This ensures that the connection is only accessible and visible to authorized users.
Azure Repo Connection Fields Description:
Label displayed on Config screen ( * for mandatory) | Sample Values | Field Description |
---|---|---|
Connection Name | This field provides a name for connection detail. | |
Base Url * | Repo Url | Repo URL |
PAT | abc@xyz.net:c3dhdGkubGFtYmFAcHVibGljaXNzYXB | Azure Repo username and PAT key, {username}:{PAT} |
eg. abc@xyz.net:c3dhdGkubGFtYmFAcHVibGljaXNzYXB
Fill in all the details like Connection-Name, BaseUrl, PAT, etc., and click on save.
...
The newly added Azure Repository connection will be displayed under the "Connections" tab on the connections screen.
...
Edit Connection
To edit Azure Repository connection
Go to the existing Azure
...
Repository connection
...
shown in the above image.
Select the connection and click on the edit icon.
...
Update the details on the pop-up window.
Click on the "Save" button
...
Workflow
The mapping between UI fields and MongoDB in tool_config collection
...
UI Field
...
MongoDB
...
URL
...
url
...
API Version
...
apiVersion
...
Repository Name
...
repositoryName
...
PAT TOKEN
...
pat
The mapping between REST API response and build_details collection in MongoDB
...
commit details
...
Rest API response
...
commit details
...
Rest API response
...
url
...
url
...
commitLog
...
comment
...
author
...
...
revisionNumber
...
commitId
...
commitTimestamp
...
committer.date
Note: Checkbox is not for saving multiple or data of your choice, whatever is present in the table above delete functionality, will be saved, check box is just for which fields we want to delete.
...
to update the connection details.