1
1
Installing TFS Aggregator WebHooks is a six step process:
2
2
3
- 1 . [ Grant access to VSTS/TFS] ( #Grant -access-to-VSTS-TFS )
4
- 2 . [ Deploy TfsAggregator WebHooks web application] ( #Deploy-TfsAggregator-WebHooks -web-application )
5
- 3 . [ Edit ` web.config ` file ] ( #Edit-web.config-file )
6
- 4 . [ Define the policy] ( #Define -the-policy )
7
- 5 . [ Setup logging (optional)] ( #Setup -logging-- optional- )
8
- 6 . [ Setup the Web Hooks in TFS/VSTS] ( #Setup -the-Web-Hooks -in-TFS-VSTS )
3
+ 1 . [ Grant access to VSTS/TFS] ( #grant -access-to-vststfs )
4
+ 2 . [ Deploy TfsAggregator WebHooks web application] ( #deploy-tfsaggregator-webhooks -web-application )
5
+ 3 . [ Configure TFS Aggregator ] ( #configure-tfs-aggregator )
6
+ 4 . [ Define the policy] ( #define -the-policy )
7
+ 5 . [ Setup logging (optional)] ( #setup -logging-optional )
8
+ 6 . [ Setup the Web Hooks in TFS/VSTS] ( #setup -the-web-hooks -in-tfsvsts )
9
9
10
10
11
11
@@ -61,22 +61,22 @@ You can check that the deploy worked, by opening a browser to the above URL appe
61
61
62
62
63
63
64
- # Edit ` web.config ` file
64
+ # Configure TFS Aggregator
65
65
66
66
To edit the deployed files, use Kudu console
67
67
68
68
![ Kudu console] ( ./media/2-config1.png )
69
69
70
- at the ` https:// ` <name_chosen_in_previous_step>` scm.azurewebsites.net ` URL. Navigate to ` site\wwwroot ` folder.
70
+ at the ` https:// ` <name_chosen_in_previous_step>` . scm.azurewebsites.net` URL. Navigate to ` site\wwwroot ` folder via ** Debug console ** menu .
71
71
72
72
![ ] ( ./media/2-config2.png )
73
73
74
- ## Add users
74
+ ## Add users to ` web.config ` file
75
75
76
76
Add at least one user in the ` Users ` section
77
77
```
78
78
<Users>
79
- <add key="vsts" value="P@ssword1 " />
79
+ <add key="vsts" value="P@ssw0rd! " />
80
80
</Users>
81
81
```
82
82
@@ -102,10 +102,6 @@ Navigate to the `App_Data` folder to edit the policy files
102
102
103
103
![ ] ( ./media/2-config4.png )
104
104
105
- In the policies you may have to set the credentials chosen in the first step, e.g. the PAT.
106
-
107
- ![ Personal Access Token in Policy file] ( ./media/2-config5.png )
108
-
109
105
> The default HelloWorld policy works for any kind of work items.
110
106
111
107
## Specify Authentication in the policy
@@ -117,6 +113,10 @@ The `runtime/authentication` element accept two new options
117
113
2 . Personal Access Token (obtained on step 1)
118
114
` <authentication personalToken="***" /> `
119
115
116
+ In the policies you may have to set the credentials chosen in the first step, e.g. the PAT.
117
+
118
+ ![ Personal Access Token in Policy file] ( ./media/2-config5.png )
119
+
120
120
121
121
122
122
# Setup logging (optional)
@@ -156,10 +156,11 @@ It requires six arguments and creates the subcription for create, update and res
156
156
| ProjectName | TFS/VSTS project name | ` My Project ` |
157
157
| PersonalAccessToken | Personal Access Token generated in step 1 | ` jocxco3i7twydcif25bh7yysbodwnq4ppuannhro4yryfcbab4na ` |
158
158
| aggregatorURL | URL of TFS Aggregator WebHooks API | ` https://mytfsaggregator.azurewebsites.net/api/workitem/ ` |
159
- | aggregatorUsername | Username listed in TFS Aggregator WebHooks ` web.config ` | ` user1 ` |
159
+ | aggregatorUsername | Username listed in TFS Aggregator WebHooks ` web.config ` | ` vsts ` |
160
160
| aggregatorPassword | Password for the above | ` P@ssw0rd! ` |
161
161
162
162
> The ` workitem.deleted ` fails with error ` TF26198: The work item does not exist, or you do not have permission to access it. `
163
+ > This is an issue with VSTS/TFS that we cannot solve.
163
164
164
165
## Manual configuration
165
166
0 commit comments