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.
For PAT token : {username}:{PAT}
eg. abc@xyz.net:c3dhdGkubGFtYmFAcHVibGljaXNzYXB
Fill in all the details like Connection-Name, BaseUrl, PAT, etc., and click on save.
Steps to edit configuration details
Go to the existing Azure Repo connection.
Select the connection and click on the edit icon.
Change 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.
Now before submitting, check-in the submit preview form everything should be there, pat is encrypted, so its length will be 1 more than what you have entered.