You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to configure the following in Azure DevOps:
39
39
- An [Azure DevOps account](https://azure.microsoft.com/en-gb/pricing/purchase-options/azure-account?icid=devops).
40
40
- An [Azure DevOps personal access token (PAT)](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows) with `Code: Read` permission.
41
-
{:.info}
42
-
> Your PAT expires after one year. Make sure that you renew it after it expires.
41
+
42
+
{:.warning}
43
+
> Your PAT expires after one year. Make sure that you renew it when it expires.
44
+
43
45
---
44
46
45
47
## Configure the Azure DevOps integration
46
48
47
49
Before you can discover Azure DevOps repositories in Catalog, you must configure the integration:
Once authorized, resources from your Azure DevOps account will be discoverable in the UI.
83
+
Once authorized, resources from your Azure DevOps account are discoverable in the UI.
60
84
61
85
## Create a Service in Catalog
62
86
63
-
Create a service that you’ll map to your Azure DevOps resources:
87
+
Create a service to map to your Azure DevOps resources:
64
88
65
-
[insert codeblock]
89
+
{% konnect_api_request %}
90
+
url: /v1/catalog-services
91
+
status_code: 201
92
+
method: POST
93
+
body:
94
+
name: "user-service"
95
+
display_name: "User Service"
96
+
{% endkonnect_api_request %}
66
97
67
98
Export the service ID:
68
99
69
-
[insert codeblock]
100
+
```sh
101
+
export AZUREDEVOPS_SERVICE_ID="YOUR-SERVICE-ID"
102
+
```
70
103
71
104
## List Azure Dev Ops resources
72
105
73
-
Before you can map your Azure DevOps resources to a service in {{site.konnect_catalog}}, you first need to find the resources that are pulled in from Azure DevOps:
106
+
Before you map Azure DevOps resources to a service in Catalog, locate the resources that {{site.konnect_short_name}} ingests from Azure DevOps:
> If you don't immediately see resources, you might need to manually sync your Azure DevOps integration. From the {{site.konnect_short_name}} UI, navigate to the Azure DevOps integration that you just installed. Then, from the **Actions** dropdown menu, select **Sync Now**.
114
+
If you don't immediately see resources, try manually syncing your Azure DevOps integration. From the {{site.konnect_short_name}} UI, navigate to the Azure DevOps integration that you just installed. Then, from the **Actions** dropdown menu, select **Sync Now**.
79
115
80
116
Export the resource ID you want to map to the service:
81
117
82
-
[insert codeblock]
118
+
```sh
119
+
export AZUREDEVOPS_RESOURCE_ID="YOUR-RESOURCE-ID"
120
+
```
83
121
84
122
## Map resources to a service
85
123
86
124
Now, map the Azure DevOps resource to the service:
87
125
88
-
[insert codeblock]
126
+
{% konnect_api_request %}
127
+
url: /v1/resource-mappings
128
+
status_code: 201
129
+
method: POST
130
+
body:
131
+
service: $AZUREDEVOPS_SERVICE_ID
132
+
resource: $AZUREDEVOPS_RESOURCE_ID
133
+
{% endkonnect_api_request %}
89
134
90
135
## Validate the mapping
91
136
92
137
To confirm that the Azure DevOps resource is now mapped to the intended service, list the service’s mapped resources:
Copy file name to clipboardExpand all lines: app/_how-tos/connect-azure-devops-to-the-konnect-catalog-with-the-konnect-ui.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Connect Azure DevOps repositories to Catalog with the {{site.konnect_short_name}} UI
2
+
title: Connect Azure DevOps repositories to Catalog with the konnect UI
3
3
content_type: how_to
4
4
description: Learn how to connect Azure DevOps repositories to your {{site.konnect_catalog}} services in {{site.konnect_short_name}} using the UI.
5
5
products:
@@ -8,7 +8,6 @@ works_on:
8
8
- konnect
9
9
tags:
10
10
- integrations
11
-
- azure-devops
12
11
search_aliases:
13
12
- devops
14
13
- azure repos
@@ -25,14 +24,14 @@ related_resources:
25
24
automated_tests: false
26
25
tldr:
27
26
q: How do I connect Azure DevOps repositories to {{site.konnect_short_name}}?
28
-
a: Install the Azure DevOps integration in {{site.konnect_short_name}}, authorize it with a Personal Access Token (PAT) that has Code → Read access, then map an Azure DevOps repository to your {{site.konnect_catalog}} service.
27
+
a: Install the Azure DevOps integration in {{site.konnect_short_name}}, authorize it with a Personal Access Token (PAT) that has Code:Read access, then map an Azure DevOps repository to your {{site.konnect_catalog}} service.
You need to configure the following in Azure DevOps:
37
36
- An [Azure DevOps account](https://azure.microsoft.com/en-gb/pricing/purchase-options/azure-account?icid=devops).
38
37
- An [Azure DevOps personal access token (PAT)](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows) with `Code: Read` permission.
Copy file name to clipboardExpand all lines: app/catalog/integrations/azure-devops.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ products:
10
10
11
11
tags:
12
12
- integrations
13
-
- azuredevops
13
+
14
14
search_aliases:
15
15
- service catalog
16
16
breadcrumbs:
@@ -19,7 +19,8 @@ breadcrumbs:
19
19
20
20
works_on:
21
21
- konnect
22
-
description:
22
+
description: "description: Provides information about the Azure DevOps integration, which lets the Konnect Catalog read repository metadata from Azure DevOps and use it for service mapping and governance workflows."
The Azure DevOps integration lets Konnect Catalog securely read and ingest repository metadata from Azure DevOps using a PAT with `Code:Read` access. Teams can reference and manage their source-code assets inside {{site.konnect_catalog}} and prepare for future governance and scorecard workflows.
34
+
The Azure DevOps integration lets Konnect Catalog securely read and ingest repository metadata from Azure DevOps using a PAT with `Code:Read` access. Teams can reference and manage their source-code assets inside {{site.konnect_catalog}} and prepare for future governance and scorecard workflows.
34
35
35
36
For a complete tutorial, choose one of the following:
36
37
-[Connect Azure DevOps repositories to Catalog with the Konnect API](/how-to/connect-azure-devops-to-the-konnect-catalog-with-the-konnect-api/)
@@ -39,7 +40,7 @@ For a complete tutorial, choose one of the following:
39
40
### Prerequisites
40
41
You need to configure the following:
41
42
- An [Azure DevOps account](https://azure.microsoft.com/en-gb/pricing/purchase-options/azure-account?icid=devops)
42
-
- An [Azure DevOps personal access token (PAT)]([Azure DevOps personal access token (PAT)](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows) with `Code:Read` permission.
43
+
- An [Azure DevOps personal access token (PAT)](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows) with `Code:Read` permission.
0 commit comments