Skip to content

Commit

Permalink
📝 (docs): update configuration samples and documentation for processo…
Browse files Browse the repository at this point in the history
…rs and tools

Update the `TargetLinksToKeepProject` ID in the `keepoutboundlinktargetprocessor` configuration to reflect the correct project identifier. This change ensures that the documentation aligns with the current project setup.

Remove the `RegexStringManipulator` from the `StringManipulatorTool` configuration samples. Setting `Manipulators` to `null` simplifies the configuration and reflects a decision to handle string manipulations differently, possibly through other means or tools. This change is reflected in both YAML and Markdown documentation to maintain consistency and accuracy.
  • Loading branch information
MrHinsh committed Nov 5, 2024
1 parent 8d1b1f3 commit ab1b240
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,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": "35537ca4-fac4-4fe6-8dd1-62e6c6a0684d",
"TargetLinksToKeepProject": "332b7ec5-b938-4c13-8ab4-06d6c70ea68a",
"CleanupFileName": "c:/temp/OutboundLinkTargets.bat",
"PrependCommand": "start",
"DryRun": true,
Expand Down
16 changes: 1 addition & 15 deletions docs/_data/reference.tools.stringmanipulatortool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,7 @@ configurationSamples:
"CommonTools": {
"StringManipulatorTool": {
"Enabled": "True",
"Manipulators": [
{
"$type": "RegexStringManipulator",
"Description": "Remove invalid characters from the end of the string",
"Enabled": "True",
"Pattern": "[^( -~)\n\r\t]+",
"Replacement": ""
}
],
"Manipulators": null,
"MaxStringLength": "1000000"
}
}
Expand Down Expand Up @@ -60,12 +52,6 @@ configurationSamples:
"Enabled": true,
"MaxStringLength": 1000000,
"Manipulators": [
{
"Enabled": true,
"Pattern": "[^( -~)\n\r\t]+",
"Replacement": "",
"Description": "Remove invalid characters from the end of the string"
},
{
"Enabled": true,
"Pattern": "[^( -~)\n\r\t]+",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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": "35537ca4-fac4-4fe6-8dd1-62e6c6a0684d",
"TargetLinksToKeepProject": "332b7ec5-b938-4c13-8ab4-06d6c70ea68a",
"CleanupFileName": "c:/temp/OutboundLinkTargets.bat",
"PrependCommand": "start",
"DryRun": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,7 @@ configurationSamples:
"CommonTools": {
"StringManipulatorTool": {
"Enabled": "True",
"Manipulators": [
{
"$type": "RegexStringManipulator",
"Description": "Remove invalid characters from the end of the string",
"Enabled": "True",
"Pattern": "[^( -~)\n\r\t]+",
"Replacement": ""
}
],
"Manipulators": null,
"MaxStringLength": "1000000"
}
}
Expand Down Expand Up @@ -61,12 +53,6 @@ configurationSamples:
"Enabled": true,
"MaxStringLength": 1000000,
"Manipulators": [
{
"Enabled": true,
"Pattern": "[^( -~)\n\r\t]+",
"Replacement": "",
"Description": "Remove invalid characters from the end of the string"
},
{
"Enabled": true,
"Pattern": "[^( -~)\n\r\t]+",
Expand Down

0 comments on commit ab1b240

Please sign in to comment.