openrewrite / rewrite-spring

OpenRewrite recipes for Spring projects.
Apache License 2.0
265 stars 78 forks source link

Recipe linking issues #601

Open mike-solomon opened 1 month ago

mike-solomon commented 1 month ago

This applies to two recipes:

  1. https://app.moderne.io/recipes/org.openrewrite.java.spring.boot2.MigrateDatabaseCredentials / https://docs.openrewrite.org/recipes/java/spring/boot2/migratedatabasecredentials

  2. https://app.moderne.io/recipes/org.openrewrite.java.spring.PropertiesToKebabCase / https://docs.openrewrite.org/recipes/java/spring/propertiestokebabcase

The recipes that make up these recipes can not be found.

I'm not sure if this means these recipes just don't work - or if there is some issue with how we parse these recipes. I'm not sure if this is even an issue in rewrite-spring vs. OpenRewrite itself -- but wasn't sure where else to put this report.

image

image

sjungling commented 1 month ago

I suspect part of the issue is that the recipe list is declared as subclasses https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/PropertiesToKebabCase.java#L47-L49