Skip to content

Drop Recipe suffix from security recipe class names#172

Merged
timtebeek merged 1 commit intomainfrom
tim/drop-recipe-suffix
Apr 6, 2026
Merged

Drop Recipe suffix from security recipe class names#172
timtebeek merged 1 commit intomainfrom
tim/drop-recipe-suffix

Conversation

@timtebeek
Copy link
Copy Markdown
Member

@timtebeek timtebeek commented Apr 6, 2026

Summary

  • Renames all 19 security recipe classes to drop the Recipe suffix (e.g. CachePoisoningRecipeCachePoisoning), matching the convention used by the other 24 recipe classes in the repo

  • Updates all references in security.yml, examples.yml, and recipes.csv

  • Renames corresponding test classes

  • Fixes Security related recipes Source Code Links broken #171

Test plan

  • ./gradlew build passes (compilation, tests, CSV validation)

The docs system generates source code links by stripping the `Recipe`
suffix from class names, producing broken 404 links for all 19 security
recipes. Rename them to match the convention used by the other recipes.

Fixes #171
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Apr 6, 2026
@timtebeek timtebeek merged commit 08137fc into main Apr 6, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Apr 6, 2026
@timtebeek timtebeek deleted the tim/drop-recipe-suffix branch April 6, 2026 21:25
Copy link
Copy Markdown
Member

@sambsnyd sambsnyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reminds me of seeing classes with "test" in the package, class name, and method name. So you'd have test reports full of: com.myorg.component.test.ComponentTest.testTheComponent_test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Security related recipes Source Code Links broken

2 participants