Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Endpoint Samples not being rendered correctly in Docs #2377

Merged
merged 2 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MigrationTools.sln
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.editorconfig = .editorconfig
.gitattributes = .gitattributes
.gitignore = .gitignore
appsettings.json = appsettings.json
configuration.json = configuration.json
configuration2-wit.json = configuration2-wit.json
configuration2.json = configuration2.json
Expand Down
5 changes: 0 additions & 5 deletions appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"MigrationTools": {
"EndpointDefaults": {
"TfsEndpoint": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "",
"Project": "",
"AllowCrossProjectLinking": false,
Expand All @@ -34,7 +33,6 @@
}
},
"TfsTeamProjectEndpoint": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "",
"Project": "",
"AllowCrossProjectLinking": false,
Expand All @@ -56,7 +54,6 @@
},
"EndpointSamples": {
"TfsTeamProjectEndpoint": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "https://dev.azure.com/nkdagility-preview/",
"Project": "migrationSource1",
"AllowCrossProjectLinking": false,
Expand All @@ -75,7 +72,6 @@
}
},
"TfsEndpoint": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "https://dev.azure.com/nkdagility-preview/",
"Project": "migrationSource1",
"AllowCrossProjectLinking": false,
Expand All @@ -94,7 +90,6 @@
}
},
"AzureDevOpsEndpoint": {
"EndpointType": "AzureDevOpsEndpoint",
"AuthenticationMode": "AccessToken",
"AccessToken": "jklsadhjksahfkjsdhjksahsadjhksadhsad",
"Organisation": "https://dev.azure.com/xxx/",
Expand Down
14 changes: 7 additions & 7 deletions docs/Reference/Generated/MigrationTools.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 5 additions & 7 deletions docs/_data/reference.endpoints.azuredevopsendpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ configurationSamples:
"Version": "16.0",
"Endpoints": {
"#KEY#": {
"AzureDevOpsEndpoint": {
"AccessToken": "jklsadhjksahfkjsdhjksahsadjhksadhsad",
"AuthenticationMode": "AccessToken",
"EndpointType": "AzureDevOpsEndpoint",
"Organisation": "https://dev.azure.com/xxx/",
"Project": "myProject"
}
"EndpointType": "AzureDevOpsEndpoint",
"AccessToken": "jklsadhjksahfkjsdhjksahsadjhksadhsad",
"AuthenticationMode": "AccessToken",
"Organisation": "https://dev.azure.com/xxx/",
"Project": "myProject"
}
}
}
Expand Down
72 changes: 34 additions & 38 deletions docs/_data/reference.endpoints.tfsendpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,24 @@ configurationSamples:
"Version": "16.0",
"Endpoints": {
"#KEY#": {
"TfsEndpoint": {
"AllowCrossProjectLinking": "False",
"Authentication": {
"AccessToken": "",
"AuthenticationMode": "AccessToken",
"NetworkCredentials": {
"Domain": "",
"Password": "",
"UserName": ""
}
},
"EndpointType": "TfsEndpoint",
"AllowCrossProjectLinking": "False",
"Authentication": {
"AccessToken": "",
"AuthenticationMode": "AccessToken",
"Collection": "",
"EndpointType": "TfsTeamProjectEndpoint",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"Project": ""
}
"NetworkCredentials": {
"Domain": "",
"Password": "",
"UserName": ""
}
},
"AuthenticationMode": "AccessToken",
"Collection": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"Project": ""
}
}
}
Expand All @@ -42,25 +40,23 @@ configurationSamples:
"Version": "16.0",
"Endpoints": {
"#KEY#": {
"TfsEndpoint": {
"AllowCrossProjectLinking": "False",
"Authentication": {
"AccessToken": "jklsadhjksahfkjsdhjksahsadjhksadhsad",
"AuthenticationMode": "AccessToken",
"NetworkCredentials": {
"Domain": "",
"Password": "",
"UserName": ""
}
},
"Collection": "https://dev.azure.com/nkdagility-preview/",
"EndpointType": "TfsTeamProjectEndpoint",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"Project": "migrationSource1"
}
"EndpointType": "TfsEndpoint",
"AllowCrossProjectLinking": "False",
"Authentication": {
"AccessToken": "jklsadhjksahfkjsdhjksahsadjhksadhsad",
"AuthenticationMode": "AccessToken",
"NetworkCredentials": {
"Domain": "",
"Password": "",
"UserName": ""
}
},
"Collection": "https://dev.azure.com/nkdagility-preview/",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"Project": "migrationSource1"
}
}
}
Expand Down
72 changes: 34 additions & 38 deletions docs/_data/reference.endpoints.tfsteamprojectendpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,24 @@ configurationSamples:
"Version": "16.0",
"Endpoints": {
"#KEY#": {
"TfsTeamProjectEndpoint": {
"AllowCrossProjectLinking": "False",
"Authentication": {
"AccessToken": "",
"AuthenticationMode": "AccessToken",
"NetworkCredentials": {
"Domain": "",
"Password": "",
"UserName": ""
}
},
"EndpointType": "TfsTeamProjectEndpoint",
"AllowCrossProjectLinking": "False",
"Authentication": {
"AccessToken": "",
"AuthenticationMode": "AccessToken",
"Collection": "",
"EndpointType": "TfsTeamProjectEndpoint",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"Project": ""
}
"NetworkCredentials": {
"Domain": "",
"Password": "",
"UserName": ""
}
},
"AuthenticationMode": "AccessToken",
"Collection": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"Project": ""
}
}
}
Expand All @@ -42,25 +40,23 @@ configurationSamples:
"Version": "16.0",
"Endpoints": {
"#KEY#": {
"TfsTeamProjectEndpoint": {
"AllowCrossProjectLinking": "False",
"Authentication": {
"AccessToken": "jklsadhjksahfkjsdhjksahsadjhksadhsad",
"AuthenticationMode": "AccessToken",
"NetworkCredentials": {
"Domain": "",
"Password": "",
"UserName": ""
}
},
"Collection": "https://dev.azure.com/nkdagility-preview/",
"EndpointType": "TfsTeamProjectEndpoint",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"Project": "migrationSource1"
}
"EndpointType": "TfsTeamProjectEndpoint",
"AllowCrossProjectLinking": "False",
"Authentication": {
"AccessToken": "jklsadhjksahfkjsdhjksahsadjhksadhsad",
"AuthenticationMode": "AccessToken",
"NetworkCredentials": {
"Domain": "",
"Password": "",
"UserName": ""
}
},
"Collection": "https://dev.azure.com/nkdagility-preview/",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"Project": "migrationSource1"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ configurationSamples:
"Enabled": false,
"WIQLQuery": "Select [System.Id] From WorkItems Where [System.TeamProject] = @project and not [System.WorkItemType] contains 'Test Suite, Test Plan,Shared Steps,Shared Parameter,Feedback Request'",
"TargetLinksToKeepOrganization": "https://dev.azure.com/nkdagility",
"TargetLinksToKeepProject": "8e55d369-07c8-4e19-9313-fd2543544c73",
"TargetLinksToKeepProject": "cf9756e9-69e6-4c9a-b8f4-f4f620151478",
"CleanupFileName": "c:/temp/OutboundLinkTargets.bat",
"PrependCommand": "start",
"DryRun": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ configurationSamples:
"Version": "16.0",
"Endpoints": {
"#KEY#": {
"AzureDevOpsEndpoint": {
"AccessToken": "jklsadhjksahfkjsdhjksahsadjhksadhsad",
"AuthenticationMode": "AccessToken",
"EndpointType": "AzureDevOpsEndpoint",
"Organisation": "https://dev.azure.com/xxx/",
"Project": "myProject"
}
"EndpointType": "AzureDevOpsEndpoint",
"AccessToken": "jklsadhjksahfkjsdhjksahsadjhksadhsad",
"AuthenticationMode": "AccessToken",
"Organisation": "https://dev.azure.com/xxx/",
"Project": "myProject"
}
}
}
Expand Down
Loading
Loading