Skip to content

Commit 4c89e23

Browse files
committed
LOoks good
1 parent 756950d commit 4c89e23

File tree

72 files changed

+2952
-322
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+2952
-322
lines changed

docs/_data/reference.endpoints.azuredevopsendpoint.yaml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,22 @@ configurationSamples:
99
- name: sample
1010
order: 1
1111
description:
12-
code: There is no sample, but you can check the classic below for a general feel.
12+
code: >-
13+
{
14+
"MigrationTools": {
15+
"Version": "16.0",
16+
"Endpoints": {
17+
"#KEY#": {
18+
"EndpointType": "AzureDevOpsEndpoint",
19+
"AccessToken": "jklsadhjksahfkjsdhjksahsadjhksadhsad",
20+
"AuthenticationMode": "AccessToken",
21+
"Organisation": "https://dev.azure.com/xxx/",
22+
"Project": "myProject",
23+
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId"
24+
}
25+
}
26+
}
27+
}
1328
sampleFor: MigrationTools.Endpoints.AzureDevOpsEndpointOptions
1429
- name: classic
1530
order: 3
@@ -18,10 +33,10 @@ configurationSamples:
1833
{
1934
"$type": "AzureDevOpsEndpointOptions",
2035
"AuthenticationMode": "AccessToken",
21-
"AccessToken": null,
22-
"Organisation": null,
23-
"Project": null,
24-
"ReflectedWorkItemIdField": null
36+
"AccessToken": "jklsadhjksahfkjsdhjksahsadjhksadhsad",
37+
"Organisation": "https://dev.azure.com/xxx/",
38+
"Project": "myProject",
39+
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId"
2540
}
2641
sampleFor: MigrationTools.Endpoints.AzureDevOpsEndpointOptions
2742
description: Azure DevOps REST API endpoint implementation for connecting to Azure DevOps organizations. Provides HTTP client access and pipeline-related API operations for migration scenarios.

docs/_data/reference.endpoints.tfsendpoint.yaml

Lines changed: 71 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,86 @@ configurationSamples:
44
- name: defaults
55
order: 2
66
description:
7-
code: There are no defaults! Check the sample for options!
7+
code: >-
8+
{
9+
"MigrationTools": {
10+
"Version": "16.0",
11+
"Endpoints": {
12+
"#KEY#": {
13+
"EndpointType": "TfsEndpoint",
14+
"AllowCrossProjectLinking": "False",
15+
"Authentication": {
16+
"AccessToken": "",
17+
"AuthenticationMode": "AccessToken",
18+
"NetworkCredentials": {
19+
"Domain": "",
20+
"Password": "",
21+
"UserName": ""
22+
}
23+
},
24+
"AuthenticationMode": "AccessToken",
25+
"Collection": "",
26+
"LanguageMaps": {
27+
"AreaPath": "Area",
28+
"IterationPath": "Iteration"
29+
},
30+
"Project": "",
31+
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId"
32+
}
33+
}
34+
}
35+
}
836
sampleFor: MigrationTools.Endpoints.TfsEndpointOptions
937
- name: sample
1038
order: 1
1139
description:
12-
code: There is no sample, but you can check the classic below for a general feel.
40+
code: >-
41+
{
42+
"MigrationTools": {
43+
"Version": "16.0",
44+
"Endpoints": {
45+
"#KEY#": {
46+
"EndpointType": "TfsEndpoint",
47+
"AllowCrossProjectLinking": "False",
48+
"Authentication": {
49+
"AccessToken": "jklsadhjksahfkjsdhjksahsadjhksadhsad",
50+
"AuthenticationMode": "AccessToken",
51+
"NetworkCredentials": {
52+
"Domain": "",
53+
"Password": "",
54+
"UserName": ""
55+
}
56+
},
57+
"Collection": "https://dev.azure.com/nkdagility-preview/",
58+
"LanguageMaps": {
59+
"AreaPath": "Area",
60+
"IterationPath": "Iteration"
61+
},
62+
"Project": "migrationSource1",
63+
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId"
64+
}
65+
}
66+
}
67+
}
1368
sampleFor: MigrationTools.Endpoints.TfsEndpointOptions
1469
- name: classic
1570
order: 3
1671
description:
1772
code: >-
1873
{
1974
"$type": "TfsEndpointOptions",
20-
"Collection": null,
21-
"Project": null,
22-
"Authentication": null,
23-
"ReflectedWorkItemIdField": null,
75+
"Collection": "https://dev.azure.com/nkdagility-preview/",
76+
"Project": "migrationSource1",
77+
"Authentication": {
78+
"AuthenticationMode": "AccessToken",
79+
"NetworkCredentials": {
80+
"Domain": "",
81+
"UserName": "",
82+
"Password": "** removed as a secret ***"
83+
},
84+
"AccessToken": "** removed as a secret ***"
85+
},
86+
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
2487
"LanguageMaps": {
2588
"AreaPath": "Area",
2689
"IterationPath": "Iteration"
@@ -54,8 +117,8 @@ options:
54117
defaultValue: missing XML code comments
55118
status: missing XML code comments
56119
processingTarget: missing XML code comments
57-
classFile: src/MigrationTools.Clients.TfsObjectModel/Endpoints/TfsEndpoint.cs
58-
optionsClassFile: src/MigrationTools.Clients.TfsObjectModel/Endpoints/TfsEndpointOptions.cs
120+
classFile: src/MigrationTools.Clients.TfsObjectModel/EndPoints/TfsEndpoint.cs
121+
optionsClassFile: src/MigrationTools.Clients.TfsObjectModel/EndPoints/TfsEndpointOptions.cs
59122
notes:
60123
exists: false
61124
path: docs/Reference/Endpoints/TfsEndpoint-notes.md

docs/_data/reference.endpoints.tfsteamprojectendpoint.yaml

Lines changed: 67 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,82 @@ configurationSamples:
44
- name: defaults
55
order: 2
66
description:
7-
code: There are no defaults! Check the sample for options!
7+
code: >-
8+
{
9+
"MigrationTools": {
10+
"Version": "16.0",
11+
"Endpoints": {
12+
"#KEY#": {
13+
"EndpointType": "TfsTeamProjectEndpoint",
14+
"AllowCrossProjectLinking": "False",
15+
"Authentication": {
16+
"AccessToken": "",
17+
"AuthenticationMode": "AccessToken",
18+
"NetworkCredentials": {
19+
"Domain": "",
20+
"Password": "",
21+
"UserName": ""
22+
}
23+
},
24+
"AuthenticationMode": "AccessToken",
25+
"Collection": "",
26+
"LanguageMaps": {
27+
"AreaPath": "Area",
28+
"IterationPath": "Iteration"
29+
},
30+
"Project": "",
31+
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId"
32+
}
33+
}
34+
}
35+
}
836
sampleFor: MigrationTools.Endpoints.TfsTeamProjectEndpointOptions
937
- name: sample
1038
order: 1
1139
description:
12-
code: There is no sample, but you can check the classic below for a general feel.
40+
code: >-
41+
{
42+
"MigrationTools": {
43+
"Version": "16.0",
44+
"Endpoints": {
45+
"#KEY#": {
46+
"EndpointType": "TfsTeamProjectEndpoint",
47+
"AllowCrossProjectLinking": "False",
48+
"Authentication": {
49+
"AccessToken": "jklsadhjksahfkjsdhjksahsadjhksadhsad",
50+
"AuthenticationMode": "AccessToken",
51+
"NetworkCredentials": {
52+
"Domain": "",
53+
"Password": "",
54+
"UserName": ""
55+
}
56+
},
57+
"Collection": "https://dev.azure.com/nkdagility-preview/",
58+
"Project": "migrationSource1",
59+
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId"
60+
}
61+
}
62+
}
63+
}
1364
sampleFor: MigrationTools.Endpoints.TfsTeamProjectEndpointOptions
1465
- name: classic
1566
order: 3
1667
description:
1768
code: >-
1869
{
1970
"$type": "TfsTeamProjectEndpointOptions",
20-
"Collection": null,
21-
"Project": null,
22-
"Authentication": null,
23-
"ReflectedWorkItemIdField": null,
71+
"Collection": "https://dev.azure.com/nkdagility-preview/",
72+
"Project": "migrationSource1",
73+
"Authentication": {
74+
"AuthenticationMode": "AccessToken",
75+
"NetworkCredentials": {
76+
"Domain": "",
77+
"UserName": "",
78+
"Password": "** removed as a secret ***"
79+
},
80+
"AccessToken": "** removed as a secret ***"
81+
},
82+
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
2483
"LanguageMaps": {
2584
"AreaPath": "Area",
2685
"IterationPath": "Iteration"
@@ -54,8 +113,8 @@ options:
54113
defaultValue: missing XML code comments
55114
status: missing XML code comments
56115
processingTarget: missing XML code comments
57-
classFile: src/MigrationTools.Clients.TfsObjectModel/Endpoints/TfsTeamProjectEndpoint.cs
58-
optionsClassFile: ''
116+
classFile: src/MigrationTools.Clients.TfsObjectModel/EndPoints/TfsTeamProjectEndpoint.cs
117+
optionsClassFile: src/MigrationTools.Clients.TfsObjectModel/EndPoints/TfsTeamProjectEndPointOptions.cs
59118
notes:
60119
exists: false
61120
path: docs/Reference/Endpoints/TfsTeamProjectEndpoint-notes.md

docs/_data/reference.endpoints.tfsteamsettingsendpoint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ options:
5454
defaultValue: missing XML code comments
5555
status: missing XML code comments
5656
processingTarget: missing XML code comments
57-
classFile: src/MigrationTools.Clients.TfsObjectModel/Endpoints/TfsTeamSettingsEndpoint.cs
58-
optionsClassFile: src/MigrationTools.Clients.TfsObjectModel/Endpoints/TfsTeamSettingsEndpointOptions.cs
57+
classFile: src/MigrationTools.Clients.TfsObjectModel/EndPoints/TfsTeamSettingsEndpoint.cs
58+
optionsClassFile: src/MigrationTools.Clients.TfsObjectModel/EndPoints/TfsTeamSettingsEndpointOptions.cs
5959
notes:
6060
exists: false
6161
path: docs/Reference/Endpoints/TfsTeamSettingsEndpoint-notes.md

docs/_data/reference.endpoints.tfsworkitemendpoint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ options:
5959
defaultValue: missing XML code comments
6060
status: missing XML code comments
6161
processingTarget: missing XML code comments
62-
classFile: src/MigrationTools.Clients.TfsObjectModel/Endpoints/TfsWorkItemEndpoint.cs
63-
optionsClassFile: src/MigrationTools.Clients.TfsObjectModel/Endpoints/TfsWorkItemEndpointOptions.cs
62+
classFile: src/MigrationTools.Clients.TfsObjectModel/EndPoints/TfsWorkItemEndpoint.cs
63+
optionsClassFile: src/MigrationTools.Clients.TfsObjectModel/EndPoints/TfsWorkItemEndpointOptions.cs
6464
notes:
6565
exists: true
6666
path: docs/Reference/Endpoints/TfsWorkItemEndpoint-notes.md

docs/_data/reference.fieldmaps.fieldcalculationmap.yaml

Lines changed: 54 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,71 @@ configurationSamples:
44
- name: defaults
55
order: 2
66
description:
7-
code: There are no defaults! Check the sample for options!
7+
code: >-
8+
{
9+
"MigrationTools": {
10+
"Version": "16.0",
11+
"CommonTools": {
12+
"FieldMappingTool": {
13+
"FieldMaps": [
14+
{
15+
"FieldMapType": "FieldCalculationMap",
16+
"ApplyTo": [
17+
"*"
18+
]
19+
}
20+
]
21+
}
22+
}
23+
}
24+
}
825
sampleFor: MigrationTools.Tools.FieldCalculationMapOptions
926
- name: sample
1027
order: 1
1128
description:
12-
code: There is no sample, but you can check the classic below for a general feel.
29+
code: >-
30+
{
31+
"MigrationTools": {
32+
"Version": "16.0",
33+
"CommonTools": {
34+
"FieldMappingTool": {
35+
"FieldMaps": [
36+
{
37+
"ApplyTo": [
38+
"Bug",
39+
"Task"
40+
],
41+
"expression": "[effort] * [rate]",
42+
"FieldMapType": "FieldCalculationMap",
43+
"parameters": {
44+
"effort": "Custom.EstimatedHours",
45+
"rate": "Custom.HourlyRate"
46+
},
47+
"targetField": "Custom.EstimatedCost"
48+
}
49+
]
50+
}
51+
}
52+
}
53+
}
1354
sampleFor: MigrationTools.Tools.FieldCalculationMapOptions
1455
- name: classic
1556
order: 3
1657
description:
1758
code: >-
1859
{
1960
"$type": "FieldCalculationMapOptions",
20-
"expression": null,
21-
"parameters": {},
22-
"targetField": null,
23-
"ApplyTo": []
61+
"expression": "[effort] * [rate]",
62+
"parameters": {
63+
"effort": "Custom.EstimatedHours",
64+
"rate": "Custom.HourlyRate"
65+
},
66+
"targetField": "Custom.EstimatedCost",
67+
"ApplyTo": [
68+
"*",
69+
"Bug",
70+
"Task"
71+
]
2472
}
2573
sampleFor: MigrationTools.Tools.FieldCalculationMapOptions
2674
description: Performs mathematical calculations on numeric fields using NCalc expressions during migration.

0 commit comments

Comments
 (0)